when I am try to emulate android device it shows following error:
Error: ./~/firebase/app/shared_promise.js
Module not found: Error: Can’t resolve ‘promise-polyfill’ in ‘/root/PhotoEditor/node_modules/firebase/app’
resolve ‘promise-polyfill’ in ‘/root/PhotoEditor/node_modules/firebase/app’
Parsed request is a module
using description file: /root/PhotoEditor/node_modules/firebase/package.json (relative path: ./app)
Field ‘browser’ doesn’t contain a valid alias configuration
after using description file: /root/PhotoEditor/node_modules/firebase/package.json (relative path: ./app)
resolve as module
looking for modules in /root/PhotoEditor/node_modules
using description file: /root/PhotoEditor/package.json (relative path: ./node_modules)
Field ‘browser’ doesn’t contain a valid alias configuration
after using description file: /root/PhotoEditor/package.json (relative path: ./node_modules)
using description file: /root/PhotoEditor/package.json (relative path: ./node_modules/promise-polyfill)
as directory
/root/PhotoEditor/node_modules/promise-polyfill doesn’t exist
no extension
Field ‘browser’ doesn’t contain a valid alias configuration
/root/PhotoEditor/node_modules/promise-polyfill doesn’t exist
.ts
Field ‘browser’ doesn’t contain a valid alias configuration
/root/PhotoEditor/node_modules/promise-polyfill.ts doesn’t exist
.js
Field ‘browser’ doesn’t contain a valid alias configuration
/root/PhotoEditor/node_modules/promise-polyfill.js doesn’t exist
.json
Field ‘browser’ doesn’t contain a valid alias configuration
/root/PhotoEditor/node_modules/promise-polyfill.json doesn’t exist
[/root/PhotoEditor/node_modules/promise-polyfill]
[/root/PhotoEditor/node_modules/promise-polyfill]
[/root/PhotoEditor/node_modules/promise-polyfill.ts]
[/root/PhotoEditor/node_modules/promise-polyfill.js]
[/root/PhotoEditor/node_modules/promise-polyfill.json]
@ ./~/firebase/app/shared_promise.js 37:35-62
@ ./~/firebase/app/firebase_app.js
@ ./~/firebase/app.js
@ ./~/firebase/firebase-browser.js
@ ./src/app/app.module.ts
@ ./src/app/main.ts
I updated cli plugins but still it show this errror
Error occurred during command execution from a CLI plugin (@ionic/cli-plugin-cordova). Your plugins may be out of
date.
Anyhelp thanks