Error in "npm run dev" marzipano ' s demos - node.js

I'm trying to install marzipano: https://github.com/google/marzipano
when I execute command line "npm run dev", it happen:
$ npm run dev
> marzipano#0.5.2 dev C:\Users\Clavis\Desktop\marzipano-master
> scripts/dev
'scripts' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! Windows_NT 10.0.14393
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\Clavis\\AppData\\Roaming\\npm\\node_modules\\npm\\bin\\npm-cli.js" "run" "dev"
npm ERR! node v6.9.4
npm ERR! npm v4.0.5
npm ERR! code ELIFECYCLE
npm ERR! marzipano#0.5.2 dev: `scripts/dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the marzipano#0.5.2 dev script 'scripts/dev'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the marzipano package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! scripts/dev
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs marzipano
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls marzipano
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! C:\Users\Clavis\Desktop\marzipano-master\npm-debug.log
npm-debug.log: https://app.box.com/s/f0yxb2hiu49gp7rsgv5qm26auftm1zka
how to solve this error?

Related

npm showing error if though if I edited package.json file

sh: 1: to: not found
npm ERR! Linux 4.13.0-32-generic
npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "run" "start"
npm ERR! node v6.12.3
npm ERR! npm v3.10.10
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! contact#1.0.0 start: `command to run here`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the contact#1.0.0 start script 'command to run here'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the contact package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! command to run here
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs contact
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls contact
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/manukumar/project/Nfriendship/Contact/npm-debug.log

npm run watch not working for laravel on windows

Here is the error i'm getting from cmd I tried look for a solution and not luck i didn't try it on OSX yet i might try that later
npm ERR! # watch-poll: `npm run watch -- --watch-poll`
npm ERR! Exit status 4294963238
npm ERR!
npm ERR! Failed at the # watch-poll script.
npm ERR! This is most likely a problem with the package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run watch -- --watch-poll
npm ERR! You can get their info via:
npm ERR! npm owner ls
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.1.7601
npm ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "watch-poll"
npm ERR! cwd C:\Users\Yosef\Desktop\pos
npm ERR! node -v v6.11.2
npm ERR! npm -v 1.3.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! C:\Users\Yosef\Desktop\pos\npm-debug.log
npm ERR! not ok code 0
Sometimes, when you already started your webserver, the ELIFECYCLE error comes if you try to run the npm command again on another terminal session.
Make sure that you don't have any other instance running up.

Not able to run a vue app on node server

Im have started to learn vue js and trying to run this HackerNews clone
I have installed node js on windows 8 which is node v6.9.1 and npm v3.10.8.
There are two issues
1) when Im trying to run npm command it like npm -v it gives me output like this
'CALL "C:\Program Files\nodejs\\node.exe" "C:\Program Files\nodejs\\node_modules
\npm\bin\npm-cli.js" prefix -g' is not recognized as an internal or external com
mand,
operable program or batch file.
3.10.8
2) when I tried npm run dev it gives following error
> vue-hackernews-2.0# dev G:\vue_demo\vue-hackernews-2.0-master
> node server
npm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "run" "dev"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! file C:\windows\system32\cmd.exe;F:\Software\apache-maven-3.3.9\bin
npm ERR! path C:\windows\system32\cmd.exe;F:\Software\apache-maven-3.3.9\bin
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn C:\windows\system32\cmd.exe;F:\Software\apache-maven-3.3.
9\bin
npm ERR! vue-hackernews-2.0# dev: `node server`
npm ERR! spawn C:\windows\system32\cmd.exe;F:\Software\apache-maven-3.3.9\bin EN
OENT
npm ERR!
npm ERR! Failed at the vue-hackernews-2.0# dev script 'node server'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the vue-hackernews-2.0 pa
ckage,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node server
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs vue-hackernews-2.0
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls vue-hackernews-2.0
npm ERR! There is likely additional logging output above.
npm ERR! Windows_NT 6.2.9200
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "run" "dev"
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! vue-hackernews-2.0# dev: `node server`
npm ERR! Exit status -4058
npm ERR!
npm ERR! Failed at the vue-hackernews-2.0# dev script 'node server'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the vue-hackernews-2.0 pa
ckage,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node server
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs vue-hackernews-2.0
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls vue-hackernews-2.0
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! G:\vue_demo\vue-hackernews-2.0-master\npm-debug.log
Here Im not able to understand what is use of maven :/
Please explain me this issues.

'npm start' error in ubuntu,but it's ok in windows 7

How can I find the problem and fix it? Here is the error message:
npm ERR! Linux 3.13.0-32-generic
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v6.2.2
npm ERR! npm v3.9.5
npm ERR! code ELIFECYCLE
npm ERR! aa-server#1.0.0 start: `node ./bin/www`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the aa-server#1.0.0 start script 'node ./bin/www'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the aa-server package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node ./bin/www
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs aa-server
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls aa-server
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /aa-server/npm-debug.log

npm start error on Windows

I am trying to compile files with webpack and npm for my reactJS applciation.
When I am running:
npm install --save react-websocket
Its working fine.
Next when I am executing
npm start
getting the following error:
> reactapp#1.0.0 start D:\ReactServer
> webpack-dev-server --hot
'webpack-dev-server' is not recognized as an internal or external command,
operable program or batch file.
npm ERR! Windows_NT 6.3.9600
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\
node_modules\\npm\\bin\\npm-cli.js" "start"
npm ERR! node v4.4.7
npm ERR! npm v2.15.8
npm ERR! code ELIFECYCLE
npm ERR! reactapp#1.0.0 start: `webpack-dev-server --hot`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the reactapp#1.0.0 start script 'webpack-dev-server -- hot'.
npm ERR! This is most likely a problem with the reactapp package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! webpack-dev-server --hot
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs reactapp
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls reactapp
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! D:\ReactServer\npm-debug.log
Can anybody help me with this?
I think you do not have webpack-dev-server installed on your system.
npm install -g webpack-dev-server
run the above command on cmd/terminal. Hopefully it will resolve your issue.

Resources