-
Notifications
You must be signed in to change notification settings - Fork 302
Module not found: Error: Can't resolve 'promise-polyfill' #1001
Comments
Had the same issue, this solved it:
Source: http://stackoverflow.com/questions/43428415/error-in-firebase-app-shared-promise-js |
@mcorrigan that did it. Thank you very much!!! |
Woot! This worked for me also. |
working ... working .... worked for me!!!... gracias @mcorrigan |
Hello I did that and now I'm having another problem. ionic cordova run android [16:01:36] build dev started ...
[ERROR] Cordova encountered an error. [ERROR] An error occurred while running cordova run android (exit code 1). hommydejesus@Hommy-PC:~/DenunciasApp$ (node:12726) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejec |
thanks @mcorrigan |
@HommyDeJ I got this same error. Do you have the android development environment properly set up? the fastest way to do this is to install Android developer Studio. |
I got the same issue after updating to the latest ionic. Running the command below fixed it again
But do I have to run this command for every ionic update? Which version are you using? PS C:\ionic\CajaFuerte-app> ionic info global packages:
local packages:
System:
|
Worked for me Thanks @mcorrigan |
Someone should open an issue with the package causing this problem, that this package gets added to their |
@mcorrigan you are a beautiful person! |
Bro You Make My day |
Awesome... @mcorrigan |
@mcorrigan This worked for me. Thanks |
@mcorrigan Thanks. Worked for me |
Great. Put me in the fan of @mcorrigan camp 👍 |
wooooow yes, working working, thanks so much |
Oh Great! |
Life Saver ! Thanks a lot ! |
Thanks ! |
hey, @mcorrigan thanks a lot! Worked for me.. |
that's great, worked for me |
@mcorrigan Thanks a lot it worked for me. |
awesome! thank you for this solution |
Not working with: --prod, ionic cordova build android --prod. |
Still error with latest ionic cli 3.9.2 |
npm install promise-polyfill --save-exact |
@mcorrigan Worked magically! 👍 |
Great! I think it saved me much time! Thank you |
thnx bro |
@mcorrigan worked for me as well. Thanks! |
@mcorrigan super it worked for me |
thank you @gigocabrera and @mcorrigan . Worked fine. thumbs up |
i have the same problem, it worked for me. thanks |
@mcorrigan: Thank you so much. First time failed, but again I tried running same command and worked perfectly. Q: After running this command a file is created package-lock.json, what is this? |
Hi, while the npm install promise-polyfill --save-exact helps with me as well, the upload to Ionic Pro creates a build fail with the same error. EDIT: fixed issue by adding "promise-polyfill":"6.0.2" to package.json `
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.3/linux-x64-57_binding.node
Binary found at /usr/src/app/node_modules/node-sass/vendor/linux-x64-57/binding.node added 800 packages in 69.033s
[18:40:33] ionic-app-scripts 2.1.4 npm ERR! A complete log of this run can be found in: |
Worked for me Thanks @mcorrigan. |
Yes that woked for me thanks. |
@mcorrigan thanks! That solved the problem for me as well and now I can successfully build ios again. |
Nothing seems to work for me, getting:
My environment:
The error above occurs still after running: Any other clue? |
@franzisk same here, i have trying to get my app out there, but ionic just wont build with the --prod flag. Any resolutions to this issue yet? |
I am sorry @kehkashan22 but I don't remember how I solved this, but I can show you my list of plugins and the version of everything, I think that something you must check is all plugin version (update them), the cordova version used on the project and the platform version. Here are meine:
Ionic Info:
Also, try just a: |
I have similar issue can anyone help please ? |
Short description of the problem:
I'm seeing a weird behavior. When I run
ionic serve
my app builds and runs as expected. No issues. HOWEVER, when I runionic upload
to test the app in ionic view I get the error message below.I KNOW it's a firebase error BUT why does it work fine using
ionic serve
and not withionic upload
?What behavior are you expecting?
If running
ionic serve
works without any errors, I expectionic upload
to work as well.Steps to reproduce:
Not sure how to reproduce this issue. Best if you visit my repo
Which @ionic/app-scripts version are you using?
The text was updated successfully, but these errors were encountered: