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

[Installation] Install Command-Line Tool doesn't work for me #7507

Closed
TomSwan opened this issue Dec 11, 2015 · 2 comments
Closed

[Installation] Install Command-Line Tool doesn't work for me #7507

TomSwan opened this issue Dec 11, 2015 · 2 comments

Comments

@TomSwan
Copy link

TomSwan commented Dec 11, 2015

How can we reproduce this bug?

  1. Install npm (success)
  2. Follow steps under "Command-Line Tool" in http://foundation.zurb.com/sites/docs/installation.html (success with a warning, see below)
  3. Foundation new fails to operate

What did you expect to happen?

Foundation.js and the link to it seem correct.

What happened instead?

$ foundation new
/usr/bin/env: node: No such file or directory

Test case

Here are some of the lines from the install:

$ sudo npm install --global foundation-cli
npm http GET https://registry.npmjs.org/foundation-cli
npm http 304 https://registry.npmjs.org/foundation-cli
npm WARN engine foundation-cli@2.0.1: wanted: {"node":">=0.10.33"} (current: {"node":"v0.10.25","npm":"1.3.10"})
...
/usr/local/bin/foundation -> /usr/local/lib/node_modules/foundation-cli/bin/foundation.js
...
$ foundation new
/usr/bin/env: node: No such file or directory

@gakimball
Copy link
Contributor

Looks to be an issue with your Node install; the node command is not in your shell's $PATH.

You'll need to find the folder that Node was installed in, and then create an alias command called node that points to that folder. Here's a GitHub comment answering the exact issue you're having.

@TomSwan
Copy link
Author

TomSwan commented Dec 14, 2015

Thanks. This is what I did to get foundation working:
ln -s /usr/bin/nodejs /usr/local/bin/node

On December 14, 2015 at 12:00 PM Geoff Kimball notifications@github.com
wrote:

Looks to be an issue with your Node install; the node command is not in your
shell's $PATH.

You'll need to find the folder that Node was installed in, and then create an
alias command called node that points to that folder. Here's a GitHub comment
answering the exact issue you're having.


Reply to this email directly or view it on GitHub.

http://www.tomswan.com

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