Hello everyone! I’m trying to build my project, but all I get is this output… And I declared the SettingsPage component on app.module (declarations and entryComponents).
[11:27:45] ionic-app-scripts 0.0.45
[11:27:45] build prod started …
[11:27:45] clean started …
[11:27:45] clean finished in 9 ms
[11:27:45] copy started …
[11:27:45] ngc started …
[11:27:46] copy finished in 212 ms
[11:27:58] Error: Cannot determine the module for component SettingsPage!
[11:27:58] ngc failed
[11:27:58] ionic-app-script task: “build”
[11:27:58] Error: Error
npm ERR! Linux 3.16.0-38-generic
npm ERR! argv “/usr/bin/nodejs” “/usr/bin/npm” “run” “ionic:build” "–"
npm ERR! node v7.1.0
npm ERR! npm v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! ionic-hello-world@ ionic:build: ionic-app-scripts build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ionic-hello-world@ ionic:build script ‘ionic-app-scripts build’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the ionic-hello-world package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! ionic-app-scripts build
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs ionic-hello-world
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls ionic-hello-world
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /home/giuan/Desktop/myApp/npm-debug.log
And I don’t understand, sense when I try to build with ‘cordova build android --release’ or run ‘ionic serve’ it goes alright with no errors. I used to build with cordova, but i need the ionic-app-scripts now for performance reasons, and I’m getting this.
my ionic info:
Cordova CLI: 6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.8
Ionic App Lib Version: 2.1.4
Ionic App Scripts Version: 0.0.46
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Linux 3.16
Node Version: v7.1.0
Xcode version: Not installed