Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Cannot find module 'esm' #84

Open
cgobbet opened this issue Oct 16, 2022 · 0 comments
Open

Error: Cannot find module 'esm' #84

cgobbet opened this issue Oct 16, 2022 · 0 comments

Comments

@cgobbet
Copy link

cgobbet commented Oct 16, 2022

hello! I am trying to install Awake locally on my machine, but after installing all dependencies, I can't make it run, receiving the error message below:

> [email protected] dev
> npm run before-build && nuxt -o && npm run after-build


> [email protected] before-build
> node -r esm ./build-tools/beforeBuild.js

node:internal/modules/cjs/loader:998
  throw err;
  ^

Error: Cannot find module 'esm'
Require stack:
- internal/preload
    at Module._resolveFilename (node:internal/modules/cjs/loader:995:15)
    at Module._load (node:internal/modules/cjs/loader:841:27)
    at Module.require (node:internal/modules/cjs/loader:1061:19)
    at Module._preloadModules (node:internal/modules/cjs/loader:1336:12)
    at loadPreloadModules (node:internal/process/pre_execution:597:5)
    at prepareMainThreadExecution (node:internal/process/pre_execution:104:3)
    at node:internal/main/run_main_module:10:1 {
  code: 'MODULE_NOT_FOUND',
  requireStack: [ 'internal/preload' ]
}

Node.js v18.11.0

Node installed properly. Could you let me know what is missing? Thanks in advance!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant