1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
1
Hi, The fact that the error occurs even with a simplified index.js suggests the issue likely lies with deployment or configuration. While no widespread issues with Node.js 16.x in Lambda are known, trying a different runtime temporarily could help rule out any potential runtime-specific problems. Below are few things which I suggest:
- Inspect Deployment Package Content: Extract the ZIP file locally and verify that index.js is indeed present at the root level.
- Address Potential Caching Issues: Clear your browser cache and try deploying the function again.
- Increase Function Version: Create a new version of the function to force a fresh deployment.
- Switch Runtime (Temporarily): Try temporarily switch to a different Node.js runtime (e.g., 14.x) to isolate any potential runtime-specific issues.
- Additional Logs: Enable detailed logs and examine CloudWatch Logs for your function which should provide more comprehensive error information.
Hope this helps.
con risposta 3 mesi fa
Contenuto pertinente
- AWS UFFICIALEAggiornata un anno fa
- AWS UFFICIALEAggiornata 2 anni fa
- AWS UFFICIALEAggiornata 5 mesi fa