Vincent Morneau
Vincent Morneau

Reputation: 31

foundationCLI ENOENT when creating a new project

So I want to try the new foundation for apps but I can't get past step 2 (http://foundation.zurb.com/apps/getting-started.html).

Step 1 went fine.

enter image description here

What's the issue?

Upvotes: 0

Views: 236

Answers (1)

qopa
qopa

Reputation: 111

I also got that error and I replaced following lines in foundationCLI.js and then it worked. I found this answer on the foundation forum but the post is deleted.

line 94:

 var npmInstall = ['npm.cmd', 'install'];

line 95:

 var bowerInstall = ['bower.cmd', 'install'];

line 96:

 var bundleInstall = ['bundle.bat'];

line 157:

 exec(['bower.cmd', 'update', '--production', '--ansi'], function(err, out, code) {

line 176:

 var proc = spawn('npm.cmd', cmd);

Upvotes: 2

Related Questions