Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error when calling npm start. Help please. #4124

Closed
olegileto opened this issue Mar 8, 2018 · 1 comment
Closed

Error when calling npm start. Help please. #4124

olegileto opened this issue Mar 8, 2018 · 1 comment

Comments

@olegileto
Copy link

olegileto commented Mar 8, 2018

2018-03-08T09_34_30_357Z-debug.log

0 info it worked if it ends with ok
1 verbose cli [ 'C:\Program Files\nodejs\node.exe',
1 verbose cli 'C:\Users\letop\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'start' ]
2 info using npm@5.7.1
3 info using node@v8.9.1
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle react-day-event-calendar@1.0.0prestart: react-day-event-calendar@1.0.0
6 info lifecycle react-day-event-calendar@1.0.0
start: react-day-event-calendar@1.0.0
7 verbose lifecycle react-day-event-calendar@1.0.0start: unsafe-perm in lifecycle true
8 verbose lifecycle react-day-event-calendar@1.0.0
start: PATH: C:\Users\letop\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;L:\Работа\react-day-event-calendar-master\node_modules.bin;C:\ProgramData\Oracle\Java\javapath;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0;C:\Program Files (x86)\Common Files\Acronis\SnapAPI;C:\Program Files\Git\cmd;C:\Program Files\nodejs;C:\Program Files (x86)\GtkSharp\2.12\bin;C:\Program Files (x86)\Skype\Phone;C:\Program Files (x86)\Yarn\bin;C:\Users\letop\AppData\Local\Microsoft\WindowsApps;C:\Users\letop\AppData\Roaming\npm;C:\Users\letop\AppData\Local\Yarn\bin
9 verbose lifecycle react-day-event-calendar@1.0.0start: CWD: L:\Работа\react-day-event-calendar-master
10 silly lifecycle react-day-event-calendar@1.0.0
start: Args: [ '/d /s /c', 'react-scripts start' ]
11 silly lifecycle react-day-event-calendar@1.0.0start: Returned: code: 1 signal: null
12 info lifecycle react-day-event-calendar@1.0.0
start: Failed to exec start script
13 verbose stack Error: react-day-event-calendar@1.0.0 start: react-scripts start
13 verbose stack Exit status 1
13 verbose stack at EventEmitter. (C:\Users\letop\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\index.js:285: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. (C:\Users\letop\AppData\Roaming\npm\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-day-event-calendar@1.0.0
15 verbose cwd L:\Работа\react-day-event-calendar-master
16 verbose Windows_NT 10.0.16299
17 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Users\letop\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "start"
18 verbose node v8.9.1
19 verbose npm v5.7.1
20 error code ELIFECYCLE
21 error errno 1
22 error react-day-event-calendar@1.0.0 start: react-scripts start
22 error Exit status 1
23 error Failed at the react-day-event-calendar@1.0.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 ran npm start
then I got it

20 error code ELIFECYCLE
21 error errno 1
22 error react-day-event-calendar@1.0.0 start: `react-scripts start`
22 error Exit status 1
23 error Failed at the react-day-event-calendar@1.0.0 start script.
23 error This is probably not a problem with npm. There is likely additional logging output above.

package.json

{
"name": "react-day-event-calendar",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"start": "react-scripts start",
"build": "webpack --progress --color --watch --config webpack.base.js",
"lint": "eslint --ignore-path .gitignore . ; exit 0"
},
"dependencies": {
"babel-polyfill": "6.13.0",
"moment": "^2.15.1",
"react": "15.3.1",
"react-dom": "15.3.1",
"react-redux": "4.4.5",
"react-scripts": "^1.1.1",
"redux": "3.6.0"
},
"devDependencies": {
"babel-cli": "6.14.0",
"babel-core": "6.14.0",
"babel-eslint": "6.1.2",
"babel-loader": "6.2.5",
"babel-plugin-transform-object-rest-spread": "6.8.0",
"babel-plugin-transform-react-jsx": "6.8.0",
"babel-plugin-transform-runtime": "6.15.0",
"babel-preset-es2015": "6.14.0",
"babel-preset-react": "6.11.1",
"babel-preset-stage-0": "6.5.0",
"babel-runtime": "6.11.6",
"eslint": "3.5.0",
"eslint-config-airbnb": "11.0.0",
"eslint-plugin-import": "1.14.0",
"eslint-plugin-jsx-a11y": "2.2.1",
"eslint-plugin-react": "6.2.0",
"webpack": "1.13.2"
}
}

@olegileto olegileto changed the title Error when calling npm start Error when calling npm start. Help please. Mar 8, 2018
@Timer
Copy link
Contributor

Timer commented Mar 26, 2018

You've installed webpack alongside react-scripts which is not supported. You need to remove those dependencies.

@Timer Timer closed this as completed Mar 26, 2018
@lock lock bot locked and limited conversation to collaborators Jan 20, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants