You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I guess the problem is that NPM got confused since I'm using an alias for a module, and that alias is the name of another module that the parent package needs.
Steps To Reproduce
Run npm i on that package.json.
Environment
npm: 8.3.0
Node: 17.3.0
OS: macOS 12.1
platform: arm64
npm config:
; "user" config from /Users/fabio/.npmrc
//registry.npmjs.org/:_authToken = (protected)
init.author.email = "[email protected]"init.author.name = "Fabio Spampinato"package-lock = false
script-shell = "zsh"; node bin location = /Users/fabio/.nvm/versions/node/v16.13.0/bin/node; cwd = /Users/fabio/Desktop/asd; HOME = /Users/fabio; Run `npm config ls -l` to show all defaults.
The text was updated successfully, but these errors were encountered:
hi @fabiospampinato thanks for reporting this issue, just to be sure, the problem here is that npm ls is reporting the wrong package name (not following the alias) ? Everything else works fine in the installation?
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
Dependencies in the following
package.json
file are not resolved correctly:This is installed:
Expected Behavior
Notice how the wrong
once
module got installed forpikchr-wasm
, it's dependency tree should look like this:I guess the problem is that NPM got confused since I'm using an alias for a module, and that alias is the name of another module that the parent package needs.
Steps To Reproduce
Run
npm i
on thatpackage.json
.Environment
The text was updated successfully, but these errors were encountered: