no open ports available when running serve for vue cli is what im requesting - vue-cli

Could somebody help me to solve a problem with the very start of my VUE cli project , cause i have tried to run serve it in order to see the App.vue but this error shows up:
vue-cli-service serve
INFO Starting development server...
ERROR Error: No open ports available
Error: No open ports available
at Server.onError (C:\Users\kikit\bookstoreapp\node_modules\portfinder\lib\portfinder.js:58:23)
at Object.onceWrapper (events.js:300:26)
at Server.emit (events.js:210:5)
at emitErrorNT (net.js:1327:8)
at processTicksAndRejections (internal/process/task_queues.js:80:21)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! bookstoreapp#0.1.0 serve: `vue-cli-service serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bookstoreapp#0.1.0 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\kikit\AppData\Roaming\npm-cache\_logs\2019-10-29T12_40_18_509Z-debug.log
PS C:\Users\kikit\bookstoreapp>
and the log report would be
1 verbose cli [
1 verbose cli 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'serve'
1 verbose cli ]
2 info using npm#6.12.0
3 info using node#v12.13.0
4 verbose run-script [ 'preserve', 'serve', 'postserve' ]
5 info lifecycle bookstoreapp#0.1.0~preserve: bookstoreapp#0.1.0
6 info lifecycle bookstoreapp#0.1.0~serve: bookstoreapp#0.1.0
7 verbose lifecycle bookstoreapp#0.1.0~serve: unsafe-perm in lifecycle true
8 verbose lifecycle bookstoreapp#0.1.0~serve: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\kikit\bookstoreapp\node_modules\.bin;C:\Program Files\Java\jdk1.8.0_221\bin;C:\Program Files (x86)\Brackets\command;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Program Files\JetBrains\IntelliJ IDEA 2019.2.2\bin;;C:\Users\kikit\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\kikit\AppData\Roaming\npm
9 verbose lifecycle bookstoreapp#0.1.0~serve: CWD: C:\Users\kikit\bookstoreapp
10 silly lifecycle bookstoreapp#0.1.0~serve: Args: [ '/d /s /c', 'vue-cli-service serve' ]
11 silly lifecycle bookstoreapp#0.1.0~serve: Returned: code: 1 signal: null
12 info lifecycle bookstoreapp#0.1.0~serve: Failed to exec serve script
13 verbose stack Error: bookstoreapp#0.1.0 serve: `vue-cli-service serve`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:210:5)
13 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:210:5)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:283:5)
14 verbose pkgid bookstoreapp#0.1.0
15 verbose cwd C:\Users\kikit\bookstoreapp
16 verbose Windows_NT 10.0.18362
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "serve"
18 verbose node v12.13.0
19 verbose npm v6.12.0
20 error code ELIFECYCLE
21 error errno 1
22 error bookstoreapp#0.1.0 serve: `vue-cli-service serve`
22 error Exit status 1
23 error Failed at the bookstoreapp#0.1.0 serve script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
Which might be the error ?..... thanks

Related

Can't run project vue-cli via npm run serve

