Closed biesbjerg closed 7 years ago
Hmm... Removing node_modules and doing a fresh npm install
made it work.
Still says > ionic-app-scripts serve "[object Object]"
on startup though, but ionic serve
seems to work.
After updating to app-scripts 0.0.42 I also have build failed with ionic-serve, in my case: build dev failed: Cannot find module '../util/Logger'
NOT fixed in my case by removing node_modules and doing a fresh npm install.
ionic-app-scripts serve "[object Object]"
[22:29:11] ionic-app-scripts 0.0.42 [22:29:12] watch started ... [22:29:12] build dev started ... [22:29:12] clean started ... [22:29:12] clean finished in 22 ms [22:29:12] copy started ... [22:29:12] transpile started ... [22:29:19] transpile finished in 6.71 s [22:29:19] webpack started ... [22:29:19] build dev failed: Cannot find module '../util/Logger' [22:29:19] copy finished in 7.05 s [22:29:19] watch ready in 7.17 s [22:29:19] dev server running: http://localhost:8100/
ionic info
Your system information:
Cordova CLI: 6.3.1 Ionic Framework Version: 2.0.0-rc.2 Ionic CLI Version: 2.1.7 Ionic App Lib Version: 2.1.4 Ionic App Scripts Version: 0.0.42 ios-deploy version: Not installed ios-sim version: Not installed OS: Linux 3.8 Node Version: v6.8.0 Xcode version: Not installed
Hey @biesbjerg and @devnigelwheeler ! Thanks for posting an issue! Could you all post a repo that we can use to reproduce this issue?
@devnigelwheeler: Your issue is caused by https://github.com/driftyco/ionic-app-scripts/issues/326 since you're on Linux (I'm on MacOS)
@biesbjerg,
Are you able to recreate or was it just a one-time thing after you did the fresh npm install
?
Thanks, Dan
@danbucholtz Build works after fresh npm install
.
The output ionic-app-scripts serve "[object Object]"
looks weird, but does not affect the build process.
It affects the build.
"ionic serve --browser chrome" doesn't get passed to ionic-app-scripts.
This will go out today as part of 0.0.43
. I'll close the issue when it does. The weird [Object object]
thing will get fixed in a subsequent release as it's something in the CLI project.
Thanks, Dan
This is resolved. Please install npm install @ionic/app-scripts@latest
.
Thanks, Dan
Happens on 0.0.43
There is an issue for this error at https://github.com/driftyco/ionic-app-scripts/issues/361
@danbucholtz
Happens on 0.0.45 as well. I get ionic-app-scripts serve
[12:29:41] ionic-app-scripts 0.0.45 [12:29:41] watch started ... [12:29:41] build dev started ... [12:29:41] clean started ... [12:29:41] clean finished in 3 ms [12:29:41] copy started ... [12:29:41] transpile started ... [12:29:44] build dev failed: Cannot read property 'indexOf' of undefined [12:29:44] copy finished in 3.15 s [12:29:44] watch ready in 3.16 s [12:29:44] dev server running: http://localhost:8100/
I have
Your system information:
Cordova CLI: 6.4.0 Ionic Framework Version: 2.0.0-rc.2 Ionic CLI Version: 2.1.12 Ionic App Lib Version: 2.1.7 Ionic App Scripts Version: 0.0.45 ios-deploy version: 1.9.0 ios-sim version: 5.0.11 OS: macOS Sierra Node Version: v6.9.1 Xcode version: Xcode 8.1 Build version 8B62
I have same issue as @ix-xerri
[12:20:44] ionic-app-scripts 0.0.45 [12:20:44] watch started ... [12:20:44] build dev started ... [12:20:44] clean started ... [12:20:44] clean finished in 10 ms [12:20:44] copy started ... [12:20:44] transpile started ... [12:20:53] build dev failed: Cannot read property 'indexOf' of undefined [12:20:54] copy: Error copying "/Users/hughred22/nodeapp/probook/Ionic2/Mybuild/firebaseDigitalWorkBook-rc2/src/manifest.json" to "/Users/hughred22/nodeapp/probook/Ionic2/Mybuild/firebaseDigitalWorkBook-rc2/www/manifest.json": File not found [12:20:54] copy finished in 9.45 s [12:20:54] watch ready in 9.49 s [12:20:54] dev server running: http://localhost:8100/
Your system information:
Cordova CLI: 6.3.1 Ionic Framework Version: 2.0.0-rc.2 Ionic CLI Version: 2.1.12 Ionic App Lib Version: 2.1.7 Ionic App Scripts Version: 0.0.45 ios-deploy version: 1.8.6 ios-sim version: 5.0.8 OS: macOS Sierra Node Version: v4.4.6 Xcode version: Xcode 7.3.1 Build version 7D1014
Just to share some insight. Look like this error is triggered b/c I have angularFire2 beta 0.6 installed. If I go back to angularFire2 beta 0.5, the error goes away. But I need angularFire2 beta 0.6 as there is major bug fixes in that version. I believe I have 0.6 before App Script update (from 0.0.36 to 0.0.45). No idea what is going wrong.
@ix-xerri, @hughred22,
What is the issue that you're seeing? Are you able to run ionic serve
and see your app? Can you install the latest cli and try again? npm install -g ionic
.
Please let me know how it goes and if there is an issue here.
Thanks, Dan
ionic serve with blank page as the error mess up something.
@danbucholtz Sorry, just update to RC3 and angularFire beta 0.6, and the problem go away.
I updated ionic to RC3 and still get this error when doing ionic serve.
[04:47:01] ionic-app-scripts 0.0.44 [04:47:01] watch started ... [04:47:01] build dev started ... [04:47:01] clean started ... [04:47:01] clean finished in 4 ms [04:47:01] copy started ... [04:47:01] transpile started ... [04:47:06] build dev failed: Cannot read property 'indexOf' of undefined [04:47:06] copy finished in 5.09 s [04:47:06] watch ready in 5.11 s [04:47:06] dev server running: http://localhost:8100/
This is my ionic info
Cordova CLI: 6.4.0 Ionic Framework Version: 2.0.0-rc.3 Ionic CLI Version: 2.1.12 Ionic App Lib Version: 2.1.7 Ionic App Scripts Version: 0.0.44 ios-deploy version: 1.9.0 ios-sim version: 5.0.11 OS: macOS Sierra Node Version: v6.9.1 Xcode version: Xcode 8.1 Build version 8B62
@ix-xerri,
Have you customized the build at all? Is there anything unique about your set-up? I cannot recreate that.
Thanks, Dan
No. I've setup pages and providers for the tabs template in ionic. But the build system has not been changed.
This is the line that breaks everything inside module : AngularFireModule.initializeApp(firebaseConfig)
If I console.log AngularFireModule all I get is:
function AngularFireModule() { }
i am having the same issue here
Same happening here, although I don't have AngularFire. I haven't modified the build in any form either.
Your system information:
Cordova CLI: You have been opted out of telemetry. To change this, run: cordova telemetry on.
6.4.0
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.0-beta.3
Ionic App Lib Version: 2.1.0-beta.1
OS: Distributor ID: Ubuntu Description: Ubuntu 14.04.3 LTS
Node Version: v7.1.0
I just tried using the firebase library alone and it works. Can write to a database no problem and there are no errors.
I started seeing "build dev failed: Cannot read property 'indexOf' of undefined" after I ran these lines:
npm install typings --global typings install debug --save typings install dt~cordova --save --global typings install dt~es6-shim --save --global
Before that I only had this error and ionic serve loaded just fine:
Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8100/build/main.css
@thomastthai,
We don't recommend using typings
. You can use npm @types
, which is what we support.
Thanks, Dan
@vswarte,
What issue are you seeing? Can you see if you see the same issue with Node 6? We test on Node 4.x LTS and Node 6.x LTS.
Thanks, Dan
$ ionic info
Your system information:
ordova CLI: 6.4.0 Ionic Framework Version: 2.0.0-rc.3 Ionic CLI Version: 2.1.12 Ionic App Lib Version: 2.1.7 Ionic App Scripts Version: 0.0.44 ios-deploy version: Not installed ios-sim version: Not installed OS: Windows 10 Node Version: v6.9.1 Xcode version: Not installed
Here are the errors from Chrome console:
http://localhost:8100/build/main.css Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8100/build/main.js Failed to load resource: the server responded with a status of 404 (Not Found) http://0.0.0.0:35729/livereload.js?snipver=1 Failed to load resource: net::ERR_ADDRESS_INVALID http://localhost:8100/build/main.js Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8100/build/main.css Failed to load resource: the server responded with a status of 404 (Not Found) util.js:210 Google Maps API warning: NoApiKeys https://developers.google.com/maps/documentation/javascript/error-messages#no-api-keysRA.j @ util.js:210(anonymous function) @ js?sensor=false:126(anonymous function) @ js?sensor=false:46(anonymous function) @ js?sensor=false:43(anonymous function) @ js?sensor=false:46(anonymous function) @ js?sensor=false:98(anonymous function) @ js?sensor=false:43(anonymous function) @ js?sensor=false:98(anonymous function) @ js?sensor=false:43(anonymous function) @ js?sensor=false:98(anonymous function) @ js?sensor=false:43(anonymous function) @ js?sensor=false:98hc @ js?sensor=false:45gc.nb @ js?sensor=false:98(anonymous function) @ common.js:1 util.js:210 Google Maps API warning: SensorNotRequired https://developers.google.com/maps/documentation/javascript/error-messages#sensor-not-requiredRA.j @ util.js:210(anonymous function) @ js?sensor=false:126(anonymous function) @ js?sensor=false:46(anonymous function) @ js?sensor=false:43(anonymous function) @ js?sensor=false:46(anonymous function) @ js?sensor=false:98(anonymous function) @ js?sensor=false:43(anonymous function) @ js?sensor=false:98(anonymous function) @ js?sensor=false:43(anonymous function) @ js?sensor=false:98(anonymous function) @ js?sensor=false:43(anonymous function) @ js?sensor=false:98hc @ js?sensor=false:45gc.nb @ js?sensor=false:98(anonymous function) @ common.js:1 ion-dev.js?v=0.0.44:112 Dev server logger closed
That was after I removed these:
npm remove typings --global typings remove debug --save typings remove dt~cordova --save --global typings remove dt~es6-shim --save --global
I've also deleted node-modules && npm cache clean && npm install again. I still can't get back to getting ionic serve working again like it was before.
I had the same problem with a fresh install. I deleted my node_modules, cleared my npm cache, upgraded nodejs to the latest version, npm install and everything worked.
It's important you have the latest NodeJS.
I am currently running node v6.9.1 so its the latest lts. Are you on v7? Can you post your ionic info and package.json?
Package.json:
{ "name": "ionic-hello-world", "author": "Ionic Framework", "homepage": "http://ionicframework.com/", "private": true, "scripts": { "ionic:build": "ionic-app-scripts build", "ionic:serve": "ionic-app-scripts serve" }, "dependencies": { "@angular/common": "2.1.1", "@angular/compiler": "2.1.1", "@angular/compiler-cli": "2.1.1", "@angular/core": "2.1.1", "@angular/forms": "2.1.1", "@angular/http": "2.1.1", "@angular/platform-browser": "2.1.1", "@angular/platform-browser-dynamic": "2.1.1", "@angular/platform-server": "2.1.1", "@ionic/storage": "1.1.6", "ionic-angular": "2.0.0-rc.3", "ionic-native": "2.2.3", "ionicons": "3.0.0", "rxjs": "5.0.0-beta.12", "zone.js": "0.6.26" }, "devDependencies": { "@ionic/app-scripts": "0.0.45", "typescript": "2.0.6" }, "cordovaPlugins": [ "cordova-plugin-whitelist", "cordova-plugin-console", "cordova-plugin-statusbar", "cordova-plugin-device", "cordova-plugin-splashscreen", "ionic-plugin-keyboard" ], "cordovaPlatforms": [], "description": "Nufitness: An Ionic project" }
Ionic info:
Cordova CLI: 6.0.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.45 ios-deploy version: Not installed ios-sim version: Not installed OS: Windows 10 Node Version: v6.9.1 Xcode version: Not installed
The build is not being complete because of AngularFire. It doesn't seem to be installed on your system. My system works if I don't install angular fire and use the default firebase library.
The build is now working. I was advised to use firebase 3.3.0 by @Chris1308 in this issue
I have this problem too, don't know what happened? at first I was run #ionic serve with no problem then I want to test on my android device so I run #ionic run android and the error is come. and try again with #ionic serve and the error still occur like below.
build dev failed: Cannot read property 'indexOf' of undefined
Your system information:
Cordova CLI: 6.4.0 Ionic Framework Version: 2.0.0-rc.3 Ionic CLI Version: 2.1.12 Ionic App Lib Version: 2.1.7 Ionic App Scripts Version: 0.0.45 ios-deploy version: Not installed ios-sim version: Not installed OS: Windows 8.1 Node Version: v6.9.1 Xcode version: Not installed
$ ionic serve
ionic-app-scripts serve
[16:14:51] ionic-app-scripts 0.0.45 [16:14:51] watch started ... [16:14:51] build dev started ... [16:14:51] clean started ... [16:14:51] clean finished in 15 ms [16:14:51] copy started ... [16:14:51] transpile started ... [16:14:54] build dev failed: Cannot read property 'indexOf' of undefined [16:14:54] copy finished in 2.91 s [16:14:54] watch ready in 2.96 s [16:14:54] dev server running: http://localhost:8100/
//////////////////////////////////////////////////////////////// I can run my app now. the problem is I don't know what happened in file "declaration.d.ts" in src/ that change from declare module ''; to ./declare module '';
so I just simply change from "./declare module '';" to "declare module '';" and it work. I have finally can run #ionic serve and #ionic run android with no problem now.
Please make sure you have firebase 3.3.0 installed. If not clear cache by npm cache clear and check package.json that is specifies that version.
@ix-xerri,
This isn't specifically a firebase issue more than likely.
@phutsa, yes that would definitely cause issues!
Thanks, Dan
I'm getting the same error, and a blank white screen..
21:32:09] ionic-app-scripts 0.0.46 [21:32:09] watch started ... [21:32:09] build dev started ... [21:32:09] clean started ... [21:32:09] clean finished in 6 ms [21:32:09] copy started ... [21:32:09] transpile started ... [21:32:15] build dev failed: Cannot read property 'indexOf' of undefined
and $ 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: OS X El Capitan Node Version: v7.1.0 Xcode version: Xcode 8.0 Build version 8A218a
Thanks!
Try using node 6.9.1. That's the one I'm using
Hi, thanks for your help. I downgraded to 6.9.1 and am still receiving the same message..
Running 'serve:before' npm script before serve
ionic-hello-world@ watch /Users/admin/Desktop/myApp ionic-app-scripts watch
[11:34:55] ionic-app-scripts 0.0.46 [11:34:55] watch started ... [11:34:55] build dev started ... [11:34:55] clean started ... [11:34:55] clean finished in 42 ms [11:34:55] copy started ... [11:34:55] transpile started ... [11:35:08] build dev failed: Cannot read property 'indexOf' of undefined [11:35:09] copy: Error copying "/Users/admin/Desktop/myApp/node_modules/ionicons/dist/fonts" to "/Users/admin/Desktop/myApp/www/assets/fonts" [11:35:09] copy finished in 13.89 s [11:35:09] watch ready in 13.98 s Running live reload server: http://localhost:35729
Thanks again for any help.
This is my package.json and ionic info and everything works. Try to match the version number and see.
{ "name": "ionic-hello-world", "author": "Ionic Framework", "homepage": "http://ionicframework.com/", "private": true, "scripts": { "ionic:build": "ionic-app-scripts build", "ionic:serve": "ionic-app-scripts serve" }, "dependencies": { "@angular/common": "2.1.1", "@angular/compiler": "2.1.1", "@angular/compiler-cli": "2.1.1", "@angular/core": "2.1.1", "@angular/forms": "2.1.1", "@angular/http": "2.1.1", "@angular/platform-browser": "2.1.1", "@angular/platform-browser-dynamic": "2.1.1", "@angular/platform-server": "2.1.1", "@ionic/app-scripts": "0.0.44", "@ionic/storage": "1.1.6", "@ngrx/core": "^1.2.0", "@ngrx/store": "^2.2.1", "angularfire2": "^2.0.0-beta.6", "firebase": "3.3.0", "ionic-angular": "2.0.0-rc.2", "ionic-native": "2.2.3", "ionicons": "3.0.0", "rxjs": "5.0.0-beta.12", "zone.js": "0.6.26" }, "devDependencies": { "@ionic/app-scripts": "0.0.42", "@types/request": "0.0.30", "typescript": "2.0.6" }, "cordovaPlugins": [ "cordova-plugin-device", "cordova-plugin-console", "cordova-plugin-whitelist", "cordova-plugin-splashscreen", "cordova-plugin-statusbar", "ionic-plugin-keyboard" ], "cordovaPlatforms": [ "ios", { "platform": "ios", "version": "", "locator": "ios" } ], "description": "An Ionic project" }
Your system information:
Cordova CLI: 6.4.0 Ionic CLI Version: 2.1.12 Ionic App Lib Version: 2.1.7 ios-deploy version: 1.9.0 ios-sim version: 5.0.11 OS: macOS Sierra Node Version: v6.9.1 Xcode version: Xcode 8.1 Build version 8B62
Hi, I reverted to an older version which solved the problem, still not sure what it was. Thanks so much for your help! Have a great day.
I also have this problem don't know how to debug this.
@ix-xerri I don't want to go back to rc2 because rc3 fixes a very important white screen problem.
Any news on this?
Ok, I installed a fresh ionic rc3 (and updated cli etc before that), and dropped my src in it. Now it works. Still not a clue why and how it failed. I do know I wasted a few hours on this one.
To Whom It May Concern, my package.json:
{ "name": "ionic-hello-world", "author": "Ionic Framework", "homepage": "http://ionicframework.com/", "private": true, "scripts": { "ionic:build": "ionic-app-scripts build", "ionic:serve": "ionic-app-scripts serve" }, "dependencies": { "@angular/common": "2.1.1", "@angular/compiler": "2.1.1", "@angular/compiler-cli": "2.1.1", "@angular/core": "2.1.1", "@angular/forms": "2.1.1", "@angular/http": "2.1.1", "@angular/platform-browser": "2.1.1", "@angular/platform-browser-dynamic": "2.1.1", "@angular/platform-server": "2.1.1", "@ionic/storage": "1.1.6", "ionic-angular": "2.0.0-rc.3", "ionic-native": "2.2.3", "ionicons": "3.0.0", "rxjs": "5.0.0-beta.12", "zone.js": "0.6.26", "moment": "^2.15.2", "firebase": "^3.6.1", "angularfire2": "^2.0.0-beta.5", "@types/jasmine": "^2.5.38"
}, "devDependencies": { "@ionic/app-scripts": "0.0.45", "typescript": "2.0.6" }, "description": "myapp-rc3: An Ionic project", "cordovaPlugins": [ "cordova-plugin-device", "cordova-plugin-console", "cordova-plugin-whitelist", "cordova-plugin-splashscreen", "cordova-plugin-statusbar", "ionic-plugin-keyboard" ], "cordovaPlatforms": [] }
I'm saving the same error:
console: [03:30:43] ionic-app-scripts 0.0.45 [03:30:43] watch started ... [03:30:43] build dev started ... [03:30:43] clean started ... [03:30:43] clean finished in 1 ms [03:30:43] copy started ... [03:30:43] transpile started ... [03:30:46] build dev failed: Cannot read property 'indexOf' of undefined [03:30:46] copy finished in 3.17 s [03:30:46] watch ready in 3.26 s [03:30:46] dev server running: http://localhost:8100/
browser(Chrome): http://localhost:8100/build/main.css - Failed to load resource: the server responded with a status of 404 (Not Found) http://0.0.0.0:35729/livereload.js?snipver=1 Failed to load resource: net::ERR_ADDRESS_INVALID http://localhost:8100/build/main.js Failed to load resource: the server responded with a status of 404 (Not Found) http://localhost:8100/build/main.css Failed to load resource: the server responded with a status of 404 (Not Found)
package.json { "name": "ionic-hello-world", "author": "Ionic Framework", "homepage": "http://ionicframework.com/", "private": true, "scripts": { "ionic:build": "ionic-app-scripts build", "ionic:serve": "ionic-app-scripts serve" }, "dependencies": { "@angular/common": "2.1.1", "@angular/compiler": "2.1.1", "@angular/compiler-cli": "2.1.1", "@angular/core": "2.1.1", "@angular/forms": "2.1.1", "@angular/http": "2.1.1", "@angular/platform-browser": "2.1.1", "@angular/platform-browser-dynamic": "2.1.1", "@angular/platform-server": "2.1.1", "@ionic/storage": "1.1.6", "angularfire2": "^2.0.0-beta.6", "firebase": "^3.6.1", "ionic-angular": "2.0.0-rc.3", "ionic-native": "2.2.3", "ionicons": "3.0.0", "rxjs": "5.0.0-beta.12", "zone.js": "0.6.26" }, "devDependencies": { "@ionic/app-scripts": "0.0.45", "@types/request": "0.0.30", "typescript": "2.0.6" }, "cordovaPlugins": [ "cordova-plugin-whitelist", "cordova-plugin-statusbar", "cordova-plugin-console", "cordova-plugin-device", "cordova-plugin-splashscreen", "ionic-plugin-keyboard" ], "cordovaPlatforms": [], "description": "palavraAmiga: An Ionic project" }
Ionic Info: ordova CLI: 6.4.0 Ionic Framework Version: 2.0.0-rc.3 Ionic CLI Version: 2.1.13 Ionic App Lib Version: 2.1.7 Ionic App Scripts Version: 0.0.45 ios-deploy version: Not installed ios-sim version: Not installed OS: Windows 10 Node Version: v6.9.1 Xcode version: Not installed
Try to copy my package.json and ionic info (specifically the app-scripts) and run npm cache clean before any npm install just in case.
ix-xerri - I followed all your steps but the error continues. But thanks for trying to help. Although dowgrade is a temporary solution.
Not sure what to say. Npm cache clean just in case and copy my ionic info and package.json. I know those work
the same error here : Failed to load resource: net::ERR_ADDRESS_INVALID from chrome in console and got white screen nothing load....
What can I do? Please help
Not sure I've never seen it. In my case the build did not complete.
I am seeing this same issue. I do not have any modifications to the build setup. The biggest issue for me here, is that I don't know where to start digging. With the "hidden from the devloper" approach to the build config, things like this take way longer to debug.
output from ionic info:
Ionic Framework Version: 2.0.0-rc.3
Ionic CLI Version: 2.1.12
Ionic App Lib Version: 2.1.7
Ionic App Scripts Version: 0.0.45
ios-deploy version: Not installed
ios-sim version: Not installed
OS: Windows 7
Node Version: v6.9.1
Xcode version: Not installed
Packag JSON:
{
"name": "armadilo",
"description": "armadilo: An Ionic project",
"version": "1.0.3",
"private": true,
"scripts": {
"ionic:build": "ionic-app-scripts build",
"ionic:serve": "ionic-app-scripts serve --watch",
"package": "ionic build ios",
"package-test": "ENV=TEST && ionic build ios",
"package-prod": "ENV=PROD && ionic build ios",
"safe-install": "set http_proxy=http://OURPROXY:OURPORT && npm install",
"start": "ionic serve --browser chrome --platform ios",
"startlab": "ionic serve --browser chrome --lab",
"test": "./node_modules/.bin/karma start"
},
"dependencies": {
"@angular/common": "2.1.1",
"@angular/compiler": "2.1.1",
"@angular/compiler-cli": "2.1.1",
"@angular/core": "2.1.1",
"@angular/forms": "2.1.1",
"@angular/http": "2.1.1",
"@angular/platform-browser": "2.1.1",
"@angular/platform-browser-dynamic": "2.1.1",
"@angular/platform-server": "2.1.1",
"@ionic/storage": "1.1.6",
"@lge/ng2-cc": "^1.1.0",
"angular2-busy": "1.0.2",
"ionic-angular": "2.0.0-rc.3",
"ionic-native": "2.2.3",
"ionicons": "3.0.0",
"lodash": "^4.13.1",
"moment": "^2.13.0",
"openlayers": "3.18.2",
"rxjs": "5.0.0-beta.12",
"zone.js": "0.6.26"
},
"devDependencies": {
"@types/core-js": "^0.9.34",
"@types/openlayers":"3.18.40",
"@types/lodash":"4.14.41",
"@types/moment":"2.13.0",
"@ionic/app-scripts": "0.0.45",
"typescript": "2.0.6"
},
"cordovaPlugins": [
"cordova-plugin-whitelist",
"cordova-plugin-console",
"cordova-plugin-statusbar",
"cordova-plugin-device",
"cordova-plugin-splashscreen",
"ionic-plugin-keyboard"
],
"cordovaPlatforms": [
"ios"
]
}
ionic serve output:
> ionic-app-scripts serve --watch
[12:26:48] ionic-app-scripts 0.0.45
[12:26:49] watch started ...
[12:26:49] build dev started ...
[12:26:49] clean started ...
[12:26:49] clean finished in 9 ms
[12:26:49] copy started ...
[12:26:49] transpile started ...
[12:27:04] build dev failed: Cannot read property 'indexOf' of undefined
Config file "D:\git-repos\armadilo-upgrade\--" not found. Using defaults instead.
[12:27:04] copy finished in 14.86 s
[12:27:04] watch ready in 15.00 s
[12:27:04] dev server running: http://localhost:8100/
Short description of the problem:
ionic serve
fails:Steps to reproduce:
ionic serve
Which @ionic/app-scripts version are you using? 0.0.42
ionic info
:Complete
package.json
:EDIT: Ping @danbucholtz ;-)