AWS Lambda Node.js Full-ICU

匿名 (未验证) 提交于 2019-12-03 01:34:02

问题:

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:

As pointed in the node.js docs, you can also use an environment variable, such as NODE_ICU_DATA=/some/directory.

You can easily setup environment variables in your lambda instance settings.



标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!