I have windows7 so, following requirements Vue-CLI I installed version Node 12.0.0
Installed vue-cli: npm install -g #vue/cli
Version: 5.4.0
Create project - vue create hello-world
Try to run it all possible commands: npm run serve, npx vue-cli-service serve, vue-cli-service serve.
But I got an error evertime:
https://i.stack.imgur.com/MprDr.png
(sorry, my reputation can't allow me to post pictures)
Try to run via GUI UI, and got at the same
https://i.stack.imgur.com/GqqQJ.png
Log file:
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'serve'
1 verbose cli ]
2 info using npm#6.9.0
3 info using node#v12.0.0
4 verbose run-script [ 'preserve', 'serve', 'postserve' ]
5 info lifecycle hello-world#0.1.0~preserve: hello-world#0.1.0
6 info lifecycle hello-world#0.1.0~serve: hello-world#0.1.0
7 verbose lifecycle hello-world#0.1.0~serve: unsafe-perm in lifecycle true
8 verbose lifecycle hello-world#0.1.0~serve: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\Администратор\Desktop\Учеба\Vue\hello-world\node_modules\.bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Brackets\command;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Users\Администратор\AppData\Local\Programs\Python\Python37\Scripts\;C:\Users\Администратор\AppData\Local\Programs\Python\Python37\;C:\Program Files\heroku\bin;C:\Users\Администратор\AppData\Roaming\npm
9 verbose lifecycle hello-world#0.1.0~serve: CWD: C:\Users\Администратор\Desktop\Учеба\Vue\hello-world
10 silly lifecycle hello-world#0.1.0~serve: Args: [ '/d /s /c', 'vue-cli-service serve' ]
11 silly lifecycle hello-world#0.1.0~serve: Returned: code: 3221225477 signal: null
12 info lifecycle hello-world#0.1.0~serve: Failed to exec serve script
13 verbose stack Error: hello-world#0.1.0 serve: `vue-cli-service serve`
13 verbose stack Exit status 3221225477
13 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:301:16)
13 verbose stack at EventEmitter.emit (events.js:196:13)
13 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:196:13)
13 verbose stack at maybeClose (internal/child_process.js:1000:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:267:5)
14 verbose pkgid hello-world#0.1.0
15 verbose cwd C:\Users\Администратор\Desktop\Учеба\Vue\hello-world
16 verbose Windows_NT 6.1.7601
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "serve"
18 verbose node v12.0.0
19 verbose npm v6.9.0
20 error code ELIFECYCLE
21 error errno 3221225477
22 error hello-world#0.1.0 serve: `vue-cli-service serve`
22 error Exit status 3221225477
23 error Failed at the hello-world#0.1.0 serve script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 3221225477, true ]

Error: nodejs nestjs 'npm run start' how do i solve this?

I keep getting this error when i run npm run start at terminal. This is a nestJS default project.
Found 41 error(s).
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! backend#0.0.1 start: `nest start`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the backend#0.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\eduar\AppData\Roaming\npm-cache\_logs\2020-12-25T01_25_45_350Z-debug.log
PS C:\Users\eduar\OneDrive\Escritorio\Fullstack\backend>
Also I get duplicate identifier errors, but I can post it because of character limits.
This is the debug:
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'start'
1 verbose cli ]
2 info using npm#6.14.8
3 info using node#v14.14.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle backend#0.0.1~prestart: backend#0.0.1
6 info lifecycle backend#0.0.1~start: backend#0.0.1
7 verbose lifecycle backend#0.0.1~start: unsafe-perm in lifecycle true
8 verbose lifecycle backend#0.0.1~start: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\eduar\OneDrive\Escritorio\Fullstack\backend\node_modules\.bin;D:\VMware\bin\;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Program Files (x86)\Razer Chroma SDK\bin;C:\Program Files\Razer Chroma SDK\bin;C:\Program Files (x86)\Razer\ChromaBroadcast\bin;C:\Program Files\Razer\ChromaBroadcast\bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Windows\System32\OpenSSH\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\Intel\WiFi\bin\;C:\Program Files\Common Files\Intel\WirelessCommon\;C:\Windows\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\nodejs\;D:\Git\cmd;C:\Users\eduar\AppData\Local\Programs\Python\Python37-32\Scripts\;C:\Users\eduar\AppData\Local\Programs\Python\Python37-32\;C:\Users\eduar\AppData\Local\Microsoft\WindowsApps;C:\Users\eduar\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\eduar\AppData\Local\atom\bin;C:\MinGW\bin;C:\Users\eduar\OneDrive\Escritorio\flutter\bin;C:\Users\eduar\AppData\Roaming\npm;C:\Users\eduar\AppData\Local\GitHubDesktop\bin
9 verbose lifecycle backend#0.0.1~start: CWD: C:\Users\eduar\OneDrive\Escritorio\Fullstack\backend
10 silly lifecycle backend#0.0.1~start: Args: [ '/d /s /c', 'nest start' ]
11 silly lifecycle backend#0.0.1~start: Returned: code: 1 signal: null
12 info lifecycle backend#0.0.1~start: Failed to exec start script
13 verbose stack Error: backend#0.0.1 start: `nest start`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:315:20)
13 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:315:20)
13 verbose stack at maybeClose (internal/child_process.js:1048:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5)
14 verbose pkgid backend#0.0.1
15 verbose cwd C:\Users\eduar\OneDrive\Escritorio\Fullstack\backend
16 verbose Windows_NT 10.0.18363
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "start"
18 verbose node v14.14.0
19 verbose npm v6.14.8
20 error code ELIFECYCLE
21 error errno 1
22 error backend#0.0.1 start: `nest start`
22 error Exit status 1
23 error Failed at the backend#0.0.1 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 already try to reinstall npm packages and reinstall nestjs. As i said at the first, this is default project of nestjs and node
It seems you have no #nestjs/cli installed globally.
npm i -g #nestjs/cli

