-
Notifications
You must be signed in to change notification settings - Fork 417
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
Cannot browserify jsonlint: module "file" missing #57
Comments
+1 |
+1, we're having the same issue with webpack. |
For a workaround: I've cloned the project and fixed this issue here: |
Cool! Did you issue a PR for that? |
no, see #56. |
kvz
added a commit
to kvz/lanyon
that referenced
this issue
Dec 7, 2016
…`node: { fs: 'empty' }, target: 'node'` to webpack config josephsavona/valuable#9 zaach/jsonlint#57
Can this error be forced to be ignored in |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thanks for offering jsonlint via npm, works great.
I stumbled upon one issue though: when I try to browserify jsonlint, an error is thrown:
The module
file
is required here in the source code:https://github.com/zaach/jsonlint/blob/master/lib/jsonlint.js#L424
It looks like the "file" module is missing from the dependencies in package.json. But maybe this code is redundant anyway: I guess if you're not running node.js (i.e.
typeof process === 'undefined'
), thefile
module won't work either?The text was updated successfully, but these errors were encountered: