Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

npm start failed dont get why its happened error windows_nt 6.3.9600 error on npm start #8734

Closed
kashikhan1 opened this issue Jun 27, 2015 · 21 comments
Labels

Comments

@kashikhan1
Copy link

0 info it worked if it ends with ok
1 verbose cli [ 'node',
1 verbose cli 'C:\Users\Kashi Khan\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js',
1 verbose cli 'start' ]
2 info using npm@2.12.0
3 info using node@v0.12.5
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart express_website@1.0.0
6 info start express_website@1.0.0
7 verbose unsafe-perm in lifecycle true
8 info express_website@1.0.0 Failed to exec start script
9 verbose stack Error: express_website@1.0.0 start: node ./bin/www
9 verbose stack Exit status 1
9 verbose stack at EventEmitter. (C:\Users\Kashi Khan\AppData\Roaming\npm\node_modules\npm\lib\utils\lifecycle.js:213:16)
9 verbose stack at EventEmitter.emit (events.js:110:17)
9 verbose stack at ChildProcess. (C:\Users\Kashi Khan\AppData\Roaming\npm\node_modules\npm\lib\utils\spawn.js:24:14)
9 verbose stack at ChildProcess.emit (events.js:110:17)
9 verbose stack at maybeClose (child_process.js:1015:16)
9 verbose stack at Process.ChildProcess._handle.onexit (child_process.js:1087:5)
10 verbose pkgid express_website@1.0.0
11 verbose cwd C:\Users\Kashi Khan\Desktop\nodeauth-master
12 error Windows_NT 6.3.9600
13 error argv "node" "C:\Users\Kashi Khan\AppData\Roaming\npm\node_modules\npm\bin\npm-cli.js" "start"
14 error node v0.12.5
15 error npm v2.12.0
16 error code ELIFECYCLE
17 error express_website@1.0.0 start: node ./bin/www
17 error Exit status 1
18 error Failed at the express_website@1.0.0 start script 'node ./bin/www'.
18 error This is most likely a problem with the express_website package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error node ./bin/www
18 error You can get their info via:
18 error npm owner ls express_website
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ]

@kashikhan1 kashikhan1 changed the title npm start failed dont get why its happened npm start failed dont get why its happened error windows_nt 6.3.9600 error npm start Jun 27, 2015
@kashikhan1 kashikhan1 changed the title npm start failed dont get why its happened error windows_nt 6.3.9600 error npm start npm start failed dont get why its happened error windows_nt 6.3.9600 error on npm start Jun 27, 2015
@ldez
Copy link

ldez commented Jun 28, 2015

Do:

npm uninstall -g npm
npm install -g npm@2.12.1

@kashikhan1
Copy link
Author

@idez i update npm node but still its not working

@ldez
Copy link

ldez commented Jun 28, 2015

You must uninstall before : npm uninstall -g npm

NPM is installed into 2 places:

  • C:\Users\[your username]\AppData\Roaming\npm: it's the place for the updated npm version.
  • C:\Programs files\nodejs\node_modules\npm: it's npm@2.11.2 installed by default with Node.js

When your do npm uninstall -g npm this uninstall C:\Users\[your username]\AppData\Roaming\npm but not C:\Programs files\nodejs\node_modules\npm

do npm -v to check npm version.

@ldez
Copy link

ldez commented Jun 28, 2015

But you can have a problem with express_website like you can read into the log This is most likely a problem with the express_website package

If the problem persist after updated npm to 2.12.1, your issue concern express_website not npm.

@kashikhan1
Copy link
Author

sorry sir i am new no i unistall all npm and run npm install -g npm@2.12.1 its show error can't find module

@ldez
Copy link

ldez commented Jun 28, 2015

Can you put console output here ?

@kashikhan1
Copy link
Author

capture

@ldez
Copy link

ldez commented Jun 28, 2015

ok you have a new problem: you have uninstall npm 2 times ?

@kashikhan1
Copy link
Author

yes sir

@ldez
Copy link

ldez commented Jun 28, 2015

Fail, you have uninstall npm@2.12.0 and npm@2.11.2 installed by default with Node.js.
Now you're stuck, you must reinstall Node.js.

@kashikhan1
Copy link
Author

hahaha okay this is 3rd time i m going to install nodejs

@ldez
Copy link

ldez commented Jun 28, 2015

Sorry for this.

@kashikhan1
Copy link
Author

no its okay thanks sir for your help and time :)

@ldez
Copy link

ldez commented Jun 28, 2015

After install do npm install -g npm@2.12.1.

Check your version with npm -v.

If the problem persist, your issue concern express or your package configuration not npm.

@ldez
Copy link

ldez commented Jun 28, 2015

I think I found your problem:
In your package.json file you have defined "start" : "./bin/www" but this folder doesn't contain any file or start file (index.js)

@kashikhan1
Copy link
Author

i have index file in views folder

@ldez
Copy link

ldez commented Jun 28, 2015

./bin/www must exists and contains valid index.js file.
You can change folder value for start property.

I think it's not a NPM issue, please close this issue.
Go on StackOverflow or Google something like express npm start node ./bin/www

I hope I have helped you.

@kashikhan1
Copy link
Author

i will but not working thank
u

@tecnosoftware
Copy link

help!!!!
I am trying to install angular-cli...

npm WARN retry will retry, error on last attempt: Error: EBUSY: resource busy or
locked, rename 'C:\Users\JOSECE1\AppData\Local\Temp\npm-892-22b046df\registry.
npmjs.org\request-\request-2.67.0.tgz.3223235623' -> 'C:\Users\JOSECE
1\AppData
\Local\Temp\npm-892-22b046df\registry.npmjs.org\request-\request-2.67.0.tgz'
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" "install" "-g" "angular-cli"
npm ERR! node v6.9.0
npm ERR! npm v3.10.8

@amolbhandari52
Copy link

image

I have this issue can anyone help me?

@kenany kenany added the support label Apr 25, 2017
@legodude17
Copy link
Contributor

Try updating to the latest npm.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

6 participants