`layout.js` not created with `npm run dev`
Unanswered
Lilac posted this in #help-forum
LilacOP
I am following a tutorial in
https://nextjs.org/learn/react-foundations/installation
but do not get the
I wonder if the tutorial is outdated, or I overlooked some step.
https://nextjs.org/learn/react-foundations/installation
but do not get the
layout.js file created after running npm run dev, which seems to be the reason I get due to the lack of that supposed-to-be-created file.Runtime Error
Missing <html> and <body> tags in the root layout.
Read more at https://nextjs.org/docs/messages/missing-root-layout-tagsI wonder if the tutorial is outdated, or I overlooked some step.
2 Replies
Greenish Elaenia
try this