Npm doesn't work There is no problem with my NPM. (This is probably not a problem with npm. There is likely additional logging output above.)

Hello I can't start my Vue project.
I can run my vue project on my laptop but when I try to run on my dekstop it doesn't work.
I got a error. This is the error:
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'serve'
1 verbose cli ]
2 info using npm#6.13.4
3 info using node#v12.16.1
4 verbose run-script [ 'preserve', 'serve', 'postserve' ]
5 info lifecycle vuefire#0.1.0~preserve: vuefire#0.1.0
6 info lifecycle vuefire#0.1.0~serve: vuefire#0.1.0
7 verbose lifecycle vuefire#0.1.0~serve: unsafe-perm in lifecycle true
8 verbose lifecycle vuefire#0.1.0~serve: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\xampp\htdocs\GitHub\stageFinder\node_modules\.bin;C:\Program Files (x86)\Razer Chroma SDK\bin;C:\Program Files\Razer Chroma SDK\bin;C:\Program Files (x86)\Razer\ChromaBroadcast\bin;C:\Program Files\Razer\ChromaBroadcast\bin;C:\WINDOWS\system32\config\systemprofile\AppData\Local\Microsoft\WindowsApps;C:\Users\Mustafa Bolat\AppData\Local\GitHubDesktop\bin;C:\Program Files\dotnet\;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\Program Files\Git\cmd;C:\Program Files\nodejs\;C:\Users\Mustafa Bolat\AppData\Local\Programs\Python\Python37-32\Scripts\;C:\Users\Mustafa Bolat\AppData\Local\Programs\Python\Python37-32\;C:\Users\Mustafa Bolat\AppData\Local\GitHubDesktop\bin;C:\Users\Mustafa Bolat\AppData\Local\Programs\Microsoft VS Code\bin;C:\flutter\bin;"C:\Program Files\Git\bin;C:\Program Files\Git\cmd;C:\Windows\System32;";C:\Users\Mustafa Bolat\AppData\Roaming\npm
9 verbose lifecycle vuefire#0.1.0~serve: CWD: C:\xampp\htdocs\GitHub\stageFinder
10 silly lifecycle vuefire#0.1.0~serve: Args: [ '/d /s /c', 'vue-cli-service serve --open' ]
11 silly lifecycle vuefire#0.1.0~serve: Returned: code: 1 signal: null
12 info lifecycle vuefire#0.1.0~serve: Failed to exec serve script
13 verbose stack Error: vuefire#0.1.0 serve: `vue-cli-service serve --open`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:311:20)
13 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:311:20)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14 verbose pkgid vuefire#0.1.0
15 verbose cwd C:\xampp\htdocs\GitHub\stageFinder
16 verbose Windows_NT 10.0.17763
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "serve"
18 verbose node v12.16.1
19 verbose npm v6.13.4
20 error code ELIFECYCLE
21 error errno 1
22 error vuefire#0.1.0 serve: `vue-cli-service serve --open`
22 error Exit status 1
23 error Failed at the vuefire#0.1.0 serve script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
I uninstall the Node js and installed but that doesn't work.
I deleted the project and downloaded it from Github but that also doesn't work.

Getting Error while running the React App

