Questions tagged [node-js-14]

4 questions
6
votes
2 answers

Cannot import package in AWS lambda with Nodejs14.x ES module

I have a layer where the path of node_modules is nodejs/node14/node_modules. Using that layer, and I try to import a package in a Lambda function, say 'aws-cloudfront-sign', like this: import cfsign from 'aws-cloudfront-sign' I got error…
Lam
  • 93
  • 1
  • 2
  • 7
1
vote
0 answers

Object.writeFileSync - Received type number

I have old monolith app written in NodeJS. It requires lots of node_modules. Application is exiting, because of unhandled exception which is happening in some of the modules. You have triggered an unhandledRejection, you may have forgotten to catch…
Dušan Panić
  • 74
  • 1
  • 7
0
votes
0 answers

Installation failure Capture-website-cli 3-0-1 and nodejs 14

Restart: in my Question I have shortend a long story. https://stackoverflow.com/questions/76249271/puppeeer-old-headless-deprecation-warning-capture-website-cli-3-0-1 This may cause why it was ignored. So I deleted it. To begin with again. I am…
0
votes
1 answer

Locally run Lambda would not log all outputs

I have the following Lambda. const AWS = require('aws-sdk'); exports.lambdaHandler = async (event, context) => { console.log("START v5"); const SNSarn = process.env.SNS; console.log(SNSarn); const snsParams={ Message:…
Itay Moav -Malimovka
  • 52,579
  • 61
  • 190
  • 278