-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementation in AWS Lambda? #31
Comments
@ridvankartal I'm not sure (sorry for late response). But I am guessing that the paths you end up for the installed data are different than the paths expected. |
It's possible that the ICU .dat file (installed by full-icu) is not present in the path defined by NODE_ICU_DATA. It's also possible that the version of the ICU .dat file is you're trying to use is different from what your Lambda runtime version is using. I ran into the latter issue when upgrading the runtime version of some old lambdas (my dev environment was using node 10.0, the new lambda runtime was nodejs10.x and needed a different version of the .dat). See: This stack overflow answer and this one |
According to nodejs/Release#483 (comment) the nodejs version can shift on lambda. I will continue the discussion there, but some comments for reference:
also,
|
How can I implement this to AWS Lambda?
I have tried a lot of variation for NODE_ICU_DATA, I get following error:
"/var/lang/bin/node: could not initialize ICU (check NODE_ICU_DATA or --icu-data-dir parameters)"
The text was updated successfully, but these errors were encountered: