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 trialMads Andersen
8,401 PointsNo http module
I don't have a http module inside my @angular folder in the node modules, so I naturally cannot import it. How do I get one?
1 Answer
Tom Couillard
19,866 PointsHey Mads, in your terminal at the project root enter:
npm install @angular/http@2.4.2 --save
as Andrew instructed in the previous video and you should be all set. I ran into this issue when I neglected to specify version to npm. Refresh your fs in VScode and you should see it under ./node_modules/@angular/http .
Let me know if you are still running into issues!
Happy coding,
Thomas
Marshall Bradley
13,552 PointsMarshall Bradley
13,552 Pointshey I need help still. In the console in the browser its showing there is no provider for Http. I tried to download npm install angular and it showed 6 low, 3 high and 1 critical vulnerabilities. PLEASE HELP!