Electron und pnpm

In order to use with pnpm, you’ll need to adjust your .npmrc to use any one the following approaches in order for your dependencies to be bundled correctly (ref: #6389):

node-linker=hoisted
public-hoist-pattern=*
shamefully-hoist=true

Note: Setting shamefully-hoist to true is the same as setting public-hoist-pattern to *.

Quelle: https://www.electron.build/index.html#note-for-pnpm

Bewertung der FAQ

0 (0 Abstimmungen)

Tags