skip to Main Content

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 –
enter image description here

Here is the screenshot of the error –
enter image description here

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


  1. 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.

    enter image description here

    Login or Signup to reply.
  2. I am also facing the same issue, attaching screenshot. Not sure how to get this resolved
    error screenshot

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search