-
Notifications
You must be signed in to change notification settings - Fork 90
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
Cant run in web app #18
Comments
Yep, I encountered this.. I went into the implementation and seen you are basically doing require("parse-json")(require("strip-json-comments")({ whitespace: false })); So going to use that for now.. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I tried to run this inside a javascript function on the browser. I'm running react. during the build process I encountered the following error
ERROR in ./node_modules/graceful-fs/graceful-fs.js
Module not found: Error: Can't resolve 'fs' in '(my path)/node_modules/graceful-fs
Is JSONC only meant to be run on the server and not in a web app on the browser?
The text was updated successfully, but these errors were encountered: