adarshpastakia / aurelia-ui-framework

A bespoke UI Framework built on Aurelia for desktop business application
https://adarshpastakia.github.io/auf-demo-v4/
MIT License
152 stars 27 forks source link

TypeError: Cannot read property 'attrToRemove' of undefined at ViewCompiler._compileElement #233

Open tactical-drone opened 4 years ago

tactical-drone commented 4 years ago

When I applied the webpack config I was getting this error about:

TypeError: Cannot read property 'attrToRemove' of undefined at ViewCompiler._compileElement (webpack-internal:///./node_modules/aurelia-templating/dist/native-modules/aurelia-templating.js:3156:26)

On debugging the code it was failing when trying to work with virtual-repeat.for.

To fix I had to apply .plugin(PLATFORM.moduleName('aurelia-ui-virtualization')); //<-- add this for it to work.