windows 10 pro office 2019 pro office 365 pro windows 10 home windows 10 enterprise office 2019 home and business office 2016 pro windows 10 education visio 2019 microsoft project 2019 microsoft project 2016 visio professional 2016 windows server 2012 windows server 2016 windows server 2019 Betriebssysteme office software windows server https://softhier.com/ instagram takipçi instagram beğeni instagram görüntüleme instagram otomatik beğeni facebook beğeni facebook sayfa beğenisi facebook takipçi twitter takipçi twitter beğeni twitter retweet youtube izlenme youtube abone instagram

error when loading aurelia-validation plugin

Asked By: Anonymous

I am trying to setup aurelia-validation plugin in my project. I am using VS2015.
I have installed aurelia-validation plugin using jspm install aurelia-validation command.

Config.js file has been updated “aurelia-validation”: “github:aurelia/[email protected]
and in jspm_packages/github I see [email protected] folder.

I have added a plugin in my main.js file.

export function configure(aurelia) {

    aurelia.use
        .standardConfiguration()
        .developmentLogging()
        .plugin('aurelia-validation');

    aurelia.start().then(a => a.setRoot());
}

and have changed my aurelia-app to aurelia-app=”main”

When I start the app I get the following error in Firefox console:

Unhandled promise rejection TypeError: aurelia.globalizeResources is not a function
Stack trace:
[email protected]://localhost:15724/jspm_packages/github/aurelia/[email protected]/index.js:28:5
loadPlugin/<@http://localhost:15724/jspm_packages/github/aurelia/[email protected]/aurelia-framework.js:34:32
[email protected]://localhost:15724/jspm_packages/npm/[email protected]/modules/es6.promise.js:91:43
notify/<@http://localhost:15724/jspm_packages/npm/[email protected]/modules/es6.promise.js:105:11
[email protected]://localhost:15724/jspm_packages/npm/[email protected]/modules/$.invoke.js:6:25
@http://localhost:15724/jspm_packages/npm/[email protected]/modules/$.task.js:40:9
[email protected]://localhost:15724/jspm_packages/npm/[email protected]/modules/$.task.js:27:7
[email protected]://localhost:15724/jspm_packages/npm/[email protected]/modules/$.task.js:31:5

I have tried clearing jspm cache with jspm cc command but that didn’t help. All my packages are up to date.

What am I missing?

Thank you.


Solution

Answered By: Anonymous

There was a breaking change in Aurelia 0.15.0:

In the commit fix(all): create a property framework configuration object
the globalizeResources method was renamed to globalResources

Since then (2015.08.13) the aurelia-validation plugin hasn’t been updated.

You get the error because the aurelia-validation only supports aurelia 0.14.1 or older. So you have to downgrade your aurelia version to work with the validation plugin until it is not updated.

techinplanet staff


Windows 10 Kaufen Windows 10 Pro Office 2019 Kaufen Office 365 Lizenz Windows 10 Home Lizenz Office 2019 Home Business Kaufen windows office 365 satın al follower kaufen instagram follower kaufen porno
Alanya escort Manavgat escort Fethiye escort Kemer escort Didim escort http://www.kadinescort.net Gaziantep escort Denizli escort Adana escort Hatay escort Aydın escort İzmir escort Ankara escort Antalya escort Bursa escort İstanbul escort Kocaeli escort Konya escort Muğla escort Malatya escort Kayseri escort Mersin escort Samsun escort Sinop escort Tekirdağ escort Eskişehir escort Yalova escort Rize escort Amasya escort Balıkesir escort Çanakkale escort Bolu escort Erzincan escort Şırnak escort Van escort Yozgat escort Zonguldak escort Afyon escort Adıyaman escort Bilecik escort Aksaray escort Ağri escort Bitlis escort Siirt escort Çorum escort Burdur escort Diyarbakir escort Edirne escort Düzce escort Erzurum escort Kırklareli escort Giresun escort Kilis escort Kars escort Karabük escort Kırıkkale escort Mardin escort Kırşehir escort Maraş escort Manisa escort Muş escort Kastamonu escort Ordu escort Nevşehir escort Sakarya escort Osmaniye escort Şanliurfa escort Sivas escort Trabzon escort Tokat escort Ardahan escort Bartın escort Karaman escort Batman escort Bayburt escort Bingöl escort Elaziğ escort Gümüşhane escort Hakkari escort Isparta escort Uşak escort Igdır escort