AWS Lambda Node.js Full-ICU
问题 I run node.js app localy with this command: $ node --icu-data-dir=node_modules/full-icu app.local.js How to specify icu-data-dir in AWS Lambda environment? Thanks 回答1: You should set the NODE_ICU_DATA environment variable so that it points to a directory where the correct ICU .dat file can be found. If you install the full-icu package using the node version that matches the one used by your lambdas, you should automatically get the correct .dat file. E.g. when using the runtime nodejs10.x :