Closed Aerlin closed 3 years ago
Try updating your version of Marko to the latest 5.15.10. We just fixed a bug this morning with the same error message and steps to reproduce as this issue. It's likely already fixed if it is caused by the same thing.
Thank you @ryansolid, the latest version appears to have fixed the issue. :)
Version: @marko/webpack@9.0.3
Details
I'm using the webpack-express template from the marko cli tool. I have a component named comment-box which references itself for child comments. When I run the project's npm run dev (webpack serve), an error is thrown and all CSS stops being served to the browser.
Expected Behavior
To include itself as child components.
Actual Behavior
An error is thrown in console and no CSS is served to the browser.
Possible Fix
Unknown
Your Environment
Debian 10, NPM 6.14.15, Node v14.17.6,
Steps to Reproduce
Component template
components/comment-box/index.marko
Stack Trace