Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trouble with NPM scripts #629

Closed
stevekinney opened this issue May 14, 2014 · 1 comment
Closed

Trouble with NPM scripts #629

stevekinney opened this issue May 14, 2014 · 1 comment

Comments

@stevekinney
Copy link

I seem to be getting an error whenever I run npm start or npm run build.

If I type grunt server or grunt build:dist, there is no issue.

module.js:340
    throw err;
          ^
Error: Cannot find module 'findup-sync'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:280:25)
    at Module.require (module.js:364:17)
    at require (module.js:380:17)
    at Object.<anonymous> (/Users/skinney/Projects/wage-rates/node_modules/.bin/grunt:8:14)
    at Module._compile (module.js:456:26)
    at Object.Module._extensions..js (module.js:474:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:312:12)
    at Function.Module.runMain (module.js:497:10)

npm ERR! wage-rates@0.0.0 start: `grunt server`
npm ERR! Exit status 8
npm ERR! 
npm ERR! Failed at the wage-rates@0.0.0 start script.
npm ERR! This is most likely a problem with the wage-rates package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     grunt server
npm ERR! You can get their info via:
npm ERR!     npm owner ls wage-rates
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 13.1.0
npm ERR! command "node" "/usr/local/bin/npm" "start"
npm ERR! cwd /Users/skinney/Projects/wage-rates
npm ERR! node -v v0.10.28
npm ERR! npm -v 1.4.9
npm ERR! code ELIFECYCLE
npm ERR! 
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/skinney/Projects/wage-rates/npm-debug.log
npm ERR! not ok code 0
@stevekinney
Copy link
Author

Seems to have a been a problem with my setup. It worked fine on another computer.

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

No branches or pull requests

1 participant