-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Remix Vite cannot run with pnpm on Windows #8117
Comments
@pcattori This is the same error I got that you told me to create an issue on the repo about in discord. You can also reproduce this in Remix Dev Tools:
I get the same error, but it's not pnpm related, but rather monorepo/windows issue? I'd assume? Here is my error log, as you can see, it also starts with "fs" :
Also I've noticed that it goes away IF I remove my rdt vite plugin, but the plugin itself does nothing to make this error happen, I just add some imports inside of root.tsx, I don't mess with the existing codebase |
I think this is a duplicate of #7722 (comment) |
I tried the version |
@hi-ogawa also can confirm it works now, sweet, this will speed up my remix dev tools vite plugin development by a ton! |
Reproduction
Clone this repo, then run
pnpm i
.Finally, execute
pnpm run build
in the workspace package.System Info
Used Package Manager
pnpm
Expected Behavior
The project can be built successfully.
Actual Behavior
After executing the command, an error is triggered.
After debugging, I temporarily modified the code in
node_modules
.I edited the file
remix/packages/remix-dev/vite/plugin.ts
Line 94 in e5d24b4
/
after@fs
, which resolved the issue for me.The text was updated successfully, but these errors were encountered: