question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

--asar-unpack = "./node_modules/node-notifier/vendor/**" not working

See original GitHub issue

whadup!!!

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:closed
  • Created 8 years ago
  • Comments:15 (14 by maintainers)

github_iconTop GitHub Comments

12reactions
MathijsvVeldecommented, Nov 16, 2015

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…

1reaction
maleptcommented, Mar 8, 2016

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found