We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
npm i
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
After a simple npm i the CLI errors with:
npm error Cannot read properties of null (reading 'edgesOut')
The log shows the following:
289 silly fetch manifest happy-dom@* 290 silly packumentCache full:https://company-registry:8765/npm/hmrs-dev-internal-npm/happy-dom cache-miss 291 http cache https://company-registry:8765/npm/hmrs-dev-internal-npm/happy-dom 22ms (cache hit) 292 silly packumentCache full:https://company-registry:8765/npm/hmrs-dev-internal-npm/happy-dom set size:1135281 disposed:false 293 verbose stack TypeError: Cannot read properties of null (reading 'edgesOut') 293 verbose stack at #loadPeerSet (C:\Users\username\AppData\Roaming\nvm\v22.14.0\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:1304:38) 293 verbose stack at async #buildDepStep (C:\Users\username\AppData\Roaming\nvm\v22.14.0\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:915:11) 293 verbose stack at async Arborist.buildIdealTree (C:\Users\username\AppData\Roaming\nvm\v22.14.0\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\build-ideal-tree.js:182:7) 293 verbose stack at async Promise.all (index 1) 293 verbose stack at async Arborist.reify (C:\Users\username\AppData\Roaming\nvm\v22.14.0\node_modules\npm\node_modules\@npmcli\arborist\lib\arborist\reify.js:130:5) 293 verbose stack at async Install.exec (C:\Users\username\AppData\Roaming\nvm\v22.14.0\node_modules\npm\lib\commands\install.js:149:5) 293 verbose stack at async Npm.exec (C:\Users\username\AppData\Roaming\nvm\v22.14.0\node_modules\npm\lib\npm.js:208:9) 293 verbose stack at async module.exports (C:\Users\username\AppData\Roaming\nvm\v22.14.0\node_modules\npm\lib\cli\entry.js:67:5) 294 error Cannot read properties of null (reading 'edgesOut') 295 silly unfinished npm timer reify 1745836838067 296 silly unfinished npm timer reify:loadTrees 1745836838069 297 silly unfinished npm timer idealTree:buildDeps 1745836838098 298 silly unfinished npm timer idealTree:#root 1745836838100 300 verbose os Windows_NT 10.0.26100 301 verbose node v22.14.0 302 verbose npm v11.3.0 303 verbose exit 1 304 verbose code 1
No response
I'm trying to provide a reproduction package.json file.
; copy and paste output from `npm config ls` here
The text was updated successfully, but these errors were encountered:
I was able to reproduce this issue by using this package.json
{ "name": "peer", "version": "1.0.0", "description": "", "devDependencies": { "vitest": "^3.1.2", "@vitest/ui": "3.1.2" } }
In this case, there is a pinned version of @vitest/ui which matches the version of the not pinned vitest
I believe I got into this scenario by using @nx/vite
@nx/vite
edit: if you have the same issue like above, I fixed it by making sure all versions are aligned perfectly:
"devDependencies": { "vitest": "^3.1.2", "@vitest/ui": "^3.1.2" }
Sorry, something went wrong.
able to replicate locally with json provided by @jurgensweere.
No branches or pull requests
Uh oh!
There was an error while loading. Please reload this page.
Is there an existing issue for this?
This issue exists in the latest npm version
Current Behavior
After a simple
npm i
the CLI errors with:The log shows the following:
Expected Behavior
No response
Steps To Reproduce
I'm trying to provide a reproduction package.json file.
Environment
; copy and paste output from `npm config ls` here
The text was updated successfully, but these errors were encountered: