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 when starting local #47

Open
drizt opened this issue Feb 25, 2024 · 1 comment
Open

Error when starting local #47

drizt opened this issue Feb 25, 2024 · 1 comment

Comments

@drizt
Copy link

drizt commented Feb 25, 2024

[taurus@lix beat-machine]$ node --version
v18.18.2
[taurus@lix beat-machine]$ npm --version
9.8.1
[taurus@lix beat-machine]$ npm run dev

> [email protected] dev
> next dev -p 3009

Error: Next.js requires react >= 18.2.0 to be installed.
    at Object.<anonymous> (/home/taurus/develop/beat-machine/node_modules/next/dist/build/webpack-config.js:135:11)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
    at Module._extensions..js (node:internal/modules/cjs/loader:1310:10)
    at Module.load (node:internal/modules/cjs/loader:1119:32)
    at Module._load (node:internal/modules/cjs/loader:960:12)
    at Module.require (node:internal/modules/cjs/loader:1143:19)
    at mod.require (/home/taurus/develop/beat-machine/node_modules/next/dist/server/require-hook.js:64:28)
    at require (node:internal/modules/cjs/helpers:119:18)
    at Object.<anonymous> (/home/taurus/develop/beat-machine/node_modules/next/dist/server/dev/hot-reloader-webpack.js:34:64)
    at Module._compile (node:internal/modules/cjs/loader:1256:14)
@drizt
Copy link
Author

drizt commented Feb 25, 2024

Solved with npm install react@latest

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