Artem Kalantai
05/31/2021, 8:25 AM{
"errorType": "Runtime.ImportModuleError",
"errorMessage": "Error: Cannot find module 'punycode/'\nRequire stack:\n- /var/task/googleDriveToS3.js\n- /var/runtime/UserFunction.js\n- /var/runtime/index.js",
"stack": [
"Runtime.ImportModuleError: Error: Cannot find module 'punycode/'",
"Require stack:",
"- /var/task/googleDriveToS3.js",
"- /var/runtime/UserFunction.js",
"- /var/runtime/index.js",
" at _loadUserApp (/var/runtime/UserFunction.js:100:13)",
" at Object.module.exports.load (/var/runtime/UserFunction.js:140:17)",
" at Object.<anonymous> (/var/runtime/index.js:43:30)",
" at Module._compile (internal/modules/cjs/loader.js:999:30)",
" at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)",
" at Module.load (internal/modules/cjs/loader.js:863:32)",
" at Function.Module._load (internal/modules/cjs/loader.js:708:14)",
" at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)",
" at internal/main/run_main_module.js:17:47"
]
}
[10:02 AM] it was working as usual, but at some point I started to have this error, when I use it through my machine - everything ok, previously I had the same issue and only what helped is remove all stack and create from scratch, but I can’t do it on prod
Artem Kalantai [10:59 AM]
nothing help…..Frank
Artem Kalantai
05/31/2021, 8:37 AMArtem Kalantai
05/31/2021, 11:37 AMArtem Kalantai
05/31/2021, 11:38 AMArtem Kalantai
05/31/2021, 11:38 AMFrank
sst deploy
failing with this error? Or is this a Lambda runtime error?
• are you running sst deploy
locally or thru a CI environment?
• you said it works now, did you redeploy to get it to work? Or have u not deployed and it magically worked again?Artem Kalantai
05/31/2021, 2:35 PMArtem Kalantai
05/31/2021, 2:35 PMArtem Kalantai
05/31/2021, 2:35 PMArtem Kalantai
05/31/2021, 2:35 PMArtem Kalantai
05/31/2021, 2:36 PMArtem Kalantai
05/31/2021, 3:05 PMArtem Kalantai
05/31/2021, 4:25 PMFrank
Dennis Dang
10/12/2021, 10:15 PMDennis Dang
10/13/2021, 3:15 AM