Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- internal/modules/cjs/loader.js:1149
- throw new ERR_REQUIRE_ESM(filename, parentPath, packageJsonPath);
- ^
- Error [ERR_REQUIRE_ESM]: Must use import to load ES Module: C:\Users\Adam\Documents\disco\src\bot.js
- at Object.Module._extensions..js (internal/modules/cjs/loader.js:1149:13)
- at Module.load (internal/modules/cjs/loader.js:977:32)
- at Function.Module._load (internal/modules/cjs/loader.js:877:14)
- at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:74:12)
- at internal/main/run_main_module.js:18:47 {
- code: 'ERR_REQUIRE_ESM'
- }
- npm ERR! code ELIFECYCLE
- npm ERR! errno 1
- npm ERR! [email protected] test: `node .`
- npm ERR! Exit status 1
- npm ERR!
- npm ERR! Failed at the [email protected] test script.
- npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
- npm ERR! A complete log of this run can be found in:
- npm ERR! C:\Users\me\AppData\Roaming\npm-cache\_logs\2023-03-04T20_36_55_826Z-debug.log
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement