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

Max Weir
Max Weir
14,963 Points

Error installing app

This is my first time using this app and got an error after following the installation steps. All seemed to install fine but after 'npm start' I get this:

[22:50:33] 'uglify:foundation' errored after 1.31 s [22:50:33] Error: Cannot find module 'readable-stream' at Function.Module._resolveFilename (module.js:336:15) at Function.Module._load (module.js:278:25) at Module.require (module.js:365:17) at require (module.js:384:17) at Object. (C:\Users\Weir\Documents\Project Hub\treehouse\foundation\foundation_app\myApp\node_modules\gu lp-if\node_modules\ternary-stream\node_modules\duplexer2\index.js:1:76) at Module._compile (module.js:460:26) at Object.Module._extensions..js (module.js:478:10) at Module.load (module.js:355:32) at Function.Module._load (module.js:310:12) at Module.require (module.js:365:17) at require (module.js:384:17) [22:50:33] 'build' errored after 31 s [22:50:33] Error in plugin 'run-sequence' Message: An error occured in task 'uglify:foundation'. [22:50:33] Finished 'copy' after 31 s [22:50:35] Finished 'sass' after 19 s

npm ERR! Windows_NT 6.3.9600 npm ERR! argv "C:\projects\Development\NodeJS\node.exe" "C:\projects\Development\NodeJS\node_modules\npm\bin \npm-cli.js" "start" npm ERR! node v0.12.0 npm ERR! npm v2.5.1 npm ERR! code ELIFECYCLE npm ERR! foundation-apps-template@1.1.0 start: gulp npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the foundation-apps-template@1.1.0 start script 'gulp'. npm ERR! This is most likely a problem with the foundation-apps-template package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! gulp npm ERR! You can get their info via: npm ERR! npm owner ls foundation-apps-template npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\Weir\Documents\Project Hub\treehouse\foundation\foundation_app\myApp\npm-debug.log C:\Users\Weir\Documents\Project Hub\treehouse\foundation\foundation_app\myApp>