Skip to content

Instantly share code, notes, and snippets.

@terrafied
Created August 22, 2019 18:16
Show Gist options
  • Save terrafied/73c6ed7e67b542bc16424058ecc378c6 to your computer and use it in GitHub Desktop.
Save terrafied/73c6ed7e67b542bc16424058ecc378c6 to your computer and use it in GitHub Desktop.
debug log for react app issue
john@mettabuntu:~/kafka_logger/react_frontend$ cat /home/john/.npm/_logs/2019-08-22T18_02_44_128Z-debug.log
0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/local/bin/npm', 'start' ]
2 info using npm@6.11.1
3 info using node@v8.10.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle react_frontend@0.1.0~prestart: react_frontend@0.1.0
6 info lifecycle react_frontend@0.1.0~start: react_frontend@0.1.0
7 verbose lifecycle react_frontend@0.1.0~start: unsafe-perm in lifecycle true
8 verbose lifecycle react_frontend@0.1.0~start: PATH: /usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/john/kafka_logger/react_frontend/node_modules/.bin:/home/john/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
9 verbose lifecycle react_frontend@0.1.0~start: CWD: /home/john/kafka_logger/react_frontend
10 silly lifecycle react_frontend@0.1.0~start: Args: [ '-c', 'react-scripts start' ]
11 silly lifecycle react_frontend@0.1.0~start: Returned: code: 1 signal: null
12 info lifecycle react_frontend@0.1.0~start: Failed to exec start script
13 verbose stack Error: react_frontend@0.1.0 start: `react-scripts start`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:332:16)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at EventEmitter.emit (events.js:214:7)
13 verbose stack at ChildProcess.<anonymous> (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
13 verbose stack at emitTwo (events.js:126:13)
13 verbose stack at ChildProcess.emit (events.js:214:7)
13 verbose stack at maybeClose (internal/child_process.js:925:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
14 verbose pkgid react_frontend@0.1.0
15 verbose cwd /home/john/kafka_logger/react_frontend
16 verbose Linux 5.0.0-25-generic
17 verbose argv "/usr/bin/node" "/usr/local/bin/npm" "start"
18 verbose node v8.10.0
19 verbose npm v6.11.1
20 error code ELIFECYCLE
21 error errno 1
22 error react_frontend@0.1.0 start: `react-scripts start`
22 error Exit status 1
23 error Failed at the react_frontend@0.1.0 start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment