-
Notifications
You must be signed in to change notification settings - Fork 12k
webpack AOT @ngtools throws error #3571
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
This is with
|
i uesed below webpack versions "webpack": "^1.13.0", will upgrading to your version work ? |
Oh. I guess it is another error then. I don't know if upgrading would help you. |
webpack 2.0 RC is unfortunately not supported at the moment. We are working with the webpack team to fix those errors, stay tuned for a christmas present. Just downgrade to the latest beta for the time being. |
this is not issue with webpack 2, it is with "webpack": "1.13.0", |
I have also ran into this problem after trying to add AoT compiling to an existing Angular 2 project. Error
Dependency versions
Is there any additional information I can get you to help? |
@prithviraju1369 Our peer dependencies are clearly indicating you need webpack 2 for this plugin. |
Having the same issue using webpack 2.2.0-rc.1
|
@hansl does wepack 2 supports aot at this moment? |
Having same problem as @jpgcode with Webpack 2.2.0-rc.3, why is this closed? |
Cause it is already fixed. See #3786. But there was no release until then. |
Thank you for your answer. Any possible date for new release :)? |
I'm getting the same issue with Webpack R.C.3. As a temporally solution I cloned the angular-cli repo and ran a local build then copied @ng-tools and pasted on my node_modules folder, that fixed the problem. But I was expecting to see a smaller size of the app.js and actually it is heavier. Is this ok? |
Having the same problem using the following versions:
|
Same thing for "webpack": "^2.2.0-rc.4" and "@ngtools/webpack": "^1.2.1". When we can expect our 'christmas present'? 👍 |
same issue. "webpack": "^2.2.0-rc.4" and "@ngtools/webpack": "^1.2.1". |
Is there anything new regarding this issue? |
Same error with with webpack 2.2.0 final, @ngtools/wepback 1.2.1. |
This issue has been automatically locked due to inactivity. Read more about our automatic conversation locking policy. This action has been performed automatically by a bot. |
While doing AOT bundle Results below error at file path
d:\xyz\angular2-lazyr\node_modules@ngtools\webpack\src\plugin.js:167
if (request.request.match(/.ts$/)) {
^
Below is AOT webpack config
The text was updated successfully, but these errors were encountered: