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.) - node.js

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.

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 ]

"npm run hot" throwing error after installing npm and vue

Below is a complete log of 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 'hot'
1 verbose cli ]
2 info using npm#6.12.0
3 info using node#v12.13.0
4 verbose run-script [ 'prehot', 'hot', 'posthot' ]
5 info lifecycle #~prehot: #
6 info lifecycle #~hot: #
7 verbose lifecycle #~hot: unsafe-perm in lifecycle true
8 verbose lifecycle #~hot: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\xampp\htdocs\todolist\node_modules\.bin;C:\xampp\htdocs\todolist\node_modules\.bin;;D:\Anaconda;D:\Anaconda\Library\mingw-w64\bin;D:\Anaconda\Library\usr\bin;D:\Anaconda\Library\bin;D:\Anaconda\Scripts;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files (x86)\Skype\Phone\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\Git\cmd;C:\xampp\mysql\bin;C:\xampp\php;C:\ProgramData\ComposerSetup\bin;C:\Program Files\nodejs\;C:\Program Files\Java\jdk-13.0.2\bin;c:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\Tools\Binn\;c:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Users\Asus\AppData\Roaming\Composer\vendor\bin;C:\Users\Asus\AppData\Roaming\npm;D:\PyCharm Community Edition 2019.3.3\bin;
9 verbose lifecycle #~hot: CWD: C:\xampp\htdocs\todolist
10 silly lifecycle #~hot: Args: [ '/d /s /c', 'mix watch --hot' ]
11 silly lifecycle #~hot: Returned: code: 1 signal: null
12 info lifecycle #~hot: Failed to exec hot script
13 verbose stack Error: # hot: `mix watch --hot`
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 #
15 verbose cwd C:\xampp\htdocs\todolist
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" "hot"
18 verbose node v12.13.0
19 verbose npm v6.12.0
20 error code ELIFECYCLE
21 error errno 1
22 error # hot: `mix watch --hot`
22 error Exit status 1
23 error Failed at the # hot script.
23 error This is probably not a problem with npm. There is likely additional logging output above.
24 verbose exit [ 1, true ]
I get this error when i run the command "npm run hot" after installing npm and vue and setting up everything needed for vue.js

How can i fix this npm start command?

When i want to test a front end repo and after installation of npm and npm start command it gives me this 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:\\Users\\user\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js',
1 verbose cli 'start'
1 verbose cli ]
2 info using npm#6.14.5
3 info using node#v12.18.3
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle angulardemo2#0.0.0~prestart: angulardemo2#0.0.0
6 info lifecycle angulardemo2#0.0.0~start: angulardemo2#0.0.0
7 verbose lifecycle angulardemo2#0.0.0~start: unsafe-perm in lifecycle true
8 verbose lifecycle angulardemo2#0.0.0~start: PATH: C:\Users\user\AppData\Roaming\npm\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;E:\Courses\ChatBot\FourBots_FrontEnd\bot_front\node_modules\.bin;C:\Program Files (x86)\Common Files\Oracle\Java\javapath;C:\ProgramData\Oracle\Java\javapath;E:\CE\gcc\bin;E:\CE\gcc\libexec\gcc\x86_64-w64-mingw32\8.1.0;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\WINDOWS\System32\OpenSSH\;C:\Program Files\dotnet\;C:\Program Files\Java\jdk-12\bin;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;E:\Software\MatLab\bin;E:\Software\New Folder\runtime\win64;E:\Software\New Folder\polyspace\bin;E:\Software\New Folder\bin;E:\Software\bin;C:\Program Files\Mono\bin;C:\Program Files (x86)\Brackets\command;C:\Python\Python37;C:\Program Files (x86)\Calibre2\;C:\Program Files\Git\cmd;C:\Program Files\Git\mingw64\bin;C:\Program Files\Git\usr\bin;C:\Program Files\nodejs\;C:\Python\Python37\Scripts\;C:\Python\Python37\;C:\Program Files\MySQL\MySQL Shell 8.0\bin\;C:\Users\user\AppData\Local\Microsoft\WindowsApps;C:\MinGW\bin;C:MinGW\MYSYS\1.0\bin;e:\software\win32pe_edu;f:\win32pe_edu;f:\modelsim\win32pe_edu;E:\Software\Node;C:\Program Files (x86)\Nmap;E:\Software\Microsoft VS Code\bin;C:\Users\user\AppData\Roaming\npm;C:\Users\user\AppData\Local\GitHubDesktop\bin;C:\Program Files\JetBrains\PyCharm Community Edition 2020.1.3\bin;C:\Program Files (x86)\EaseUS\Todo Backup\bin\x64\
9 verbose lifecycle angulardemo2#0.0.0~start: CWD: E:\Courses\ChatBot\FourBots_FrontEnd\bot_front
10 silly lifecycle angulardemo2#0.0.0~start: Args: [ '/d /s /c', 'ng serve' ]
11 silly lifecycle angulardemo2#0.0.0~start: Returned: code: 1 signal: null
12 info lifecycle angulardemo2#0.0.0~start: Failed to exec start script
13 verbose stack Error: angulardemo2#0.0.0 start: `ng serve`
13 verbose stack Exit status 1
13 verbose stack at EventEmitter.<anonymous> (C:\Users\user\AppData\Roaming\npm\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:\Users\user\AppData\Roaming\npm\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:1021:16)
13 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
14 verbose pkgid angulardemo2#0.0.0
15 verbose cwd E:\Courses\ChatBot\FourBots_FrontEnd\bot_front
16 verbose Windows_NT 10.0.17134
17 verbose argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\user\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "start"
18 verbose node v12.18.3
19 verbose npm v6.14.5
20 error code ELIFECYCLE
21 error errno 1
22 error angulardemo2#0.0.0 start: `ng serve`
22 error Exit status 1
23 error Failed at the angulardemo2#0.0.0 start script.
--
try:
npm cache clean --force
npm start -dd
-dd: to see logs

