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

get npm ERR! Cannot read properties of undefined (reading 'spec') error #70

Open
lewiss444 opened this issue Sep 21, 2021 · 1 comment

Comments

@lewiss444
Copy link

Tried to install on a Gatsby V3 website via npm, got 238 line in the log, here they are:

220 timing auditReport:init Completed in 33087ms
221 timing reify:audit Completed in 34348ms
222 timing reifyNode:node_modules/undefined Completed in 125553ms
223 timing reify:unpack Completed in 125553ms
224 timing reify:unretire Completed in 1ms
225 timing build:queue Completed in 35ms
226 timing build:deps Completed in 35ms
227 timing build Completed in 35ms
228 timing reify:build Completed in 35ms
229 timing reify:trash Completed in 0ms
230 timing command:install Completed in 132733ms
231 verbose stack TypeError: Cannot read properties of undefined (reading 'spec')
231 verbose stack at Arborist.[saveIdealTree] (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:1086:44)
231 verbose stack at Arborist.reify (/opt/homebrew/lib/node_modules/npm/node_modules/@npmcli/arborist/lib/arborist/reify.js:150:31)
231 verbose stack at async Install.install (/opt/homebrew/lib/node_modules/npm/lib/install.js:150:5)
232 verbose cwd /Applications/MAMP/htdocs/react
233 verbose Darwin 20.6.0
234 verbose argv "/opt/homebrew/Cellar/node/16.9.1/bin/node" "/opt/homebrew/bin/npm" "install" "react-div-100vh" "https://github.com/mvasin/react-div-100vh.git"
235 verbose node v16.9.1
236 verbose npm v7.21.1
237 error Cannot read properties of undefined (reading 'spec')
238 verbose exit 1

@mvasin
Copy link
Owner

mvasin commented Sep 21, 2021

Hi @lewiss444, thanks for sharing. Will have a look when time permits. If someone can tackle it in the meantime - you are very welcome.

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

2 participants