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

npm run dev Error #29

Open
mydearxym opened this issue Sep 25, 2015 · 2 comments
Open

npm run dev Error #29

mydearxym opened this issue Sep 25, 2015 · 2 comments

Comments

@mydearxym
Copy link

i follow the Guide , but when i run npm run dev i get error:

 engine-seed git:(master) npm run dev

> [email protected] dev /Users/xieyiming/code/famous/engine-seed
> node ./bin/dev.js

serving /Users/xieyiming/code/famous/engine-seed/public on port 1618

module.js:340
    throw err;
          ^
Error: Cannot find module 'glsl-tokenizer/string'
    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/xieyiming/code/famous/engine-seed/node_modules/famous/node_modules/glslify/node_modules/glslify-deps/index.js:1:78)
    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 Module.require (module.js:364:17)

npm ERR! [email protected] dev: `node ./bin/dev.js`
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the [email protected] dev script.
npm ERR! This is most likely a problem with the engine-seed package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./bin/dev.js
npm ERR! You can get their info via:
npm ERR!     npm owner ls engine-seed
npm ERR! There is likely additional logging output above.
npm ERR! System Darwin 14.1.1
npm ERR! command "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev"
npm ERR! cwd /Users/xieyiming/code/famous/engine-seed
npm ERR! node -v v0.10.24
npm ERR! npm -v 1.3.21
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR!     /Users/xieyiming/code/famous/engine-seed/npm-debug.log
npm ERR! not ok code 0
@mydearxym
Copy link
Author

i have to install by my self

   "glsl-tokenizer": "~2.0.2",
   "graceful-fs": "~4.1.2",
   "map-limit": "0.0.1",
   "inherits": "~2.0.1"

and then :

engine-seed git:(master) ✗ npm run dev

> [email protected] dev /Users/xieyiming/code/famous/engine-seed
> node ./bin/dev.js

serving /Users/xieyiming/code/famous/engine-seed/public on port 1618

module.js:340
    throw err;
          ^
Error: Cannot find module 'events/'
    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/xieyiming/code/famous/engine-seed/node_modules/famous/node_modules/glslify/node_modules/glslify-deps/index.js:5:16)
    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 Module.require (module.js:364:17)

what's going on ?

@laneallen
Copy link

I just installed the engine-seed without any problems. It looks like you're running into permission issues from the errors shown, e.g. npm ERR! Exit status 8 (http://stackoverflow.com/questions/21960111/node-js-express-npm-start-error-exit-status-8#21960610) and all the npm ERR!'s.

You could either install/run with sudo or fix your npm issues so you won't have those problems anymore:
https://docs.npmjs.com/getting-started/fixing-npm-permissions

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

2 participants