Replies: 4 comments 1 reply
-
@kentcdodds did you check this? |
Beta Was this translation helpful? Give feedback.
-
Hmmm... This is surprising to me. Removing the |
Beta Was this translation helpful? Give feedback.
-
can you test how how it work on macos?, maybe it is only a windows issue? |
Beta Was this translation helpful? Give feedback.
-
I've tested this issue on my virtual machines, and i can confirm that this is Windows issue only. updating this code fix the issue let newAppServer = execa.command(command, {
- stdio: "pipe",
+ stdio: ['ignore', 'pipe', 'pipe'],
+ shell: true,
env: {
NODE_ENV: "development",
PATH:
bin + (process.platform === "win32" ? ";" : ":") + process.env.PATH,
REMIX_DEV_HTTP_ORIGIN: stringifyOrigin(httpOrigin),
},
// https://github.com/sindresorhus/execa/issues/433
windowsHide: false,
}); I have report about it to Remix #6504 |
Beta Was this translation helpful? Give feedback.
-
We have this set up to run in development
Currently everything work without any issue.
However as soon as I add new ESM package and import it in the server code, the app stop responding at the import line.
i've tested :
For example,
epic-stack
current version ofchalk
which is used inserver/index.ts
is cjs, if you install the latest version (Chalk 5 is ESM), the server will not start at all, without changingdev:server
script as mention below.I've see this on Windows 11.
Can you all test it on your platform and report if you can reproduce this issue and if the script below fix it.
Changing
dev:server
to this script fix the issueWhen we get more info on this we can report it to remix
Beta Was this translation helpful? Give feedback.
All reactions