We're updating the issue view to help you get more done. 

Regression on scoped npm-modules

Description

I have regression in npm-deps resolution in 1.10.x for material-components-web. For sub-dependencies it doesn't resolve the module path correctly. When I require eg. @material/snackbar it fails with Uncaught Error: Undefined nameToPath for module$$material$base$component.

Steps to reproduce:

1 2 3 4 5 6 7 yarn add "@cljs-oss/module-deps" "@material/snackbar" cat <<EOF > deps.edn {:deps {org.clojure/clojurescript {:mvn/version "1.10.145"}}} EOF clj -m cljs.main -d out -e "(require '[\"@material/snackbar\"])"

Resolution worked in 1.9.946

Environment

None

Status

Assignee

Aleš Roubíček

Reporter

Aleš Roubíček

Labels

Approval

Vetted

Patch

None

Affects versions

1.10.238

Priority

Major