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 Angular Basics Setting Up an Angular Application Your First Angular Application

Mads Andersen
Mads Andersen
8,401 Points

Poor installation

I have downloaded the starter project, installed node and npm, downloaded and sintalled the visual studio code editor, installed typescript. Which is all I needed to do according to the video, but Andrew simply jumps ahead without telling how to get to where he is, which is very confusing. This makes the whole tutorial useless as I cant go any further without the currect setup. Please explain bit by bit instead of assuming it is easy to install.

After all the above mentioned installations, open the folder in your editor so you can see the files he's talking about. Open command prompt and go to the correct folder (cd filelocation/filefolder). see if you have webpack installed. I didn't have the wwwroot folder showing up at first, (he's talking about it 2:29). And when I tried to run npm install, I got this error in my console(I pasted in only a small part): npm ERR! photoblog@ build: webpack npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the photoblog@ build script 'webpack'.

I used npm install webpack --save-dev (not sure if you can install it globally, but it worked for me this way just fine). Then I run npm install. and after that npm run serve (video 4:26). It sorted out the setup part.

hope it clears up.