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 install after running generator fails on windows #23

Open
VirtueMe opened this issue Nov 14, 2013 · 0 comments
Open

Npm install after running generator fails on windows #23

VirtueMe opened this issue Nov 14, 2013 · 0 comments

Comments

@VirtueMe
Copy link

After running yo aura I executed the command npm install and got the nice error message.

> phantomjs@1.8.2-2 install C:\GitHub\test\auratest\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modul
es\phantomjs
> node install.js


module.js:340
    throw err;
          ^
Error: Cannot find module 'buffers'
    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> (C:\GitHub\test\auratest\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_module
s\phantomjs\node_modules\unzip\node_modules\binary\index.js:3:15)
    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! weird error 8
npm ERR! not ok code 0

Running npm install grunt-mocha executed fine, but several attempts on running npm install displayed the error message ignoring the already installed grunt-mocha

Changing package.json to require grunt-mocha ~0.4.1 fixes this issue.

Otherwise nice job, guys, even if I selected to use bootstrap and when I run grunt build it complains that I don't have compass installed. Luckily I have the ruby environment on my machine so running gem install compass was not the hardest thing to do.

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