Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ionic Serve - build dev failed: Cannot read property 'indexOf' of undefined #1777

Closed
richardshergold opened this issue Dec 14, 2016 · 3 comments

Comments

@richardshergold
Copy link

Wasn't sure where to place this issue - here or in the App Scripts repo. I placed it there - sorry to duplicate

ionic-team/ionic-app-scripts#544

@richardshergold
Copy link
Author

FIXED - I had Firebase as a dependency as well as AngularFire - removing Firebase from package.json fixed the issue.

@HuddleHouse
Copy link

I don't think this is a long term solution but if you are trying to get 'ionic serve' to work and this is your error you can make a change in a typescript file and save it and then it starts webpack and works. Well works for me and I'm using angularfire2 2.0.0-beta.6 and firebase 3.6.4

@ghost
Copy link

ghost commented Dec 22, 2016

"Delete the firebase.d.ts in the folder node_modules\firebase"

#1713 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants