clintropolis opened a new pull request, #14458:
URL: https://github.com/apache/druid/pull/14458

   ### Description
   Update nodejs and npm version for `website` to match `web-console`. Prior to 
this change, website build via maven would fail with an error like 
   ```
   [INFO] --- exec-maven-plugin:1.6.0:exec (build-docs) @ druid-website ---
   Building to docs for '27.0.0-SNAPSHOT' to ../../druid-website-src ...
   
   > @ compile-scss /Users/clint/workspace/clintropolis/druid/website
   > sass scss/custom.scss > static/css/custom.css
   
   
/Users/clint/workspace/clintropolis/druid/website/node_modules/sass/sass.dart.js:6
   var self = dartNodeIsActuallyNode ? Object.create(globalThis) : globalThis;
                                                     ^
   
   ReferenceError: globalThis is not defined
       at Object.exports.load 
(/Users/clint/workspace/clintropolis/druid/website/node_modules/sass/sass.dart.js:6:51)
   ```
   
   After swapping to a newer nodejs version, it appears to build successfully.
   
   I went ahead and committed the `i8n/en.json` changes since they seemed 
harmless, but i can revert them if it bothers anyone...
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to