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.

Cannot create symlinks; skipping darwin platform on Windows

See original GitHub issue
  • v5.0.0
  • npm run clean:osx && electron-packager ./app \"sulu\" --out=dist --platform=darwin --arch=x64 --version=0.25.3 --icon=src/icon.icns
  • windows 7 32bit

Returns Cannot create symlinks; skipping darwin platform 😿

Issue Analytics

  • State:closed
  • Created 8 years ago
  • Comments:6 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
s-acommented, Jul 5, 2015

It works running cmd.exe as admin. Strange. I am always logged in as administrator! Anyway ty for help!

1reaction
kfranqueirocommented, Jul 5, 2015

That message is due to electron-packager working around #71 (which I see you’ve also commented on); without the workaround, electron-packager would just silently bail out in this situation.

You can try running as administrator on Windows to get around this, but even then, I’m not sure there’s a safe way to zip up the OS X app - I tried Windows’ built-in compressed folder and 7-zip and both trip up on the symlinks.

I’m inclined to close this and continue tracking #71.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Enabling Symlinks on Windows - Perforce
The user must be given the "Create Symbolic Links" privilege or be in a group that has been given that privilege.
Read more >
Why do you have to be an admin to create a symlink in ...
By default, only administrators can create symbolic links, because they are the only ones who have the SeCreateSymbolicLinkPrivilege ...
Read more >
I can package for windows but I keep getting an error if I want ...
You can't make dmg package from window if you are using electron-packager then you see they have already another package for dmg ,...
Read more >
Cannot create symbolic links as administrator - TechNet
I'm afraind that a year later the problem still exists, and the fix does not work. From an administrator (user: admin) shell:.
Read more >
Electron packager tutorial - Christian Engvall
Cannot create symlinks (on Windows hosts, it requires admin privileges); skipping darwin platform. Is this fixable, or do I have to create ......
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