-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'module' is not a known element error #120
Comments
Upgrading to node 10.6 solved this problem. |
I'm using node 10.15.3. But getting same error. |
Try downgrading to 10.6 if you could. |
try
after upgrading you npm version to 10. It worked for me and fixed the issue. |
same issue here with <module class='export'>
<!-- ANY TAGs... -->
</module> |
I was getting the same error when using ng-cli-pug-loader. The issue is with the file ng-add-pug-loader.js produced by the ng CLI schematics. The file runs on npm postinstall and adds an extra rule to the webpack common.js file. The solution is to replace the following line in ng-add-pug-loader.js right after running
with:
(note the additional escaping) Version info: Angular CLI: 9.1.1 |
@alexprykhodko Thank you! Just gonna add something: after replacing the config string, you have to make sure that this file: |
I encountered this error whenever using pug in my app. I've surely installed ng-cli-pug-loader and it's dependencies(pug, pug-loader, apply-loader) though. Any ideas?
The text was updated successfully, but these errors were encountered: