ionic-framework: ionic-app-scripts build fails due to AOT
Short description of the problem:
Running ionic-app-scripts build fails with:
[21:56:53] Error: Cannot determine the module for class ClickBlock in
/Users/rolandjitsu/Projects/infarm/operator/node_modules/ionic-angular/util/click-block.d.ts!
[21:56:53] Cannot determine the module for class TranslatePipe in
/Users/rolandjitsu/Projects/infarm/operator/node_modules/ionic-angular/translation/translate_pipe.d.ts!
[21:56:53] ngc failed
[21:56:53] ionic-app-script task: "build"
[21:56:53] Error: Error
What behavior are you expecting?
It should build without errors.
Steps to reproduce:
- Run
ionic-app-scripts build
Other information: (e.g. stacktraces, related issues, suggestions how to fix, stackoverflow links, forum links, etc)
Note that I am using "@angular/compiler-cli": "^2.1.2".
Which Ionic Version? 1.x or 2.x Ionic 2 RC.1
Your system information:
Cordova CLI: Not installed Ionic Framework Version: 2.0.0-rc.1 Ionic CLI Version: 2.1.0 Ionic App Lib Version: 2.1.0-beta.1 ios-deploy version: Not installed ios-sim version: Not installed OS: Mac OS X El Capitan Node Version: v6.7.0 Xcode version: Xcode 8.1 Build version 8B62
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Reactions: 1
- Comments: 25 (6 by maintainers)
still not working
Same problem:
@angular 2.2.3
Any help
+1 on Windows 10 x64 Node 6.2.0
I attempted to update the @angular packages from 2.1.1 to 2.2.1 (as is the version now being used in the main ionic package)
Hey guys, Are there any updates on this issue? I am also having problems on Travis with the following: “Cannot determine the module for class ClickBlock in …/node_modules/ionic-angular/util/click-block.d.ts!”
Works fine on the local machine, but fails on travis. Any ideas ro updates?