Open loganthomison opened 6 years ago
Hello,
does npm start
and npm run build:pwa
work?
Hi,
Both work and ionic cordova build android --minifyjs --minifycss --optimizejs works but ionic cordova build android --aot --minifyjs --minifycss --optimizejs fails.
maybe you are using an ionic
CLI version not compatible with this project.
Try to use the local version of Ionic CLI instead ./node_modules/.bin/ionic <yourCommand>
I have a clean node install with nvm. Here is what ./node_modules/.bin/ionic info produces.
cli packages:
@ionic/cli-utils : 1.19.0
ionic (Ionic CLI) : 3.19.0
global packages:
cordova (Cordova CLI) : 6.5.0
local packages: @ionic/app-scripts : 3.1.2 Cordova Platforms : ios 4.4.0 Ionic Framework : ionic-angular 3.8.0
System: Node : v8.9.3 npm : 2.15.12 OS : macOS High Sierra Xcode : Xcode 9.2 Build version 9C40b
Environment Variables: ANDROID_HOME : not set
Misc: backend : pro
Doing ionic cordova build ios --prod results in the following errors.
Error: ./config/components/actor-list/actor-list.ts Module build failed: Error: ENOENT: no such file or directory, open '/Users/lthomison/Development/hybrid-alpha/config/components/actor-list/actor-list.js'
@ ./config/components/actor-list/actor-list.ngfactory.ts 16:0-35 @ ./src/app/app.module.ngfactory.ts @ ./src/app/main.ts,./config/components/index.ts Module build failed: Error: ENOENT: no such file or directory, open '/Users/lthomison/Development/hybrid-alpha/config/components/index.js'