Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Issue] Installation: Cannot destructure property 'name' of 'node' as it is null. #43

Open
SamuelScheit opened this issue Jan 14, 2021 · 0 comments

Comments

@SamuelScheit
Copy link

SamuelScheit commented Jan 14, 2021

If I try to install remount with

npm i remount

or directly the github version: npm i https://github.com/rstacruz/remount
I get this Error:

npm ERR! code ERESOLVE
npm ERR! Cannot destructure property 'name' of 'node' as it is null.

"npm" "i" "remount"
36 verbose node v15.5.0
37 verbose npm  v7.3.0
38 error code ERESOLVE
39 verbose stack TypeError: Cannot destructure property 'name' of 'node' as it is null.
39 verbose stack     at printNode (/usr/local/lib/node_modules/npm/lib/utils/explain-dep.js:27:5)
39 verbose stack     at explainNode (/usr/local/lib/node_modules/npm/lib/utils/explain-dep.js:12:3)
39 verbose stack     at explainEresolve (/usr/local/lib/node_modules/npm/lib/utils/explain-eresolve.js:24:24)
39 verbose stack     at report (/usr/local/lib/node_modules/npm/lib/utils/explain-eresolve.js:50:3)
39 verbose stack     at module.exports (/usr/local/lib/node_modules/npm/lib/utils/error-message.js:22:24)
39 verbose stack     at errorHandler (/usr/local/lib/node_modules/npm/lib/utils/error-handler.js:167:15)
39 verbose stack     at /usr/local/lib/node_modules/npm/lib/npm.js:121:9
...
Error: unable to resolve dependency tree
32 verbose stack     at Arborist.[failPeerConflict] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1061:25)
32 verbose stack     at Arborist.[placeDep] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:1145:30)
32 verbose stack     at /usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:807:46
32 verbose stack     at Array.map (<anonymous>)
32 verbose stack     at Arborist.[buildDepStep] (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:807:8)
32 verbose stack     at async Arborist.buildIdealTree (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/build-ideal-tree.js:209:7)
32 verbose stack     at async Promise.all (index 1)
32 verbose stack     at async Arborist.reify (/usr/local/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:123:5)
32 verbose stack     at async install (/usr/local/lib/node_modules/npm/lib/install.js:38:3)

On MacOS 10.15.7
Node: v15.5.0
NPM: npm@next-7 and npm@6 and [email protected]

if this is a npm problem, you can close this issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant