microsoft / cordova-plugin-code-push

Cordova plugin for CodePush
http://appcenter.ms
Other
643 stars 330 forks source link

Error loading #554

Open phyr0s opened 5 years ago

phyr0s commented 5 years ago

Description

Running on physical device I get this error -->

[Error] Failed to load resource: the server responded with a status of 404 () (acquisition-sdk.js.map, line 0)

Reproduction

Just build and run the plugin on iOS device

Additional Information

dennis3001 commented 4 years ago

Same issue here. have you found a fix/workaround yet?

EinfachHans commented 4 years ago

Same for me... Any News? Only happens on iOS for me.

Singh-KiaTec commented 4 years ago

i have the same issue .. any update?

phyr0s commented 4 years ago

With last version is working but error still

Singh-KiaTec commented 4 years ago

it worked when i followed below steps: ionic cordova plugin rm cordova-plugin-code-push npm uninstall --save @ionic-native/code-push@4 and then add the latest version ionic cordova plugin add cordova-plugin-code-push npm install @ionic-native/code-push

and then the magic remove the reference of .js.map file from plugin.xml

/plugins/code-push/plugin.xml
Singh-KiaTec commented 4 years ago

also make sure you use ngx version for sync. import { CodePush, InstallMode, SyncStatus } from '@ionic-native/code-push/ngx';

lucasdavila commented 4 years ago

Same problem happening on 1.12.5, when I run the ios app I get this error on the object inspector console:

[Error] Failed to load file://null/private/var/containers/Bundle/Application/5D6AC451-BE17-4578-AE31-D4B272AEB6DB/EasyEdu.app/www/plugins/code-push/script/acquisition-sdk.js.map resource: The requested URL was not found on this server. (acquisition-sdk.js.map, line 0)

I already tried to reinstall the plugin but it didn't solved the problem.

bbialas commented 3 years ago

+1

jacola commented 3 years ago

I tried to fix this, but it doesn't appear to have any impact on the functionality of the app. If you turn off code maps in your debug tools, this error won't show up.