Skip to content
This repository has been archived by the owner on Aug 18, 2021. It is now read-only.

Getting error at serverless deploy #20

Open
bala1074 opened this issue May 29, 2020 · 1 comment
Open

Getting error at serverless deploy #20

bala1074 opened this issue May 29, 2020 · 1 comment

Comments

@bala1074
Copy link

npm install serverless-snyk --save

serverless.yml

plugins:
   - serverless-snyk

Getting error on serverless deploy

 Error: Cannot find module 'snyk/lib'
      at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15)
      at Function.Module._load (internal/modules/cjs/loader.js:506:25)
      at Module.require (internal/modules/cjs/loader.js:636:17)
      at require (internal/modules/cjs/helpers.js:20:18)
@akpsgit
Copy link

akpsgit commented Feb 11, 2021

Changing to snyk instead of snyk/lib solved it for me.

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

No branches or pull requests

2 participants