webpack-aot | Allow to compile your project in aot mode with webpack | Frontend Framework library
kandi X-RAY | webpack-aot Summary
kandi X-RAY | webpack-aot Summary
Simple project that allow to use webpack aot with lazy loading. Read the post at:
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of webpack-aot
webpack-aot Key Features
webpack-aot Examples and Code Snippets
Community Discussions
Trending Discussions on webpack-aot
QUESTION
I searched here, Angular 2, @ngtools/webpack, AOT, but does not worked for me.
I ran the npm install
command.
What i'm doing is that i'm creating a new Angular 2 project. and while I run ng serve --open
then I got the below error.
could not find local "typescript" package.The "@ngtools/webpack" package requires a local "typescript@^2.0.2" package to be installed.Error: Cannot find module 'typescript'
Any help will be highly appreciated.
Below is the stacktrace:
...ANSWER
Answered 2017-Dec-12 at 11:29For the sake of not having answers in the comments section, here the error is self explanatory:
The "@ngtools/webpack" package requires a local "typescript@^2.0.2" package to be installed
So webpack needs typescript and you just have to install it.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install webpack-aot
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page