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.

Symlinks in asarUnpack are not copied

See original GitHub issue
  • Version: 15.2.0
  • Target: Linux x64

With the asarUnpack option, it is possible to specify directories. The symlinks in those will not be copied in the app.asar.unpack/ destination folder.

I think we can see here that only files are added to the array filesToUnpack, and that no symlink will be added to filesToUnpack.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:7
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

9reactions
develarcommented, Mar 15, 2017

Workaround: set asar to false.

3reactions
Slapboxcommented, Apr 29, 2018

Is there anything we can try to resolve this? I tried adding the relevant folders to asarUnpack, but no luck with that. In particular, I’m having an issue with Lovell’s Sharp

Linux Mint 18.3 x64 Electron-builder 20.8.1 Node 8.11.1 npm 5.6.0

Thanks for all your hard work and any ideas you might have.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Windows 7 / Symlinks - How do I copy a Symlink to a directory?
My source symbolic link was on another server and it gave the error, "File not found. 0 files copied" but still seemed to...
Read more >
Batch script to copy symbolic links as is but not overwrite ...
I tried this to not overwrite but it doesn't preserve Symbolic links and instead copies resolved files Copy files without overwrite
Read more >
This file/folder will not be copied because it is a symbolic link ...
There is no solution for creating the same behavior in SharePoint as this feature does not exist. You can remove the symbolic links...
Read more >
Symbolic link - Wikipedia
In computing, a symbolic link is a file whose purpose is to point to a file or directory ... The specified file is...
Read more >
Advanced Symbolic Link Options (ascp)
Option, Description. copy, Copy only the alias file. If a file with the same name exists at the destination, the symbolic link will...
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