GithubHelp home page GithubHelp logo

Comments (7)

q-nick avatar q-nick commented on June 16, 2024

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.

jimrandell avatar jimrandell commented on June 16, 2024

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.

GlennSandoval avatar GlennSandoval commented on June 16, 2024

This happens for me as well, but only after updating npm via npm install npm -g.

from npm-gui.

ealib avatar ealib commented on June 16, 2024

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.

q-nick avatar q-nick commented on June 16, 2024

@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.

ealib avatar ealib commented on June 16, 2024

@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.

q-nick avatar q-nick commented on June 16, 2024

@ealib closing, thanks.

from npm-gui.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.