You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I may be doing something wrong but I just installed aurelia-dialog via jspm into my project per the README, added .plugin('aurelia-dialog') to my configuration and am now getting 3 duplicate errors on app startup:
Unhandled promise rejection TypeError: config.globalResources is not a function(…) coming from line 1444 in shim.min.js
All of this is a bit surprising considering (http://stackoverflow.com/questions/32260529/aurelia-globalizeresources-no-longer-available)...
I inspected the config object in the plugin's index.js and the prototype does have a globalizeResources function but no reference as I can tell to globalResources. If I change the line to use globalizeResources instead of globalResources then the plugin proceeds to load and then I get 2 duplicate errors stating:
Unhandled promise rejection TypeError: Cannot read property 'endsWith' of undefined(…) coming from line 1444 in shim.min.js
If I comment out .plugin('aurelia-dialog') from my configuration then there are no errors and my app loads as expected save for the dialog functionality so it clearly appears to be centralized to using this plugin.
Hoping someone could either point me in the right direction or acknowledge that there is an issue. Maybe I just need to update the aurelia core framework? Let me know if you need any more information.
The text was updated successfully, but these errors were encountered:
I did an update to the Aurelia framework and this plugin now appears to load as expected. Unfortunately, the update appears to have broken a different plugin I am using paulvanbladel/aurelia-auth. Hopefully I can get the author of the plugin to make the update because simply changing globalizeResources to globalResources in that plugin's index.js results in errors... which seems to indicate the API has changed a bit and the plugin is no longer in sync with the latest framework.
ERROR [app-router] TypeError: Cannot read property 'some' of undefined(…)error
ERROR [app-router] Router navigation failed, and no previous location could be restored
aurelia-dialog 0.5.1
aurelia framework 1.0.0-beta.1.0.4
I may be doing something wrong but I just installed aurelia-dialog via jspm into my project per the README, added .plugin('aurelia-dialog') to my configuration and am now getting 3 duplicate errors on app startup:
Unhandled promise rejection TypeError: config.globalResources is not a function(…) coming from line 1444 in shim.min.js
All of this is a bit surprising considering (http://stackoverflow.com/questions/32260529/aurelia-globalizeresources-no-longer-available)...
I inspected the config object in the plugin's index.js and the prototype does have a globalizeResources function but no reference as I can tell to globalResources. If I change the line to use globalizeResources instead of globalResources then the plugin proceeds to load and then I get 2 duplicate errors stating:
Unhandled promise rejection TypeError: Cannot read property 'endsWith' of undefined(…) coming from line 1444 in shim.min.js
If I comment out .plugin('aurelia-dialog') from my configuration then there are no errors and my app loads as expected save for the dialog functionality so it clearly appears to be centralized to using this plugin.
Hoping someone could either point me in the right direction or acknowledge that there is an issue. Maybe I just need to update the aurelia core framework? Let me know if you need any more information.
The text was updated successfully, but these errors were encountered: