我更新了一些库,包括Aurelia-Validation到1.1.3。
更新后,我收到此错误:
Expression 'invite.firstName&validate:validation' is not compatible with the validate binding-behavior
我使用validate
绑定行为的任何地方都会抛出此错误。
如果我删除&validate
,则不会抛出错误。
我没有看到这个问题。
尝试过:
删除所有node_modules并运行npm install / npm update
"dependencies": {
"aurelia-after-attached-plugin": "github:aurelia-ui-toolkits/aurelia-after-attached-plugin",
"aurelia-animator-css": "^1.0.2",
"aurelia-api": "^3.1.1",
"aurelia-authentication": "^3.8.0",
"aurelia-binding": "^2.0.0",
"aurelia-bootstrapper": "^2.1.1",
"aurelia-cli": "^0.32.0",
"aurelia-dialog": "^1.0.0-rc.2.0.0",
"aurelia-event-aggregator": "^1.0.1",
"aurelia-framework": "^1.2.0",
"aurelia-http-client": "^1.2.1",
"aurelia-loader-webpack": "^2.1.0",
"aurelia-logging": "^1.4.0",
"aurelia-logging-console": "^1.0.0",
"aurelia-metadata": "^1.0.3",
"aurelia-orm": "^6.2.0",
"aurelia-pal": "^1.5.0",
"aurelia-pal-browser": "^1.4.0",
"aurelia-path": "^1.1.1",
"aurelia-polyfills": "latest",
"aurelia-route-recognizer": "^1.1.1",
"aurelia-router": "^1.5.0",
"aurelia-syncfusion-bridge": "^2.2.1",
"aurelia-task-queue": "^1.3.0",
"aurelia-templating": "^1.7.0",
"aurelia-templating-binding": "^1.4.1",
"aurelia-templating-resources": "^1.6.0",
"aurelia-validation": "^1.1.3",
"aurelia-view-manager": "^0.1.1",
"bluebird": "^3.4.1",
"moment": "^2.22.1",
"numeral": "^2.0.6",
"syncfusion-javascript": "^15.4.20",
"toastr": "^2.1.4",
"whatwg-fetch": "^2.0.3"
},