question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

npm start error with Windows

See original GitHub issue

The following error is returned after trying to run npm start in the root folder of hospitalrun:

> hospitalrun@0.9.0 start Z:\Projects\hospitalrun-frontend
> ./script/server

'.' is not recognized as an internal or external command,
operable program or batch file.

npm ERR! Windows_NT 10.0.10586
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.2.6
npm ERR! npm  v2.14.12
npm ERR! code ELIFECYCLE
npm ERR! hospitalrun@0.9.0 start: `./script/server`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the hospitalrun@0.9.0 start script './script/server'.
npm ERR! This is most likely a problem with the hospitalrun package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     ./script/server
npm ERR! You can get their info via:
npm ERR!     npm owner ls hospitalrun
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     Z:\Projects\hospitalrun-frontend\npm-debug.log

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:15 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
renato04commented, Feb 21, 2016

@nerdkid93 i solved this using “ember serve” in the root folder. I dont know why but windows did not execute the start bat.

0reactions
natbityoucommented, Jan 29, 2018

FYI - I ran into this problem and I was able to solve it by editing package.json to use bash script/server (note the lack of the ./). This works running npm start using git bash on windows 10.

Read more comments on GitHub >

github_iconTop Results From Across the Web

npm start error on Windows - node.js - Stack Overflow
I am trying to compile files with webpack and npm for my reactJS applciation. When I am running:
Read more >
How to fix npm start command not working - Nathan Sebhastian
Here are some steps to fix the npm start command: ... npm start npm ERR! enoent ENOENT: no such file or directory, open...
Read more >
How to fix start script error when running npm start command
In this video we are going to learn how to fix start script error when running npm start command.Thank You For Visiting My...
Read more >
npm start not working || digital envelope routines :: unsupported
Topic coverd:- why this digital envelope routines error occurred ? Two solution to fix this error 1:- degrade the node js version 2:-...
Read more >
Common errors | npm Docs
It's most likely a temporary npm registry glitch. Check npm server status and try again later. · If the error persists, perhaps the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found