sn-translate
Installation
npm i sn-translate
Troubleshooting
-
TypeError: Cannot redefine property: __TRANSLATIONS__
(this defect should be fixed in >19.0.0)- You have more than one instance/version of sn-translate/@servicenow/library-translate being required. Check transitive dependencies for other versions of sn-translate & sync your version of sn-translate w/ that version
- If you're unable to collapse to one version of sn-translate & must maintain a transitive dependency on <19.0.0,
SN_TRANSLATE_COMPAT=1
can be used in the CLI during testing, e.g.SN_TRANSLATE_COMPAT=1 tectonic test unit