tradle / serverless-iot-local

MIT License
14 stars 7 forks source link

Error running `sls offline start` with serverless-iot-local plugin #10

Open mikekaminsky opened 4 years ago

mikekaminsky commented 4 years ago

Hi! I'm new to both node and serverless so apologies in advance if this is dumb or I'm missing something obvious. In my project I installed serverless-iot-local according to the directions, but as soon as I add it to my plugins (above serverless-offline as documented) I get a fatal error that I'm not sure how to parse:

$ sls offline start

  Error --------------------------------------------------

  Error: Cannot find module 'serverless-offline/src/createLambdaContext'
  Your Environment Information ---------------------------
     Operating System:          darwin
     Node Version:              12.12.0
     Framework Version:         1.56.1
     Plugin Version:            3.2.1
     SDK Version:               2.1.2
     Components Core Version:   1.1.2
     Components CLI Version:    1.4.0

Let me know if I can provide more information or help to debug.

mvayngrib commented 4 years ago

@mikekaminsky can u check if this PR's branch fixes the issue? https://github.com/tradle/serverless-iot-local/pull/9

mikekaminsky commented 4 years ago

@mvayngrib this is going to be a dumb question but ... how do I install a node package from a github branch?