Hello.
I got a problem and I cannot find any answer on internet.
I am building small webapp and use firebase as my backend. Everything was ok and my application run smoothly but today suddenly stop building after 'ng serve'. I always get the same error:
ERROR in ./~/firebase/app/shared_promise.js
Module not found: Error: Can't resolve 'promise-polyfill' in '/Users/user/Desktop/GMO/node_modules/firebase/app'
@ ./~/firebase/app/shared_promise.js 22:35-62
@ ./~/firebase/app/firebase_app.js
@ ./~/firebase/app.js
@ ./~/firebase/firebase-browser.js
@ ./src/app/app.component.ts
@ ./src/app/app.module.ts
@ ./src/main.ts
and after deleting and inserting back code lines I found that this error happens after I add:
firebase.initializaApp({my_database_api_key_and_auth_domain})
inside onInit() function in main component.
Of course when my app was running before I also got this line and everything was ok. I am really out of ideas. I am sure that I didn't change anything in firebase module (inside node_modules) directory.
Can you please help me with that?
Thank you and regards.