npm start gives an error and doesn't start

I get an error when running npm start. It was working fine and then suddenly it started doing this. I have rebooted to make sure there are no hanging processes. I did a npm cache verify. Here is the log it provides.
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.12.0
3 info using node#v12.13.0
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info lifecycle electron-quick-start#1.0.0~prestart: electron-quick-start#1.0.0
6 info lifecycle electron-quick-start#1.0.0~start: electron-quick-start#1.0.0
7 verbose lifecycle electron-quick-start#1.0.0~start: unsafe-perm in lifecycle true
8 verbose lifecycle electron-quick-start#1.0.0~start: PATH: C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin;C:\Users\dillon_vance\git\backup-restore\node_modules\.bin;C:\ProgramData\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\1E\NomadBranch\;C:\Program Files\Dell\Dell Data Protection\Encryption\;C:\PSTools\;C:\Program Files\nodejs\;C:\Program Files\Git\cmd;C:\Users\dillon_vance\AppData\Local\Microsoft\WindowsApps;;C:\Users\dillon_vance\AppData\Local\Programs\Microsoft VS Code\bin;C:\Users\dillon_vance\AppData\Roaming\npm
9 verbose lifecycle electron-quick-start#1.0.0~start: CWD: C:\Users\dillon_vance\git\backup-restore
10 silly lifecycle electron-quick-start#1.0.0~start: Args: [ '/d /s /c', 'electron .' ]
11 silly lifecycle electron-quick-start#1.0.0~start: Returned: code: 2147483651 signal: null
12 info lifecycle electron-quick-start#1.0.0~start: Failed to exec start script
13 verbose stack Error: electron-quick-start#1.0.0 start: `electron .`
13 verbose stack Exit status 2147483651
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 electron-quick-start#1.0.0
15 verbose cwd C:\Users\dillon_vance\git\backup-restore
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" "start"
18 verbose node v12.13.0
19 verbose npm v6.12.0
20 error code ELIFECYCLE
21 error errno 2147483651
22 error electron-quick-start#1.0.0 start: `electron .`
22 error Exit status 2147483651
23 error Failed at the electron-quick-start#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 [ 2147483651, true ]
I don't have anymore ideas. I googled the error code, but didn't find a solution for my issue. Any help would be much appreciated.

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