To install Next.js 13.4.12
, I am using the command npx [email protected]
. Everything works fine and all the dependencies are installed with no problems. However as soon as I run the server npm run dev
. I get this weird error –
byte index 6 is out of bounds of ude
⨯ ./app/layout.tsx
Error: failed to process byte index 6 is out of bounds of ude
Import trace for requested module:
./app/layout.tsx
⚠ Fast Refresh had to perform a full reload due to a runtime error.
Here is the screenshot for the installtion –
Here is the screenshot of the error –
The error log can be found on pastebin. (Please take a look if needed, I uploaded it to pastebin to not make a lot of clutter here)
Please help me out with this I have tried a lot of things but unfortunately nothing seems to work. Thank you.
2
Answers
Faced the same issue. Tried downgrading the next version to 13.4.6 and it worked.
I had a week old project which was working and this was the difference between the old & the new one which I created today.
I am also facing the same issue, attaching screenshot. Not sure how to get this resolved
error screenshot