Skip to content
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

Error thrown if optional dependency safe-json-stringify is not installed #29

Open
galenandrew opened this issue Oct 12, 2017 · 0 comments

Comments

@galenandrew
Copy link

Loading the optional dependency safe-json-stringify is not properly handled when it is not installed which results in an error being thrown (see stack trace below).

Error: Cannot find module 'safe-json-stringify'
    at Function.Module._resolveFilename (module.js:489:15)
    at Function.Module._load (module.js:439:25)
    at Module.require (module.js:517:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/app/node_modules/bunyan-cloudwatch/index.js:5:25)
    at Module._compile (module.js:573:30)
    at Object.Module._extensions..js (module.js:584:10)
    at Module.load (module.js:507:32)

PR on its way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant