You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't think this is a codesandbox issue, might just be an incompatible node_module that lives in node_modules of the sandbox but doesn't get downloaded? Or maybe even next.js cache? There should be no difference between this and local as it's a docker container without any custom logic from us
To fix it I changed the dependency to "next": "10.2.0" and restarted the sandbox which causes a reinstall of node_modules and restart of the server. Not entirely sure how this all works internally, I think @lbogdan implemented most of the container sandbox logic.
The other issue you linked is a sandpack issue and will fix that one.
🐛 bug report
Preflight Checklist
Contributing Guidelines
for this project.
Code of Conduct
that this project adheres to.
to file, without success.
Description of the problem
I forked a code sandbox. The existing Next.js page file routes work well, but a new one I'm trying to create seems to fail to transpile.
How has this issue affected you? What are you trying to accomplish?
Just trying to create a repro for another bug in another library.
To Reproduce
Go to
/
page and see no issue.Go to
/login
page see the following run-time error:TypeError: Object(...) is not a function
Link to sandbox: link
The text was updated successfully, but these errors were encountered: