I started a new app from Tutorial. Initially it built for iOS without problems and run on the emulator.
About two hours later (today) the build process started breaking with following message:
[13:00:56] ionic-app-scripts 0.0.45
[13:00:56] build prod started …
[13:00:56] clean started …
[13:00:56] clean finished in 1 ms
[13:00:56] copy started …
[13:00:56] ngc started …
[13:00:56] copy finished in 77 ms
[13:01:04] Error: Error at /Users/emanahov/Documents/projects/ionic/first_app/.tmp/pages/list/list.ngfactory.ts:522:29
[13:01:04] Supplied parameters do not match any signature of call target.
[13:01:04] ngc failed
[13:01:04] ionic-app-script task: “build”
[13:01:04] Error: Error
npm ERR! Darwin 16.1.0
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “run” “ionic:build” "–"
npm ERR! node v7.0.0
npm ERR! npm v4.0.2
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! /Users/emanahov/Documents/projects/ionic/first_app/npm-debug.log
I tried re-installing ionic, cordova but it didn’t solve the problem.
Any help?
Thanks
me too i have the same error
ionic@ ionic:build /Users/Jull/Documents/Projects/Smart Kinder Management
ionic-app-scripts build
[00:09:08] ionic-app-scripts 0.0.43
[00:09:08] build prod started …
[00:09:08] clean started …
[00:09:08] clean finished in 4 ms
[00:09:08] copy started …
[00:09:08] ngc started …
[00:09:08] copy finished in 74 ms
[00:09:17] Error: Error at /Users/Jull/Documents/Projects/Smart Kinder
Management/.tmp/pages/login/login.ngfactory.ts:79:31
[00:09:17] Supplied parameters do not match any signature of call target.
[00:09:17] Error at /Users/Jull/Documents/Projects/Smart Kinder Management/.tmp/pages/login/login.ngfactory.ts:616:57
[00:09:17] Property ‘username’ does not exist on type ‘{ [key
[00:09:17] string]: AbstractControl; }’.
[00:09:17] Error at /Users/Jull/Documents/Projects/Smart Kinder Management/.tmp/pages/login/login.ngfactory.ts:651:57
[00:09:17] Property ‘password’ does not exist on type ‘{ [key
[00:09:17] string]: AbstractControl; }’.
[00:09:17] Error at /Users/Jull/Documents/Projects/Smart Kinder Management/.tmp/pages/login/login.ngfactory.ts:656:63
[00:09:17] Property ‘username’ does not exist on type ‘{ [key
[00:09:17] string]: AbstractControl; }’.
[00:09:17] Error at /Users/Jull/Documents/Projects/Smart Kinder Management/.tmp/pages/login/login.ngfactory.ts:656:111
[00:09:17] Property ‘password’ does not exist on type ‘{ [key
[00:09:17] string]: AbstractControl; }’.
[00:09:17] ngc failed
[00:09:17] ionic-app-script task: “build”
[00:09:17] Error: Error
npm ERR! Darwin 16.1.0
npm ERR! argv “/usr/local/bin/node” “/usr/local/bin/npm” “run” “ionic:build” “–”
npm ERR! node v6.9.1
npm ERR! npm v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! ionic@ ionic:build: ionic-app-scripts build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the ionic@ 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 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
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls ionic
npm ERR! There is likely additional logging output above.
npm ERR! Please include the following file with any support request:
npm ERR! /Users/Jull/Documents/Projects/Smart Kinder Management/npm-debug.log