Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialJesse Williams
3,949 PointsCant install Foundation after installing Git, Node, & Ruby
I'm currently having problems getting the CLI for foundations up and running. I've done a global install of Git, Node and Ruby - when I run the command
sudo npm install -g foundation-cli bower gulp
I get >>>
npm WARN deprecated graceful-fs@3.0.8: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
npm WARN deprecated lodash@1.0.2: lodash@<3.0.0 is no longer maintained. Upgrade to lodash@^4.0.0.
npm WARN deprecated graceful-fs@1.2.3: graceful-fs version 3 and before will fail on newer node releases. Please update to graceful-fs@^4.0.0 as soon as possible.
/Users/jessewilliams/.npm-packages/bin/gulp -> /Users/jessewilliams/.npm-packages/lib/node_modules/gulp/bin/gulp.js
/Users/jessewilliams/.npm-packages/bin/foundation -> /Users/jessewilliams/.npm-packages/lib/node_modules/foundation-cli/bin/foundation.js
/Users/jessewilliams/.npm-packages/bin/bower -> /Users/jessewilliams/.npm-packages/lib/node_modules/bower/bin/bower
gulp@3.9.1 /Users/jessewilliams/.npm-packages/lib/node_modules/gulp
├── interpret@1.0.0
├── pretty-hrtime@1.0.2
├── deprecated@0.0.1
├── archy@1.0.0
├── minimist@1.2.0
├── semver@4.3.6
├── tildify@1.1.2 (os-homedir@1.0.1)
├── v8flags@2.0.11 (user-home@1.1.1)
├── chalk@1.1.1 (escape-string-regexp@1.0.5, supports-color@2.0.0, has-ansi@2.0.0, strip-ansi@3.0.1, ansi-styles@2.2.0)
├── orchestrator@0.3.7 (stream-consume@0.1.0, sequencify@0.0.7, end-of-stream@0.1.5)
├── liftoff@2.2.0 (extend@2.0.1, rechoir@0.6.2, flagged-respawn@0.3.2, findup-sync@0.3.0, resolve@1.1.7)
├── vinyl-fs@0.3.14 (graceful-fs@3.0.8, strip-bom@1.0.0, vinyl@0.4.6, defaults@1.0.3, mkdirp@0.5.1, through2@0.6.5, glob-stream@3.1.18, glob-watcher@0.0.6)
└── gulp-util@3.0.7 (array-differ@1.0.0, array-uniq@1.0.2, lodash._reescape@3.0.0, beeper@1.1.0, lodash._reevaluate@3.0.0, lodash._reinterpolate@3.0.0, object-assign@3.0.0, replace-ext@0.0.1, has-gulplog@0.1.0, fancy-log@1.2.0, vinyl@0.5.3, gulplog@1.0.0, lodash.template@3.6.2, through2@2.0.1, multipipe@0.1.2, dateformat@1.0.12)
foundation-cli@2.1.0 /Users/jessewilliams/.npm-packages/lib/node_modules/foundation-cli
├── is-root@1.0.0
├── async@0.9.2
├── colors@1.1.2
├── semver@4.3.6
├── nopt@3.0.6 (abbrev@1.0.7)
├── string-length@1.0.1 (strip-ansi@3.0.1)
├── multiline@1.0.2 (strip-indent@1.0.1)
├── which@1.2.4 (isexe@1.1.2, is-absolute@0.1.7)
├── paint-by-number@1.0.0 (chalk@1.1.1)
├── rimraf@2.5.2 (glob@7.0.3)
├── update-notifier@0.2.2 (is-npm@1.0.0, semver-diff@2.1.0, chalk@0.5.1, latest-version@1.0.1, configstore@0.3.2)
├── inquirer@0.8.5 (ansi-regex@1.1.1, figures@1.4.0, through@2.3.8, cli-width@1.1.1, readline2@0.1.1, chalk@1.1.1, lodash@3.10.1, rx@2.5.3)
└── npm@2.15.1
bower@1.7.7 /Users/jessewilliams/.npm-packages/lib/node_modules/bower
This looks like it was successful but then when I try and use the foundation
command I'm told that the foundation command is not found.
***I'm on a mac.
1 Answer
Kevin Korte
28,149 PointsAny headway on this?
Jesse Williams
3,949 PointsJesse Williams
3,949 PointsNo unfortunately I'm still stuck - any tips?
Kevin Korte
28,149 PointsKevin Korte
28,149 PointsDid you already have Foundation 5 installed before this?
Jesse Williams
3,949 PointsJesse Williams
3,949 PointsNo this is the first time I've ever tried to work with it.
Kevin Korte
28,149 PointsKevin Korte
28,149 Pointswhen you do
foundation new
do you still get the command can not be found?Jesse Williams
3,949 PointsJesse Williams
3,949 PointsLast login: Tue Mar 22 21:37:10 on ttys000 Jesses-MacBook-Pro:~ jessewilliams$ foindation new -bash: foindation: command not found Jesses-MacBook-Pro:~ jessewilliams$