Open davidromani opened 4 years ago
Making some tests, I found that I can avoid this problem loading rainbowSDK building my Ionic project without "--prod" flag. With this command works well:
ionic build --engine=browser
But with this one doesn't works:
ionic build --prod --engine=browser
Any hint about what's going on? Thanks.
Hello.
I'm having a problem very difficult to identify and fix. First of all, my apologies, because I'm working with an Ionic (+4) web app project and I'm not sure if I can post this issue here. But I think that, as far as I know, Ionic it's built on top of angluar/cli so, for me, it seems that the problem is related with Angular (not with Ionic).
After upgrade RainbowSDK from 1.69 up to 1.76, I'm having
Uncaught SyntaxError: export declarations may only appear at top level of a module
console error in rainbow-sdk.min.js:351:1731483 lineI'm loading resources here:
I've copied jquery-2.1.3, momentjs-2.15.1 and angular.js-1.7.5 versions into my local assets folder following this https://hub.openrainbow.com/#/documentation/doc/sdk/web/guides/Hello_world_legacy example. Finally, I'm importing (and using) SDK here:
The last console error message is:
Can you help me, please? I'm stuck with this issue and I need some ideas to discover what's going on...
Thank you so much in advance.