Comments (7)
Hi, @jimrandell you are right. It looks like it crashes on your global dependencies.
Could you post the result of this command: npm ls --depth=0 -g --json
it should display exactly what npm-gui is using here.
from npm-gui.
hi, sorry, it's a crazy busy time at work right now
(why I'm using your tool)
thank you again for your efforts with this project!
Result running command: npm ls --depth=0 -g --json
{
"name": "npm",
"dependencies": {
"@babel/highlight": {
"version": "7.14.5"
},
"@typescript-eslint/eslint-plugin": {
"version": "5.14.0"
},
"blockly": {
"version": "7.20211209.2"
},
"deuglify": {
"version": "1.0.0"
},
"eslint-init": {
"version": "0.1.12"
},
"etc": {},
"fish": {
"version": "0.0.0"
},
"java": {
"version": "0.12.2"
},
"madge": {
"version": "5.0.1"
},
"mariadb": {
"version": "2.5.5"
},
"npm-cli": {
"version": "0.1.0"
},
"npm": {
"version": "7.24.0"
},
"nw-gyp": {
"version": "3.6.5"
},
"yo": {
"version": "4.3.0"
}
}
}
from npm-gui.
This happens for me as well, but only after updating npm via npm install npm -g
.
from npm-gui.
Same here with 4.0.2 running with
- Windows 10 x64
- Node.js v18.13.0
- npm 9.3.1
Here one of the global dependencies is actually missing the version
property.
{
"name": "npm",
"dependencies": {
// ...
"@vercel/ncc": {
"overridden": false
},
// ...
}
}
Uninstalling it and re-installing it solved the problem:
{
"name": "npm",
"dependencies": {
// ...
"@vercel/ncc": {
"version": "0.36.0",
"overridden": false
},
// ...
}
}
from npm-gui.
@ealib I just released version 4.0.3 which should cover this case. Would you like to confirm if it is better now?
npx npm-gui@latest
from npm-gui.
@q-nick I updated to version 4.0.3 and now to 4.0.4 and both keep working, but I don't know how to simulate the old issue with missing version
property. I think, however, that if you provided in the code to handle that case, which was clearly the source of the problem, this issue could be closed.
from npm-gui.
@ealib closing, thanks.
from npm-gui.
Related Issues (20)
- Support npm workspaces
- does anyone know why it is taking too much time
- Error while trying to establish initial connection
- CERT_HAS_EXPIRED error message
- Add visual indicator for unused packages HOT 2
- Include bundle size HOT 1
- UI: Centered packages name HOT 1
- npm-audit
- move dependency between dev and prod HOT 1
- page refresh causes - 404 not found
- Include npm-version for major, minor, and patch functionality
- Change default port HOT 2
- message event listener registration error
- Feature suggestion HOT 1
- Feature: downgrade package
- Feature: updates history HOT 1
- Just some ideas ;) HOT 3
- Folder without package.json HOT 6
- No update check for global packages HOT 11
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from npm-gui.