Comments (5)
Hi @mykola-mokhnach, never mind, Node.js 22.5.1 has came out and fixes that issue. nodejs/node#53902 (comment)
from cli.
thanks for the suggestion @milaninfy
Unfortunately it is not so simple for this particular case to use another Node.js version as they are retrieved automatically based on the latest LTS snapshots:
jobs:
prepare_matrix:
runs-on: ubuntu-latest
outputs:
versions: ${{ steps.generate-matrix.outputs.active }}
steps:
- name: Select all active LTS versions of Node.js
id: generate-matrix
uses: msimerson/node-lts-versions@v1
test:
needs:
- prepare_matrix
strategy:
matrix:
node-version: ${{ fromJSON(needs.prepare_matrix.outputs.versions) }}
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
We'd probably need to wait for the next node patch 🤷
from cli.
Hi @mykola-mokhnach, a quick workaround for that problem would be to set the node version manually like this:
jobs:
test:
strategy:
matrix:
node-version: [18.x, 20.x, 22.4.1]
runs-on: macos-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
and then once the patch for Node.js comes out you can go back to using the node-lts-versions action
from cli.
This is just a side effect - the step above it is failing silently (see #7672):
As a quick fix, make setup-node use v22.4 instead of latest
from cli.
Closing duplicate of #7657.
Try node 22.4.1 with npm 10.8.2.
from cli.
Related Issues (20)
- [DOCS] npm doesn't install the latest tagged version if engines are invalid HOT 6
- [BUG] npm dist-tag rm only removes the last recently deleted tag HOT 9
- [BUG] `npm publish --provenance` The default value `public` isn't used HOT 5
- [Enchancement] Check files that import the package before uninstalling HOT 1
- [BUG] npm docs with no pkgname arg returns undefined HOT 2
- [BUG] No README.md on npmjs ? HOT 4
- [BUG] Problem / error links are incorrect when path contains prefix before space HOT 3
- [BUG] npm version -ws never update dependencies in package.json HOT 3
- npm ERR! Exit handler never called! npm ERR! This is an error with npm itself. HOT 1
- Licence missing for npm update
- [BUG] <title> HOT 1
- [BUG] npm install --save three: No matching version found for three@^0.777.1. HOT 3
- (npm error Exit handler never called!:String) [], RemoteException + FullyQualifiedErrorId : NativeCommandError HOT 1
- [BUG] Unable to upgrade two packages with a dep and peer dep on the same package that is also bumped HOT 5
- npm i changing package-lock.json HOT 4
- [BUG] Windows npm install --prefix errors and looks for the package.json in the cwd HOT 5
- [BUG] <prepare script called with CMD on windows> HOT 1
- Feature request: Add config option to prevent accidental installation of packages in directories without package.json HOT 2
- [BUG] npm publish <package-spec> in a workspace is not taking package-spec into account HOT 1
- [BUG] package binaries with .hidden folders don't install globally HOT 1
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 cli.