Error MacOS npm start
See original GitHub issueHi, I am getting this error doing npm start in the home directory
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v4.4.7
npm ERR! npm v3.10.5
npm ERR! missing script: start
npm ERR!
npm ERR! If you need help, you may report this error at:
npm ERR! <https://github.com/npm/npm/issues>
npm ERR! Please include the following file with any support request:
npm ERR! /Users/ccontreras/Dev/NodeJS/starhackit-master/npm-debug.log
And this in server folder
> starhackit-api@2.4.0 prestart /Users/ccontreras/Dev/NodeJS/starhackit-master/server
> npm run lint
> starhackit-api@2.4.0 lint /Users/ccontreras/Dev/NodeJS/starhackit-master/server
> eslint src
ENOENT: no such file or directory, lstat '/Users/ccontreras/Dev/NodeJS/starhackit-master/server/src/**'
Error: ENOENT: no such file or directory, lstat '/Users/ccontreras/Dev/NodeJS/starhackit-master/server/src/**'
at Error (native)
at Object.fs.lstatSync (fs.js:839:18)
at Object.realpathSync (fs.js:1439:21)
at /Users/ccontreras/Dev/NodeJS/starhackit-master/server/node_modules/eslint/lib/util/glob-util.js:159:24
at Array.forEach (native)
at Object.listFilesToProcess (/Users/ccontreras/Dev/NodeJS/starhackit-master/server/node_modules/eslint/lib/util/glob-util.js:153:18)
at CLIEngine.executeOnFiles (/Users/ccontreras/Dev/NodeJS/starhackit-master/server/node_modules/eslint/lib/cli-engine.js:702:35)
at Object.execute (/Users/ccontreras/Dev/NodeJS/starhackit-master/server/node_modules/eslint/lib/cli.js:174:107)
at Object.<anonymous> (/Users/ccontreras/Dev/NodeJS/starhackit-master/server/node_modules/eslint/bin/eslint.js:76:28)
at Module._compile (module.js:409:26)
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "lint"
npm ERR! node v4.4.7
npm ERR! npm v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! starhackit-api@2.4.0 lint: `eslint src`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the starhackit-api@2.4.0 lint script 'eslint src'.
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 starhackit-api package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! eslint src
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs starhackit-api
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls starhackit-api
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/ccontreras/Dev/NodeJS/starhackit-master/server/npm-debug.log
npm ERR! Darwin 15.6.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v4.4.7
npm ERR! npm v3.10.5
npm ERR! code ELIFECYCLE
npm ERR! starhackit-api@2.4.0 prestart: `npm run lint`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the starhackit-api@2.4.0 prestart script 'npm run lint'.
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 starhackit-api package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! npm run lint
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs starhackit-api
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls starhackit-api
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/ccontreras/Dev/NodeJS/starhackit-master/server/npm-debug.log
Issue Analytics
- State:
- Created 7 years ago
- Comments:9 (4 by maintainers)
Top Results From Across the Web
NPM Start isn't working (Can't get Node working on Mac OS X ...
I'm a Rails guy, but I'm trying to learn a bit of Angular JS. I wanted to go through this tutorial, but I...
Read more >Instructions on how to fix npm if you've installed ... - GitHub Gist
This solution fixes the error caused by trying to run npm update npm -g . Once you're finished, you also won't need to...
Read more >"npm start" permission denied error: how to solve it?
So, to solve this issue all you have to do is: · Remove Node If in OSX run brew uninstall node · Delete...
Read more >How to fix EACCES errors with NPM on MacOS - WILL & SKILL
Try running npm install -g ... or npm uninstall -g ... without sudo and it should run without errors.
Read more >Common errors | npm Docs
Possible temporary npm registry glitch, or corrupted local server cache. Run npm cache clean and/or try again later. This can be caused by...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
It should work fine with npm 3
This bug bit me too a few days ago, the current workaround is to
npm install
insideserver
as well as inclient
. Thanks for the report.