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

JavaScript Gulp Basics Gulp your JavaScript Workflow Using Third Party Gulp Libraries

Juliette Tworsey
seal-mask
.a{fill-rule:evenodd;}techdegree seal-36
Juliette Tworsey
Front End Web Development Techdegree Graduate 32,425 Points

App.js not showing up in JS directory

Hi,

I am following along in the Gulp Basics course on my local computer and a strange thing happens after I run gulp concat-scripts in my console: App.js shows up when I inspect the http-server (port 3000) browser, but it does not show up in my main JS folder directory.

Has anyone had this happened before? I saved and refreshed all of my files, etc....

Thanks!

1 Answer

George Matthews
George Matthews
8,029 Points
.pipe(gulp.dest("./js"));

instead of

.pipe(gulp.dest("/js"));

I had the same problem i coudln't find the app.js file as it was putting it on the root of my windows harddrive in a js folder not in my project folder in case anyone gets stuck.