This is the log of the error that I am getting while running "npm start" command after creating react app using npx create-react-app my-app.
0 info it worked if it ends with ok
1 verbose cli [
1 verbose cli 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'start'
1 verbose cli ]
2 info using npm#6.13.4
3 info using node#v12.16.1
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle my-app#0.1.0~prestart: my-app#0.1.0
6 info lifecycle my-app#0.1.0~start: my-app#0.1.0
7 verbose lifecycle my-app#0.1.0~start: unsafe-perm in lifecycle true
8 verbose lifecycle my-app#0.1.0~start: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\mechi\my-app\node_modules\.bin;C:\Users\mechi\bin;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\local\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\usr\bin;C:\Program Files\Git\cmd;C:\Program Files (x86)\Java\jdk1.8.0_101\bin;C:\Program Files (x86)\Java\jdk1.8.0_101\lib;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\Git\cmd;C:\Program Files\nodejs;C:\Users\mechi\AppData\Local\Microsoft\WindowsApps;C:\Users\mechi\AppData\Local\atom\bin;C:\Users\mechi\AppData\Local\hyper\app-3.0.2\resources\bin;C:\Program Files\heroku\bin;C:\Users\mechi\AppData\Roaming\npm;C:\Program Files\Git\usr\bin\vendor_perl;C:\Program Files\Git\usr\bin\core_perl
9 verbose lifecycle my-app#0.1.0~start: CWD: C:\Users\mechi\my-app
10 silly lifecycle my-app#0.1.0~start: Args: [ '/d /s /c', 'react-scripts start' ]
11 silly lifecycle my-app#0.1.0~start: Returned: code: 1 signal: null
12 info lifecycle my-app#0.1.0~start: Failed to exec start script
13 verbose stack Error: my-app#0.1.0 start: `react-scripts start`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:332:16)
13 verbose stack at EventEmitter.emit (events.js:311:20)
13 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:311:20)
13 verbose stack at maybeClose (internal/child_process.js:1021:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14 verbose pkgid my-app#0.1.0
15 verbose cwd C:\Users\mechi\my-app
16 verbose Windows_NT 10.0.18363
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "start"
18 verbose node v12.16.1
19 verbose npm v6.13.4
20 error code ELIFECYCLE
21 error errno 1
22 error my-app#0.1.0 start: `react-scripts start`
22 error Exit status 1
23 error Failed at the my-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 ]
Please anyone can give the solution of this problem ? I had tried all the methods that are posted here - uninstalling the package-lock.json, node_modules and reinstalling npm.
Did you try this?
remove node_modules and lock files
edit package.json so the new version of react-scripts is "2.1.8"
yarn install / npm install
cd your-app
yarn start / npm start

Npm error 1 on Npm run serve

I get this error when I type npm run serve.
0 info it worked if it ends with ok
1 verbose cli [ 'C:\\Program Files\\nodejs\\node.exe',
1 verbose cli 'C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'run',
1 verbose cli 'serve' ]
2 info using npm#6.1.0
3 info using node#v10.4.1
4 verbose run-script [ 'preserve', 'serve', 'postserve' ]
5 info lifecycle frontend#0.1.0~preserve: frontend#0.1.0
6 info lifecycle frontend#0.1.0~serve: frontend#0.1.0
7 verbose lifecycle frontend#0.1.0~serve: unsafe-perm in lifecycle true
8 verbose lifecycle frontend#0.1.0~serve: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;D:\project_web\frontend\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)\Skype\Phone\;C:\Program Files\Git\cmd;C:\WINDOWS\System32\OpenSSH\;C:\Program Files (x86)\MySQL\MySQL Utilities 1.6\;C:\Program Files\nodejs\;C:\Users\lubomir\AppData\Local\Microsoft\WindowsApps;;C:\Users\lubomir\AppData\Roaming\npm;C:\Program Files\Microsoft VS Code\bin
9 verbose lifecycle frontend#0.1.0~serve: CWD: D:\project_web\frontend
10 silly lifecycle frontend#0.1.0~serve: Args: [ '/d /s /c', 'vue-cli-service serve' ]
11 silly lifecycle frontend#0.1.0~serve: Returned: code: 1 signal: null
12 info lifecycle frontend#0.1.0~serve: Failed to exec serve script
13 verbose stack Error: frontend#0.1.0 serve: `vue-cli-service serve`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\index.js:304:16)
13 verbose stack at EventEmitter.emit (events.js:182:13)
13 verbose stack at ChildProcess.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\lib\spawn.js:55:14)
13 verbose stack at ChildProcess.emit (events.js:182:13)
13 verbose stack at maybeClose (internal/child_process.js:961:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:248:5)
14 verbose pkgid frontend#0.1.0
15 verbose cwd D:\project_web\frontend
16 verbose Windows_NT 10.0.17134
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "serve"
18 verbose node v10.4.1
19 verbose npm v6.1.0
20 error code ELIFECYCLE
21 error errno 1
22 error frontend#0.1.0 serve: `vue-cli-service serve`
22 error Exit status 1
23 error Failed at the frontend#0.1.0 serve script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
We need to see your package.json file, but as I am using vue, I use command npm run dev, not serve. So maybe that’s the problem..

Resources