You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
WSL ubuntu 22.04
I have already installed node.js,whose version is 12.22.12 and installed packages according to the guideline.
When I run obj2gltf command line,
it shows:
/usr/local/lib/node_modules/obj2gltf/node_modules/cesium/Build/CesiumUnminified/index.cjs:28559
} else if (defined_default(import_meta?.url)) {
^
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 Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/usr/local/lib/node_modules/obj2gltf/node_modules/cesium/index.cjs:13:18)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
How can I solve it?
Thanks for your help!
The text was updated successfully, but these errors were encountered:
WSL ubuntu 22.04
I have already installed node.js,whose version is 12.22.12 and installed packages according to the guideline.
When I run obj2gltf command line,
it shows:
/usr/local/lib/node_modules/obj2gltf/node_modules/cesium/Build/CesiumUnminified/index.cjs:28559
} else if (defined_default(import_meta?.url)) {
^
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 Module.require (internal/modules/cjs/loader.js:887:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (/usr/local/lib/node_modules/obj2gltf/node_modules/cesium/index.cjs:13:18)
at Module._compile (internal/modules/cjs/loader.js:999:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
How can I solve it?
Thanks for your help!
The text was updated successfully, but these errors were encountered: