Crash after choosing the mode
introvert opened this issue · comments
Introvert commented
After I clone the repo, the configuration opens in Chrome. When I choose any of the modes and click save, the server will crash and print:
Waiting 1 second...
{"server_up":{"upAt":"2020-12-24T14:31:39.637Z","port":22120}}
Launching chrome...
TypeError: Cannot read property 'writeFileSync' of undefined
Here's the log:
0 verbose cli [
0 verbose cli '/usr/local/Cellar/node/15.1.0/bin/node',
0 verbose cli '/usr/local/bin/npm',
0 verbose cli 'start'
0 verbose cli ]
1 info using npm@7.0.8
2 info using node@v15.1.0
3 timing config:load:defaults Completed in 1ms
4 timing config:load:file:/usr/local/lib/node_modules/npm/npmrc Completed in 1ms
5 timing config:load:builtin Completed in 1ms
6 timing config:load:cli Completed in 1ms
7 timing config:load:env Completed in 0ms
8 timing config:load:file:/Users/alfa/Documents/code/22120/.npmrc Completed in 0ms
9 timing config:load:project Completed in 1ms
10 timing config:load:file:/Users/alfa/.npmrc Completed in 0ms
11 timing config:load:user Completed in 0ms
12 timing config:load:file:/usr/local/etc/npmrc Completed in 0ms
13 timing config:load:global Completed in 0ms
14 timing config:load:cafile Completed in 0ms
15 timing config:load:validate Completed in 0ms
16 timing config:load:setUserAgent Completed in 1ms
17 timing config:load:setEnvs Completed in 0ms
18 timing config:load Completed in 5ms
19 verbose npm-session 98b501a8b79e7516
Cris commented
Thank you for that info. I feel sorry for you you've had that experience, and I'm sorry to you that I did not see your issue until now!
I think you can try some of these alternative that i guess might help:
- run
npm i
before doing anything - download and use
nvm
and try a different node version such as,nvm install v12.10.0
or other random version - start with
npm test
instead ofnpm start
- set DEBUG_22120 environment variable to any nonempty string