@obinnae wrote:
Hello,
My app uses Firebase, among other plugins. Lately, runningionic cordova build android
results in the following error (showing part of the error messages. The full message is a lot longer than this).16:07:06] preprocess finished in 1 ms [16:07:06] webpack started ... [16:07:06] copy finished in 15.42 s [16:07:22] ionic-app-script task: "build" [16:07:22] Error: ./node_modules/@firebase/polyfill/dist/index.esm.js Module not found: Error: Can't resolve 'core-js/features/array/find' in '/Users/obi/Projects/Mobile/servicefinder/node_modules/@firebase/polyfill/dist' resolve 'core-js/features/array/find' in '/Users/obi/Projects/Mobile/servicefinder/node_modules/@firebase/polyfill/dist' Parsed request is a module using description file: /Users/obi/Projects/Mobile/servicefinder/node_modules/@firebase/polyfill/package.json (relative path: ./dist) Field 'browser' doesn't contain a valid alias configuration after using description file: /Users/obi/Projects/Mobile/servicefinder/node_modules/@firebase/polyfill/package.json (relative path: ./dist) resolve as module looking for modules in /Users/obi/Projects/Mobile/servicefinder/node_modules using description file: /Users/obi/Projects/Mobile/servicefinder/package.json (relative path: ./node_modules)
It was working just fine as recent as a few days ago!
I’ve spent the last hour googling but no luck. I even removed Android platform, removed Firebase plugin, added Firebase again, then added Android platform. Tried to build, same error.
Any help would be appreciated.Thanks!
Posts: 1
Participants: 1