Replies: 8 comments 8 replies
-
|
I'm having the same problem. There's probably a file that gets included in a weird way that |
Beta Was this translation helpful? Give feedback.
-
|
You found any solution for this? Im stuck with the same issue and i cant use next dev since im having a custom server. |
Beta Was this translation helpful? Give feedback.
-
|
We switched to ts-node and nodemon. Works fine this way. |
Beta Was this translation helpful? Give feedback.
-
|
FYI, having the same issue, and I'm not using TS. |
Beta Was this translation helpful? Give feedback.
-
|
Found the issue with my problem. I have a package which contains the webpack configs for all the apps in the monorepo, and it exposes multiple different webpack configs. One of those configs required |
Beta Was this translation helpful? Give feedback.
-
|
Possible answer here: wclr/ts-node-dev#264 (comment) |
Beta Was this translation helpful? Give feedback.
-
|
Was there ever a concrete solution found? |
Beta Was this translation helpful? Give feedback.
-
|
The issue still exists with Next.JS 13. const nextConfig = {
// ...
experimental: {
workerThreads: true,
},
}; |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
What version of Next.js are you using?
10.0.8
What version of Node.js are you using?
15.6.0
What browser are you using?
Chrome
What operating system are you using?
Ubuntu-20
How are you deploying your application?
cross-env NODE_ENV=development TS_NODE_PROJECT=tsconfig.server.json ts-node-dev --ignore-watch .next --rs --no-notify --respawn --transpile-only server
Describe the Bug
Expected Behavior
Start well
To Reproduce
Repo: https://github.com/prisma-cms/nextjs/tree/ts-node-dev-error
On next.js <= 10.0.7 works fine.
Beta Was this translation helpful? Give feedback.
All reactions