/student-apps/1771380 adec215dsx0640/submission/src/handler.js:1
const { nanoid } = require('nanoid');
^
Error [ERR_REQUIRE_ESM]: require() of ES Module /student-apps/1771380 adec215dsx0640/submission/node_modules/nanoid/index.js from /student-apps/1771380 adec215dsx0640/submission/src/handler.js not supported.
Instead change the require of index.js in /student-apps/1771380 adec215dsx0640/submission/src/handler.js to a dynamic import() which is available in all CommonJS modules.
at Object. (/student-apps/1771380 adec215dsx0640/submission/src/handler.js:1:20)
at Object. (/student-apps/1771380 adec215dsx0640/submission/src/routes.js:7:5)
at Object. (/student-apps/1771380 adec215dsx0640/submission/src/server.js:3:16) {
code: 'ERR_REQUIRE_ESM'
}
0 jempol