Pre-flight checklist
Problem description
When using pnpm, forge requires node-linker=hoisted in the project's .npmrc configuration. If the project is a monorepo with electorn inside e.g root/app, node-linker=hoisted means all node-modules are hoisted into the root/node_modules.
However electron-forge expects the node-modules to be present in the apps-root (root/app/node_modules) and therewith wont resolve native modules during build...
Proposed solution
Support linked node-modules to be compatible with pnpm stores
Alternatives considered
Additional information
No response
Pre-flight checklist
Problem description
When using pnpm, forge requires
node-linker=hoistedin the project's .npmrc configuration. If the project is a monorepo with electorn inside e.groot/app, node-linker=hoisted means all node-modules are hoisted into theroot/node_modules.However electron-forge expects the node-modules to be present in the apps-root (
root/app/node_modules) and therewith wont resolve native modules during build...Proposed solution
Support linked node-modules to be compatible with pnpm stores
Alternatives considered
Additional information
No response