Topic: Error when I run npm start for the MDB-React-Free-npm.zip
blakezeros free asked 6 years ago
I downloaded the MDB-React-Free-npm.zip and followed the instructions but it fails when I run nom start. Here is the output of the log file.
0 info it worked if it ends with ok
1 verbose cli [ '/home/superman/.nvm/versions/node/v8.11.4/bin/node',
1 verbose cli '/home/superman/.nvm/versions/node/v8.11.4/bin/npm',
1 verbose cli 'start' ]
2 info using npm@6.4.1
3 info using node@v8.11.4
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle your-app@0.1.0~prestart: your-app@0.1.0
6 info lifecycle your-app@0.1.0~start: your-app@0.1.0
7 verbose lifecycle your-app@0.1.0~start: unsafe-perm in lifecycle true
8 verbose lifecycle your-app@0.1.0~start: PATH: /home/superman/.nvm/versions/node/v8.11.4/lib/node_modules/npm/node_modules/npm-lifecycle/node-gyp-bin:/home/superman/Project/node_modules/.bin:/home/superman/.nvm/versions/node/v8.11.4/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
9 verbose lifecycle your-app@0.1.0~start: CWD: /home/superman/Project
10 silly lifecycle your-app@0.1.0~start: Args: [ '-c', 'react-scripts start' ]
11 silly lifecycle your-app@0.1.0~start: Returned: code: 1 signal: null
12 info lifecycle your-app@0.1.0~start: Failed to exec start script
13 verbose stack Error: your-app@0.1.0 start: `react-scripts start`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (/home/superman/.nvm/versions/node/v8.11.4/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301: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> (/home/superman/.nvm/versions/node/v8.11.4/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 your-app@0.1.0
15 verbose cwd /home/superman/Project
16 verbose Linux 4.15.0-36-generic
17 verbose argv "/home/superman/.nvm/versions/node/v8.11.4/bin/node" "/home/superman/.nvm/versions/node/v8.11.4/bin/npm" "start"
18 verbose node v8.11.4
19 verbose npm v6.4.1
20 error code ELIFECYCLE
21 error errno 1
22 error your-app@0.1.0 start: `react-scripts start`
22 error Exit status 1
23 error Failed at the your-app@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 ]
I hope you can help me to solve the issue.
Thanks.
Add comment
Anna Morawska staff answered 6 years ago
Hi there,
it looks like you have to update your node version on your computer. We use create-react-app v.2 which requires node 8.9.0 or later.
Best,
Ania
FREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Status
Answered
Specification of the issue
- ForumUser: Free
- Premium support: No
- Technology: MDB React
- MDB Version: 4.7.1
- Device: Laptop
- Browser: Firefox
- OS: Ubuntu 18.04
- Provided sample code: No
- Provided link: No