Cannot read property 'call' of undefined
GTOsss opened this issue · comments
If I try to use no existed mixin I'll get error:
ERROR in ./src/pages/about.pug (./node_modules/html-webpack-plugin/lib/loader.js!./src/pages/about.pug)
Module build failed (from ./node_modules/pug-html-loader/lib/index.js):
TypeError: Cannot read property 'call' of undefined
It looks like bug in loader. I think it would be better to get a clear error.
If someone gets this error, make sure that you are not using a non-existing mixin.