Skip to content

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

@samuelscheit

Description

@samuelscheit

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 npm@7.3.0

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions