Symbolic linked dependency's node_modules is not included in ASAR
See original GitHub issue- Version: 19.16.1
- Target:
mac --dir
If the dependency listed in package.json
is a symbolic link, for example, created by yarn link
, then that dependency’s node_modules
is not included in final ASAR, which made target app unable to run. This worked in electron-builder 19.10.0
Issue Analytics
- State:
- Created 6 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Symlinked `node_modules` structure - PNPM
pnpm's node_modules layout uses symbolic links to create a nested structure of dependencies. Every file of every package inside node_modules is a hard...
Read more >Electron builder not copying my dist/node_modules directory ...
Finally I found the way to do it, I had to tweak the configuration with a property that I found in the docs:...
Read more >Native Node Modules | Electron
Native Node.js modules are supported by Electron, but since Electron has a different application binary interface (ABI) from a given Node.js binary (due...
Read more >Options | electron-packager
Walks the node_modules dependency tree to remove all of the packages specified in the devDependencies section of package.json from the outputted Electron app....
Read more >Npm link set up advice and troubleshooting - Code Buckets
Because npm link works by installing links into your global node_modules, if you change version of node then they will all disappear. This...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@develar, this is still a problem for me. Dependencies which were symbolically linked via
yarn link
do not get packaged.I hope it is fixed now.