Michaël Zasso
Michaël Zasso
@Thanaen - How did you install/update Node.js? - Does `C:\Users\me\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js` exist on your system? I'm currently not able to reproduce on my Windows machine. I tried: - With `Volta` version...
I don't know how to reproduce on my Windows system but it seems indeed to be a general issue on GitHub actions (which download the binary from https://nodejs.org/dist/v22.0.0/node-v22.0.0-win-x64.7z): https://github.com/nodejs/citgm/actions/runs/8831148407/job/24245743480?pr=1056
The main difference I see between v20/v21 and v22 is the presence of `npm.ps1` and `npx.ps1` in the distribution. This is from https://github.com/nodejs/node/pull/52009 /cc @nodejs/npm @lukekarrys
Also /cc @StefanStojanovic. I'm trying to find a simple reproduction but I hit another problem. Here are the steps I took: - Download v22 from https://nodejs.org/download/release/v22.0.0/ (I used the `-arm64.zip`...
Then I installed a global node.exe with Volta and hit another (still different, but similar) issue: ``` PS C:\Users\mzasso\Documents\node-v22.0.0-win-arm64\node-v22.0.0-win-arm64> .\npm.ps1 -v node:internal/modules/cjs/loader:1205 throw err; ^ Error: Cannot find module 'C:\Program...
> `npm.cmd` looks for node using `%~dp0\node.exe`. Is it getting a different answer for this than `Get-Command`? Yes. `%~dp0` is the directory that contains `npm.cmd`
I tried the script from https://github.com/npm/cli/pull/7422 with my repro steps and it works.
https://ci.nodejs.org/job/node-stress-single-test/499/ The test still fails occasionally but maybe it's less flaky.
From the machine that failed, I started `node` and did: ```bash > process.pid 4172727 # in another terminal $ cat /proc/4172727/limits Limit Soft Limit Hard Limit Units Max cpu time...
I get the same as you on the CI machine: ``` ./node --v8-options | fgrep 'default: --stack-size=' type: int default: --stack-size=864 ```