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
node thyme.js
nCube-Thyme-Nodejs\conf.js:16
var nanoid = require("nanoid");
^
Error [ERR_REQUIRE_ESM]: require() of ES Module nCube-Thyme-Nodejs\node_modules\nanoid\index.js from nCube-Thyme-Nodejs\conf.js not supported.
Instead change the require of index.js in nCube-Thyme-Nodejs\conf.js to a dynamic import() which is available in all CommonJS modules.
at Object. (nCube-Thyme-Nodejs\conf.js:16:14)
at Object. (nCube-Thyme-Nodejs\thyme.js:20:15) {
code: 'ERR_REQUIRE_ESM'
}
Node.js v18.12.1
The text was updated successfully, but these errors were encountered:
nCube-Thyme-Nodejs/conf.js
Line 16 in e377ba1
Error [ERR_REQUIRE_ESM]: require() of ES Module nCube-Thyme-Nodejs\node_modules\nanoid\index.js from nCube-Thyme-Nodejs\conf.js not supported.
Instead change the require of index.js in nCube-Thyme-Nodejs\conf.js to a dynamic import() which is available in all CommonJS modules.
at Object. (nCube-Thyme-Nodejs\conf.js:16:14)
at Object. (nCube-Thyme-Nodejs\thyme.js:20:15) {
code: 'ERR_REQUIRE_ESM'
}
Node.js v18.12.1
The text was updated successfully, but these errors were encountered: