-
-
Notifications
You must be signed in to change notification settings - Fork 303
Closed
Description
Describe the bug
Console error for only json, html and css languages. For other languages it's working fine.
jsonMode.js:7 Uncaught ReferenceError: exports is not defined
at jsonMode.js:7
at jsonMode.js:7
at t._createAndEvalScript (loader.js:794)
at loader.js:776
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61)
(anonymous) @ jsonMode.js:7
(anonymous) @ jsonMode.js:7
t._createAndEvalScript @ loader.js:794
(anonymous) @ loader.js:739
readFileAfterClose @ internal/fs/read_file_context.js:61
htmlMode.js:7 Uncaught ReferenceError: exports is not defined
at htmlMode.js:7
at htmlMode.js:7
at t._createAndEvalScript (loader.js:794)
at loader.js:776
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61)
(anonymous) @ htmlMode.js:7
(anonymous) @ htmlMode.js:7
t._createAndEvalScript @ loader.js:794
(anonymous) @ loader.js:739
readFileAfterClose @ internal/fs/read_file_context.js:61
cssMode.js:7 Uncaught ReferenceError: exports is not defined
at cssMode.js:7
at cssMode.js:7
at t._createAndEvalScript (loader.js:794)
at loader.js:776
at FSReqCallback.readFileAfterClose [as oncomplete] (internal/fs/read_file_context.js:61)
To Reproduce
Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Or, please add a minimal code snippet to reproduce the issue, for example in codesandbox.
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots to help to explain your problem.
Desktop (please complete the following information):
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
Metadata
Metadata
Assignees
Labels
No labels