corber
corber copied to clipboard
corber start "Could not find cordova.js script tag. Plugin loading may fail."
When trying to use corber start I get this error in the console, there is no cordova referenced in the index.html.
When I build the apk and look in the built source I can see the cordova.js
DEBUG: -------------------------------
DEBUG: Ember : 3.18.1
DEBUG: Ember Data : 3.18.0
DEBUG: Ember Postcss : 6.0.1
DEBUG: Ember Simple Auth : 3.0.0
DEBUG: -------------------------------
Can this be ignoried or do we ned to set actions?
I can not replicate the issue. Can you let me know: -If you are Mac/Windows;
- If the build is still successful despite the error?
I'm actually new to corber. So I hope it's not a stupid mistake.
I'm on windows. Cordova 9.0.0 Corber 1.4.3
Reproduce:
- ember init
- corber init
- corber platform add android
- add to environment.js ENV.locationType = 'hash'; ENV.rootURL = '';
- corber start (in my case use no emulator)
- Ember welcome page is visible. And hot reload is working.
- access local host or via chrome inspect: "Could not find cordova.js script tag. Plugin loading may fail. " The Error is coming from cordova.js - line 1739 " // Tries to load all plugins' js-modules. // This is an async process, but onDeviceReady is blocked on onPluginsReady. // onPluginsReady is fired when there are no plugins to load, or they are all done. "
Further Testing Testing plugins. ember-cordova-events works ember-cordova-platform works also cordova-plugin-device works.
corber build --platform=android --environment=production --release Works but I'm not able to install the apk on my device. Not sure yet where the problem is. Message is simple "not installed" I just saw, that after building produktion - the index.js is gone anyway. So I have to move the stuff from there to the ember side?
I'm actually trying to migrate an older cordova project to corber. There I got a bunch of depricated cordova plugins and other problems to get rid off. Anyway there I got a bunch of errors naming "onPluginsReady". Saidly I broke it for now and it#s not possible for me to give ou more infos.
I have the same problem, corber start in my android phone. cordova.js & cordova_plugins.js is not find. vue project