--asar-unpack = "./node_modules/node-notifier/vendor/**" not working
See original GitHub issuewhadup!!!
part of my package.json:
"devDependencies": {
"coffee-script": "^1.10.0",
"electron-rebuild": "^1.0.2"
},
Executing on a Mac
electron-packager ./app/ \
"App Name" \
--platform="darwin" \
--arch="x64" \
--version="0.34.3" \
--out="dist/osx" \
--icon="./assets/osx/icon.icns" \
--app-bundle-id="com.app.name" \
--app-version="0.0.1" \
--ignore="node_modules/(electron-packager|electron-prebuilt)" \
--prune \
--asar \
--asar-unpack="node_modules/node-notifier/vendor/" \
Even though I use the option ‘prune’ and the option ‘ignore’ on the node modules “electron-packager”,“electron-prebuilt”, ‘app.asar.unpacked’ is NOT created
@Asar reported issue @node-notifier reported issue
any idea’s?
Thanks!!
Issue Analytics
- State:
- Created 8 years ago
- Comments:15 (14 by maintainers)
Top Results From Across the Web
Cannot get `asar-unpack` to work · Issue #390 - GitHub
Our Electron app uses convert from ImageMagick, and that needs some .xml files alongside the binary. Our electron folder ends up looking ...
Read more >Packaging Electron app into ASAR causes module not found ...
I am having an issue packing my application into a single .asar file. I am using electron-builder to initiate packing of the .asarfile....
Read more >Common Configuration - electron-builder
Node modules, that must be unpacked, will be detected automatically, you don't need to explicitly set asarUnpack - please file an issue if...
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 Free
Top 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
Okay, I’m sorry to say this but, why the fuck did you bother to help me in the first place if you don’t know a lot about asar? Can you forward this issue to someone who’s more familiar with asar? Or can you tell me at least where to look, so I can try to fix it my self? The least you can do is setting the asar dependency version to ‘0.8.3’ (the latest), you’r currently using ‘0.6.1’… There is a great chance that will help…
Since there hasn’t been a response to whether
--unpack-asar-dir
solved the issue in some time, I’m closing it. If the problem still exists, please feel free to reopen.