Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Ionic Serve - build dev failed: Cannot read property 'indexOf' of undefined #544
I have upgraded to the latest CLI and AppScripts and am now having problems with my project build. The project was building and serving fine yesterday so if there's no easy fix to the problems I am seeing today, how do I revert back to a previous version of CLI and App Scripts?
I followed the instructions here for 0.0.47:
and now when I attempt an ionic serve I get:
[10:15:23] ionic-app-scripts 0.0.47
[10:15:27] copy finished in 3.19 s
My build folder remains empty so in the browser console I see a bunch of "failed to load resource errors" for build/main.js etc.
Your system information:
Cordova CLI: 6.4.0
if I run ionic build ios I get errors too (of course) and the generated log is:
0 info it worked if it ends with ok
referenced this issue
Dec 14, 2016
Try deleting npm_mofules folder and run again npm install…
On Thu, 22 Dec 2016, 5:41 p.m. Sean Chase, ***@***.***> wrote: I tried removing firebase from package.json, but then the app will crash trying to reference firebase in webpack. Is there another solution? — You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub <#544 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/ABCQy224anIZWtC655fIDeXuKKLec7bYks5rKuB-gaJpZM4LMwGa> .