Cannot find module 'bluebird'
zfarrell opened this issue · comments
Zac Farrell commented
Hi there, I just tried installing this plugin. Upon starting up sls offline
i receive this error:
Serverless plugin "serverless-plugin-pubsub" initialization errored: Cannot find module 'bluebird'
I don't see a dependency for bluebird
within package.json
, yet index.js
uses it.
For now, i'm able to get around this by installing bluebird within my project: npm install --save-dev bluebird
.
Let me know if I'm doing something wrong, or if this is a bug. Thanks!