Bug in the next.js course

Scrimba mini-browser don’t work in the next-js course, see the screenshot attached.
Also, I can’t even watch the video since it’s constantly pausing and creating a fork, up to 10 times each seconds …
This probably need a fix.
Regards

1 Like

Here is the runtime console log :

dev
next dev

▲ Next.js 15.5.2

✓ Starting…
Using cached swc package @next/swc-wasm-nodejs…
✓ Ready in 1230ms
○ Compiling / …
✓ Compiled / in 2.1s (517 modules)
⨯ [Error [InvariantError]: Invariant: Expected workUnitAsyncStorage to have a store. This is a bug in Next.js.]
⨯ [Error [InvariantError]: Invariant: Expected workUnitAsyncStorage to have a store. This is a bug in Next.js.] {
page: ‘/’
}
○ Compiling /_error …
✓ Compiled /_error in 1233ms (857 modules)
:warning: Fast Refresh had to perform a full reload due to a runtime error.
GET / 500 in 3982ms
✓ Compiled /about in 209ms (859 modules)
⨯ [Error: The default export is not a React Component in “/about/page”]
⨯ [Error: The default export is not a React Component in “/about/page”] {
page: ‘/about’
}
GET /about 500 in 472ms

I am experiencing this issue as well.

Sorry guys, our Next.js course is really playing up for some reason. This issue has been going on for a while but we’re still unsure why it appears. Does this happen after a certain point in the course or its kind of random.

No worries! It actually happens in the Build A Next.js App section. Specifically the ‘Adding a new page to our site’ challenge and the ‘File-base routing in Next.js’ challenge. After that I haven’t had any issues. The pausing and creating a scrim issue after a challenge can actually be mitigated by stopping the Runner before submitting the solution. Thanks so much for looking into it!

The whole Fullstack Path is great and I’m learning a ton!

1 Like