-
Notifications
You must be signed in to change notification settings - Fork 269
Open
Description
Describe the bug
Description
When starting a new React environment sandbox in StackBlitz, the startup process stops at the npm installation step with an error.
npm install && npm run dev
-> npm errorError logs
❯ cat ../../../home/.npm/_logs/2026-01-29T11_10_29_147Z-debug-0.log
0 verbose cli /usr/local/bin/node /usr/local/bin/npm
1 info using npm@10.8.2
2 info using node@v20.19.1
3 silly config load:file:/usr/local/lib/node_modules/npm/npmrc
4 silly config load:file:/home/projects/vitejs-vite-8uz2qvwp/.npmrc
5 silly config load:file:/home/.npmrc
6 silly config load:file:/usr/local/etc/npmrc
7 verbose title npm install
8 verbose argv "install"
9 verbose logfile logs-max:10 dir:/home/.npm/_logs/2026-01-29T11_10_29_147Z-
10 verbose logfile /home/.npm/_logs/2026-01-29T11_10_29_147Z-debug-0.log
11 silly packumentCache heap:9007199254740991 maxSize:2251799813685247 maxEntrySize:1125899906842623
12 silly logfile done cleaning log files
13 silly idealTree buildDeps
14 silly reify moves {}
15 verbose cwd /home/projects/vitejs-vite-8uz2qvwp
16 verbose os Linux 5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.2 Safari/605.1.15
17 verbose node v20.19.1
18 verbose npm v10.8.2
19 verbose exit 1
20 verbose code 1
21 error A complete log of this run can be found in: /home/.npm/_logs/2026-01-29T11_10_29_147Z-debug-0.logAttempted Solutions
Manually ran npm install - same error
Tried npm rebuild - same error
Link to the blitz that caused the error
https://stackblitz.com/edit/vitejs-vite-8uz2qvwp?file=index.html&terminal=dev
Steps to reproduce
1 - Go to React project
2 - Let it run npm install
3 - npm install encounter an error
Expected behavior
The npm packages should install successfully and the dev server should start.
Parity with Local
- I have run the project in my local machine and I could not reproduce the issue.
Screenshots
Platform
Browser name = Safari
Full version = 26.2
Major version = 26
navigator.appName = Netscape
navigator.userAgent = Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/26.2 Safari/605.1.15
performance.memory = undefined
Hash = 31fc58ec
Additional context
- The error log doesn't show a specific error message, only that the process exits with code 1. The log indicates it gets through config loading and starts the ideal tree building but fails during the reify phase.
- Working just fine on firefox
Metadata
Metadata
Assignees
Labels
No labels