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 trial

HTML Prototyping with Foundation for Apps Getting to Know Foundation for Apps Installing the Foundation for Apps CLI

Anamaria Dolea
Anamaria Dolea
13,810 Points

I need help for installing foundation for apps

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.
C:\Users\anama\AppData\Roaming\npm\bower -> C:\Users\anama\AppData\Roaming\npm\node_modules\bower\bin\bower
C:\Users\anama\AppData\Roaming\npm\foundation -> C:\Users\anama\AppData\Roaming\npm\node_modules\foundation-cli\bin\foundation.js
C:\Users\anama\AppData\Roaming\npm\gulp -> C:\Users\anama\AppData\Roaming\npm\node_modules\gulp\bin\gulp.js
C:\Users\anama\AppData\Roaming\npm
+-- bower@1.7.7
+-- foundation-cli@2.1.0
`-- gulp@3.9.1

5 Answers

Those are just warnings from npm/Node modules... Are you sure it didn't install correctly?

Note that now you have to just use the foundation command instead of foundation-apps in the latest version.

Toivo Nkandi
Toivo Nkandi
2,456 Points

I have the same problem. It does that every time i try and install the foundation app. How do i upgrade or fix this? I cant continue to watch the tutorials without having it fixed. there wouldn't be any point.

How do I get to use the foundation command?

Follow the Foundation for Apps Installation docs.

Also, make sure the following is in your PATH environment variable (if using Windows, and with the username replaced with your own):

C:\Users\username\AppData\Roaming\npm

For instructions on how to add/modify environment variables, check out this post on superuser.com:
What are PATH and other environment variables, and how can I set or use them?

Parzeval One
Parzeval One
1,920 Points

Why is this even a question? It is not mentioned in the video and not in the teachers notes. So, why is it so hard to install?

I'm getting the same error but a few more see below:

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.

Then when I run foundations I receive -bash: foundation: command not found

Abed Sujan
Abed Sujan
16,301 Points

foundation-apps command is deprecated on newer node releases, use foundation instead and follow the cli instruction to create app.

Parzeval One
Parzeval One
1,920 Points

I think this is pretty messed up that I have to leave Treehouse web page in search of a solution why my computer dont insatll correctly and that I have the same problem as many here. I am wondering why noone from Treehouse take their time to clear the problems with "graceful" out. "Foundation" or "Foundation-apps".

Now I got following error message "Error: EACCES: permission denied, open '/Users/joe.doe/.config/configstore/bower-github.json' You don't have access to this file"

I am thinking of leaving Treehouse and persue knowledge somewhere else.

The warnings about graceful-fs are more to do with using Windows as a development environment, and Foundation's decision to use it as part of their framework. It has nothing to do with the way Treehouse are doing things, except that the majority of their teachers prefer to use Macs instead of Windows PCs.

Also, I dare say the majority of web developers use either Mac OS X or Linux as their OS, so most things work better in those environments. Some courses here on Treehouse make the extra effort to explain installation steps for Windows users, but that's probably more the exception than the rule.

As for having to 'leave Treehouse' to find information, that is actually something that I'm sure they would encourage, since they often suggest viewing the official documentation for any programming language/framework/plugin or anything they use and teach here. And any good developer would use information from multiple sources. That in itself is a skill that is very important to learning.