Please provide us with the following information:
- OS? Windows 7, 8 or 10. Linux (which distribution). Mac OSX (Yosemite? El Capitan?)
Windows 10- Versions. Please run
ng --version. If there's nothing outputted, please run
in a Terminal:node --versionand paste the result here:
angular-cli: local (v1.0.0-beta.10, branch: master)
node: 6.2.2
os: win32 x64
(webpack branch)- Repro steps. Was this an app that wasn't created using the CLI? What change did you
do on your code? etc.
1. I'm not seeing a Typings folder anymore? How is AngularJS comes now with intellisesnse, because I see that it has intellisense?
2. What about third party libraries with Typings? How to do that then?
3. What does the @ before a package mean? Has this something to do with it or importing?- The log given by the failure. Normally this include a stack trace and some
more information.- Mention any other details that might be useful.
Thanks! We'll be in touch soon.
look in your package.json file.
"@types/jasmine": "^2.2.30",
"@types/protractor": "^1.5.16",
To add new typings using npm as the manager.
For example to install moment typings
npm install --save-dev @types/moment
The @ in front of a package name is an npm thing. (You will notice that all angular packages are located under the @angular folder)
@deebloo ok thanks.
Q: At the imports of Angular I'm seeing @ in front, what does that mean?
@masaanli https://docs.npmjs.com/misc/scope
@alexeagle So if you install Lodash you're installing it normal or also as a @?
@masaanli You must install Lodash without @
npm install --save lodash
@masaanli it doesn't have anything to do with angular or the cli. it is a way of having scoped npm packages. (so it is up to the package publisher)
@masaanli It would be good if you ask such queries on https://gitter.im/angular/angular-cli and keep github issue tracker for actual issues
We've recently updated the readme to reflect the new third party lib journey in the webpack branch: https://github.com/angular/angular-cli#3rd-party-library-installation
That, together with the excellent replies so far in this thread, seem to answer your questions so I am closing the issue.
@filipesilva new link is here: https://github.com/angular/angular-cli/wiki/stories-third-party-lib
This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.
Read more about our automatic conversation locking policy.
_This action has been performed automatically by a bot._
Most helpful comment
@masaanli https://docs.npmjs.com/misc/scope