Menu icon Foundation
Can't install foundation anymore

I'm tryng to start anew project for a while and I just can't anymore. I have other projects working on my computer with f5 and f6, but whenever I try to start a new one, I aways get some sort of error. I don't know what to do anymore.

I just installed with foundation cli and got the following error running foundation watch:

env: node\r: No such file or directory
Error: [email protected] start: `gulp`
spawn ENOENT
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/foundation-cli/node_modules/npm/lib/utils/spawn.js:17:16)
    at ChildProcess.emit (events.js:110:17)
    at maybeClose (child_process.js:1015:16)
    at Process.ChildProcess._handle.onexit (child_process.js:1087:5)

I tried manual installation as well, and got the same error.

foundation 6

I'm tryng to start anew project for a while and I just can't anymore. I have other projects working on my computer with f5 and f6, but whenever I try to start a new one, I aways get some sort of error. I don't know what to do anymore.

I just installed with foundation cli and got the following error running foundation watch:

env: node\r: No such file or directory
Error: [email protected] start: `gulp`
spawn ENOENT
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/foundation-cli/node_modules/npm/lib/utils/spawn.js:17:16)
    at ChildProcess.emit (events.js:110:17)
    at maybeClose (child_process.js:1015:16)
    at Process.ChildProcess._handle.onexit (child_process.js:1087:5)

I tried manual installation as well, and got the same error.

Brian Tan over 3 years ago

Looks like you're missing gulp. Try:

$ sudo npm install -g gulp

Patrice about 2 years ago

Hi,

I am having the exact same problem and I do have gulp installed.

Here exactly what I have done :

  • downloaded & installed NodeJS (both LTS and current version) for MacOS X
  • sudo npm install --global foundation-cli
  • foundation new --framework emails
  • cd Test
  • foundation watch
> [email protected] start /Users/patrice/Documents/foundation/Test
> gulp

env: node\r: No such file or directory
Error: [email protected] start: `gulp`
spawn ENOENT
    at ChildProcess.<anonymous> (/usr/local/lib/node_modules/foundation-cli/node_modules/npm/lib/utils/spawn.js:17:16)
    at emitTwo (events.js:125:13)
    at ChildProcess.emit (events.js:213:7)
    at maybeClose (internal/child_process.js:927:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:211:5)

 

My setup is :

  • MacOS 10.12.6
  • node v8.6.0
  • npm 5.3.0
  • gulp CLI 3.9.1
  • foundation CLI 2.2.5

 

Please help !