volojs / volo

Create front end projects from templates, add dependencies, and automate the resulting projects
https://volojs.github.io/
Other
1.41k stars 99 forks source link

volo create npm install not working in windows #109

Closed guybedford closed 11 years ago

guybedford commented 11 years ago

I have a package.json containing a 'dependencies' object for NodeJS. When I use volo.create on this repo, it runs the npm install quite nicely.

But if I run this on windows, it seems to attempt the npm install, giving this error:

CreateProcessW:
The system cannot find the file specified.

I assume this has something to do with finding the 'npm' bin file.

Thanks!

jrburke commented 11 years ago

Hmm, what version of node on windows? I would hope the latest 0.8.x release would work.

guybedford commented 11 years ago

This was a fresh download, so 0.8.14. I've also had someone else report this independently. Unless it is something specific to my repo, but I don't think so as it's just got volo dependencies and normal dependencies in package.json and works fine on mac.

jrburke commented 11 years ago

If you run npm install manually outside of volo, for this project, does that work? If so, if you have a link to the project template, I can give it a try. It would also be good to know the version of Windows involved too.

guybedford commented 11 years ago

Yes it works by just typing npm install after running volo with the error. I just tested it on Windows 7 as well and it also happens there.

Here is a test repo - guybedford/volo-create-test