serverless-crypt
serverless-crypt copied to clipboard
Cannot find module 'slscrypt'
When attempting to decrypt I get the error in the title
const slscrypt = require('slscrypt');
slscrypt.get($SECRET_NAME);
I can temporarily fix it locally by using the node_modules path in the require()
const slscrypt = require('./node_modules/serverless-crypt/dists/slscrypt');
Any update on fixing this defect?
I ended up pulling the function out of the npm files and put it in one of my own
any update on this issue ?
What is your package
section of serverless.yml
? If it had broad wildcard excludes, that was fixed in #13
which is in the v0.0.4 release. Tho I never tested that against nodejs, only python.