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
file:///private/var/folders/7t/thbq5c7x72q06b5c4c7dj6xc0000gn/T/test/index.mjs:1
const data = require('./data.json')
^
ReferenceError: require is not defined
at file:///private/var/folders/7t/thbq5c7x72q06b5c4c7dj6xc0000gn/T/test/index.mjs:1:14
at ModuleJob.run (internal/modules/esm/module_job.js:146:23)
at async Loader.import (internal/modules/esm/loader.js:165:24)
at async Object.loadESM (internal/process/esm_loader.js:68:5)
node #33460
write a test for
await Promise.resolve()
#33741
console.log(require)
test
The text was updated successfully, but these errors were encountered: