aurelia-ui-framework icon indicating copy to clipboard operation
aurelia-ui-framework copied to clipboard

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

Open tactical-drone opened this issue 4 years ago • 0 comments

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.

tactical-drone avatar Jun 19 '20 16:06 tactical-drone