question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

`npm_version` for npm 7 support

See original GitHub issue

Is there a way to setup the action to use npm 7?

What about npm_version: 7 like actually it’s done for node_version?

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:99
  • Comments:30 (3 by maintainers)

github_iconTop GitHub Comments

85reactions
vinayakkulkarnicommented, Feb 16, 2021

Just like we have an option to use node versions, we should also have an option to choose npm versions

18reactions
stereoboostercommented, May 6, 2021
Run npm install -g npm@7.11.2
npm ERR! code E404
npm ERR! 404 Not Found - GET https://npm-proxy.fury.io/***/***/npm - bad_request
npm ERR! 404 
npm ERR! 404  'npm@7.11.2' is not in the npm registry.

Solution

    - name: npm 7
      run: npm i -g npm@7 --registry=https://registry.npmjs.org
Read more comments on GitHub >

github_iconTop Results From Across the Web

npm 7 is now generally available! - The GitHub Blog
We're announcing version 7 of the npm CLI is now generally available.
Read more >
7.0.7 - npm
Latest version: 9.2.0, last published: 17 days ago. Start using npm in your project by running `npm i npm`. There are 5231 other...
Read more >
Try the latest stable version of npm
Upgrading on Windows · Option 1 or 2. Go into %ProgramFiles%\nodejs\node_modules\npm and copy the file named npmrc in the new npm folder, which...
Read more >
Tip: Click on a version number to view a previous ... - npm
Latest version: 9.2.0, last published: 18 days ago. Start using npm in your project by running `npm i npm`. There are 5231 other...
Read more >
install - npm Docs
Download and install node and npm. ... We strongly recommend using a Node version manager to install Node.js and npm. We do not...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found