Advertisement
Guest User

Untitled

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