-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Support pnpm modules #1213
Comments
👋 Thanks for opening your first issue here! If you have a question about using Electron Packager, read the support docs. If you're reporting a 🐞 bug, please make sure you include steps to reproduce it. Development and issue triage is community-driven, so please be patient and we will get back to you as soon as we can. To help make it easier for us to investigate your issue, please follow the contributing guidelines. |
Any updates? |
Also interested in this. I don't suppose there's any news? Note: It seems to work if you use the |
@mika76 I haven't got it working with the |
|
Was there ever official resolution to this? Or is the solution still to use |
develar/app-builder#84 (comment) Looks like a solution was committed and is just awaiting a new release of |
I'm still seeing this issue on Windows and MacOS... any update? |
Preflight Checklist
Problem Description
When modules installed with pnpm the pruning leads to an error like this:
It happens because pnpm stores modules under .pnpm folder and creates symlinks only for modules in "dependencies" and "devDependencies", and probably
electron-packager
cannot find them.Proposed Solution
Fix the searching of modules under the symlinks and preserve node_modules that symlinks are linked to.
Additional Information
Actually, I found the PR that fixes looking to symlinks:
MarshallOfSound/flora-colossus#16
But it doesn't preserve the origin folders, so after the packaging, it leads to broken symlinks in the node_modules folder.
So I'm wondering is there a plan to support pnpm modules structure for electron projects?
The text was updated successfully, but these errors were encountered: