Replies: 2 comments 5 replies
-
"engines": {
"node": ">=14.0.0"
}, nodejs 12 was introduced in 2019-04-23 and had end-of-life in 2022-04-30 which is 2 years ago. |
Beta Was this translation helpful? Give feedback.
4 replies
-
|
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am referring to the instruction in (https://github.com/vladmandic/human/tree/main/demo/nodejs) for running the Human Demos for NodeJS.
I have tried (node demo/nodejs/node.js) from a terminal. However, I get the following error message. I wonder if it a version compatibility issue or something else. I am using v12.22.9 on Ubuntu 22.04.4 LTS
~/human/demo/nodejs/node.js:68
log.data('Image bytes:', buffer?.length, 'buffer:', buffer?.slice(0, 32));
^
SyntaxError: Unexpected token '.'
at wrapSafe (internal/modules/cjs/loader.js:915:16)
at Module._compile (internal/modules/cjs/loader.js:963:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
at Module.load (internal/modules/cjs/loader.js:863:32)
at Function.Module._load (internal/modules/cjs/loader.js:708:14)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
at internal/main/run_main_module.js:17:47
Beta Was this translation helpful? Give feedback.
All reactions