Skip to content
This repository has been archived by the owner on Jul 26, 2022. It is now read-only.

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

Open
tactical-drone opened this issue Jun 19, 2020 · 0 comments

Comments

@tactical-drone
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant