Issue Summary
debug is listed as a dev-dependency. As a result you'll get an error if you install this module from npm
Steps to Reproduce
$ npm i sendgrid
$ node
> const sg = require('sendgrid')
returns this result
Error: Cannot find module 'debug'
at Function.Module._resolveFilename (module.js:325:15)
at Function.Module._load (module.js:276:25)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (/Users/geir/Downloads/sendgridbreaking/node_modules/sendgrid/lib/helpers/contact-importer/contact-importer.js:7:13)
at Module._compile (module.js:409:26)
at Object.Module._extensions..js (module.js:416:10)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
Technical details:
- sendgrid-nodejs Version: 4.2.0
- Node.js Version: 4.5.0
Issue Summary
debug is listed as a dev-dependency. As a result you'll get an error if you install this module from npm
Steps to Reproduce
$ npm i sendgrid$ node> const sg = require('sendgrid')returns this result
Technical details: