10 Sites to Help You Become an Expert in cannot find module ‘@angular/http’
I am not sure if I’m going to continue here. Maybe I should go back and read the full post.
I wish I could explain why I keep repeating these examples, but alas, I will try to keep them here for now.
I’m going to have to say I’ve always heard that module ‘@angular/ is something that should be added to the angular-cli, so that you can use it to build your angular project with ease. But I don’t think that’s actually true.
I think its something that you should just add into your angular-cli.json. You can add module angular to your angular-cli.
If you do this, you will be able to build your angular apps with ease, because all you need to do is import the module angular from your angular-cli.json, and then use it to build your angular app. It is a small step, but it can be a big step for many people.
This is what I have been doing. I have been using this to build my angular app because I hate to mess with my project.
The angular-cli is just a package that is loaded for you automatically into your project. It’s also a very simple package that you can build with npm by simply adding it to your package.json and running npm build. But it’s still a package that can get complicated, because it includes a lot of other packages that are supposed to be installed by npm, so you have to use the CLI to install them in the first place.
The error I get is “Module not found: Error: Can’t resolve ‘@angular/ in ‘C:\Users\sjones\AppData\Roaming\npm\node_modules\@angular\platform-browser-dynamic\src\platforms\webpack.js'”.
The angular-cli project is one of those places that can get pretty confusing at times. For instance, the angular-cli project uses a lot of packages that you may not need. There is also the angular-cli-dynamic-resolver, which is supposed to help you install Angular dependencies that are not in your package.json. The angular-cli-dynamic-resolver is a very useful tool, because it allows you to use your package.json directly.