jzimmek / serverless-plugin-node-shim

Serverless plugin to run your functions in nodejs version (8 LTS, 9+) on aws lambda

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error on deploy

ramiel opened this issue · comments

When deploying I get this error

Serverless: Applying node-shim...

[.....]/node_modules/serverless-plugin-node-shim/index.js:89
                    this.serverless.service.custom.nodeShim.execPath
                                                   ^

TypeError: Cannot read property 'nodeShim' of undefined

this happens if I run sls deploy

Sorry, I forgot to include this in the serverless configuration

custom:
  nodeShim:
    execPath: node-v8.9.4-linux-x64/bin/node