getting React is not defined
on brand new project
#17146
Replies: 5 comments
-
try to update nodejs |
Beta Was this translation helpful? Give feedback.
-
@vitaliemiron I don't think it's the node version.
See from here: https://nextjs.org/docs#system-requirements |
Beta Was this translation helpful? Give feedback.
-
What does your |
Beta Was this translation helpful? Give feedback.
-
Converted to a github discussion given this is not reproducible. |
Beta Was this translation helpful? Give feedback.
-
I think this might have had to do with me having a |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Bug report
Describe the bug
I just started a new next.js project using
yarn create next-app
I then ranyarn dev
within the generated folder and immediately get the error:ReferenceError: React is not defined
To Reproduce
yarn create next-app
yarn dev
Expected behavior
The app runs without error
System information
Beta Was this translation helpful? Give feedback.
All reactions