unfoldingWord / gateway-edit

Book Package harmonized view.
https://gatewayedit.com
MIT License
1 stars 4 forks source link

fixes build error while building with node >= 18 #595

Closed theNerd247 closed 9 months ago

theNerd247 commented 9 months ago

This is a temporary fix

Any machine building with node >= 18 runs into this issue: https://github.com/unfoldingWord/translation-helps-rcl/issues/121

A localized solution would be to export NODE_OPTIONS in the environment which executes yarn build in, however this environment is - for some reason - not copied to the process that executes node (maybe a next thing?). Thus, I am creating this PR so that myself and other developers using a later version of node can build without constantly manually editing the package.json

codecov[bot] commented 9 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Comparison is base (1671611) 51.64% compared to head (fa43758) 51.64%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #595 +/- ## ======================================== Coverage 51.64% 51.64% ======================================== Files 43 43 Lines 1336 1336 ======================================== Hits 690 690 Misses 646 646 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.