-
Notifications
You must be signed in to change notification settings - Fork 420
Open
Description
Thanks for offering jsonlint via npm, works great.
I stumbled upon one issue though: when I try to browserify jsonlint, an error is thrown:
Error: Cannot find module 'file' from '/home/ubuntu/workspace/node_modules/jsonlint/lib'
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'
), the file
module won't work either?
Metadata
Metadata
Assignees
Labels
No labels