-
-
Notifications
You must be signed in to change notification settings - Fork 4.2k
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
[bug]: pnpm install failed with Module '"@prisma/client"' has no exported member XXX
#3373
Comments
I also tried remove |
@liudonghua123 this is a known issue with Windows platform, we currently have a temporary fix. Could you replace the import |
@balub Thanks, is it a common or general issue related to typescript or just prisma? Is there any existed issue about this problem? The temporary fix needs to change a lot of code. I tried to replace the |
After some search, I found some help links, prisma/prisma#13672 (comment), prisma/prisma#13946 (comment), https://github.com/orgs/pnpm/discussions/4331, https://pnpm.io/next/npmrc#node-linker, https://nodejs.org/api/cli.html#node_preserve_symlinks1. So maybe pnpm in monorepo project on windows with some default configuration like Need to disable |
I tried run pnpm with Details``` D:\code\rust\hoppscotch-app\hoppscotch>set NODE_OPTIONS="--preserve-symlinks"D:\code\rust\hoppscotch-app\hoppscotch>rm -rf node_modules\ && pnpm install dependencies:
devDependencies:
packages/dioc prepare$ pnpm run build D:\code\rust\hoppscotch-app\hoppscotch>
|
I tried the following hacks to fix
|
After I add
It seems it related to vitejs/vite#9703, vu3th/vue-dapp#20 (comment). And I added the following
|
same problem.have you solved it |
First |
same problem in windows |
dosen't work |
Is there an existing issue for this?
Current behavior
I tried to execute
pnpm install
on windows. But some errors occured!Steps to reproduce
Environment
Production
Version
Local
The text was updated successfully, but these errors were encountered: