Hi!
I’ve bumped into a strange issue.
I’m using full-icu (https://www.npmjs.com/package/full-icu) to fix locale on the server and it was working ok.
But recently after updating some packages I keed bumping into errors:
[[[[[ /tmp/real-crm ]]]]]
=> Started proxy.
=> A patch (Meteor 1.8.1) for your current release is available!
Update this project now with ‘meteor update --patch’.
=> Errors prevented startup:While loading package montiapm:agent@2.36.1:
error: Command failed: /home/ivan133/.meteor/packages/meteor-tool/.1.8.0.13hdx0p.sg13++os.linux.x86_64+web.browser+web.browser.legacy+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm rebuild --update-binary
node: could not initialize ICU (check NODE_ICU_DATA or --icu-data-dir parameters)
node: could not initialize ICU (check NODE_ICU_DATA or --icu-data-dir parameters)
Basically NODE_ICU_DATA is not passed when meteor tries to rebuild package.
I’m running the app like this:
export NODE_ICU_DATA=node_modules/full-icu && meteor run --settings=settings-example.json
Also tried:
NODE_ICU_DATA=node_modules/full-icu meteor run --settings=settings-example.json
Results are the same.
So I have several questions:
1 Am I cooking it right? Does anyone else using full-icu too?
The only link I’ve found is https://github.com/meteor/node-legacy/blob/master/doc/api/intl.md and looks like it doesn’t help
2 Does anybody know a way to pass variables to packages / dependecies rebuild?
3 Maybe any other advices?