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

[BUG] Can't run node on node 19.9 and 20.11 #25

Open
davidbonachera opened this issue Mar 21, 2024 · 1 comment
Open

[BUG] Can't run node on node 19.9 and 20.11 #25

davidbonachera opened this issue Mar 21, 2024 · 1 comment

Comments

@davidbonachera
Copy link

Describe the bug

Look like the installer won't resolve some module. in 19 and 20, not sure if there is any experimental or old feature used that are deprecated since that. It runs perfectly in 18.

Installing with node 20

❯ npx create-turbo-eth@latest
node:internal/modules/cjs/loader:1147
  throw err;
  ^

Error: Cannot find module '/Users/david/Lab/sandbox/node'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1144:15)
    at Module._load (node:internal/modules/cjs/loader:985:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:135:12)
    at node:internal/main/run_main_module:28:49 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v20.11.1

Installing with node 19

❯ npx create-turbo-eth@latest
node:internal/modules/cjs/loader:1093
  throw err;
  ^

Error: Cannot find module '/Users/david/Lab/sandbox/node'
    at Module._resolveFilename (node:internal/modules/cjs/loader:1090:15)
    at Module._load (node:internal/modules/cjs/loader:934:27)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:83:12)
    at node:internal/main/run_main_module:23:47 {
  code: 'MODULE_NOT_FOUND',
  requireStack: []
}

Node.js v19.9.0

Expected behavior

Expecting the installer to run.

Steps to reproduce

  1. nvm install 19
  2. nvm use 19
  3. npx create-turbo-eth@latest
  4. repeat with 20

Additional context

No response

Operating system

macOS

create-turbo-eth version or commit hash

create-turbo-eth@latest

@positonic
Copy link

I have the same issues.

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

2 participants