Comments (3)
Oh, sorry. I added some code that uses a JavaScript feature that your Node environment predates. The feature in question has been supported by Node since version 14, released April 2020, and all earlier versions no longer receive security updates. So I’m tempted to say that you should just update Node - it’ll be good for security and will fix this error - but removing that use of “new” syntax is also an option. I’ll let @dstillman weigh in too.
from translation-server.
Downgrading to 65559e2 fixes the error for us. Noting commands to downgrade:
git checkout 65559e2a349e7cb19839577202fd6ebf7c1faa69
git submodule update --init
git submodule update --remote --merge modules/translators
Output of git submodule status
:
a9308c0e8632846ca2dc069a1b72db0a33f99ca6 modules/translate (heads/master-1-ga9308c0)
+23b2f425845b7cb9ab1c4a3425ddaddaedb9d156 modules/translators (3.0b1-4932-g23b2f425)
9390fa2a4fd749688f2cf78e8a62a716643f4b90 modules/utilities (heads/master-5-g9390fa2)
b5b3f51217a99b3c41585d468ee1dc0837233d13 modules/zotero-schema (b5b3f51)
But would still like to not be pinned to an old version of translation-server so worth figuring this out.
from translation-server.
The feature in question has been supported by Node since version 14, released April 2020, and all earlier versions no longer receive security updates.
Ah great to know! We'll update Node on our end.
from translation-server.
Related Issues (20)
- translation-server should exclude css/html/js from metadata - site is returning js and css in author field. HOT 1
- Get PDF URL from PubMed? HOT 2
- Building new translators issue: "ReferenceError: filename is not defined" HOT 3
- Exposing used translator(s)
- Add 10 to CI? HOT 1
- Failing on Unicode in URLs HOT 1
- worldcat blocking? HOT 1
- worldcat failures HOT 2
- Internal server error for a NYTimes URL HOT 10
- How to use text search HOT 2
- Node.js 10 End of life HOT 1
- npm WARN tar ENOENT: no such file or directory
- Error: Cannot find module 'w3c-xmlserializer/lib/XMLSerializer' HOT 1
- Proposal: Rename `default.json` to `default.json5` HOT 1
- Web query returning multiple results with single=1 on some websites HOT 2
- Question: How is the key hash generated? HOT 2
- AWS Lambda Execution Failed " Cannot find module '/var/task/modules/translate/src/promise" HOT 8
- installation failure HOT 1
- ReferenceError: requestText is not defined HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from translation-server.