Silverdagger
Silverdagger4d ago

Could not build NextJS project

Hello , after the new releashe I tried to use deno for one of my nextjs projects and failed to build it. Using "deno tansk build" gave me a "Failed to compile. Error: The file or directory is not a reparse point. (os error 4390): readlink" It works fine in dev mode though
5 Replies
bartlomieju
bartlomieju4d ago
Could you please open an issue in Github with as much info as possible? Seems like a windows specific bug
Silverdagger
Silverdagger4d ago
GitHub
Building a NextJS Project in windows fails · Issue #26179 · denolan...
Failing to build a NextJS project using deno in windows. When i use "deno task build" I get the following response : Task build next build Ignoring signal "SIGABRT" on Windows I...
bartlomieju
bartlomieju4d ago
Thanks!
Silverdagger
Silverdagger4d ago
Also i have a similar problem with remix - Although the app builds, there it doesn't run with "deno task start" i get
Task start remix-serve ./build/server/index.js
error: Uncaught (in promise) SyntaxError: The requested module 'react-dom/server' does not provide an export named 'renderToPipeableStream' at file:///Q:/Workspace/remix-test/build/server/index.js?t=1728729463249:6:10
at async run (file:///Q:/Workspace/remix-test/node_modules/@remix-run/serve/dist/cli.js:111:15)
Task start remix-serve ./build/server/index.js
error: Uncaught (in promise) SyntaxError: The requested module 'react-dom/server' does not provide an export named 'renderToPipeableStream' at file:///Q:/Workspace/remix-test/build/server/index.js?t=1728729463249:6:10
at async run (file:///Q:/Workspace/remix-test/node_modules/@remix-run/serve/dist/cli.js:111:15)
Deno works fine in dev mode with this as well
bartlomieju
bartlomieju3d ago
Could you please open a separate issue for that? I don't have a definite answer, but I think someone on the team might be able to help with it