Skip to content
This repository has been archived by the owner on Jan 13, 2024. It is now read-only.

Support opn #207

Closed
FallingSnow opened this issue Aug 25, 2017 · 10 comments
Closed

Support opn #207

FallingSnow opened this issue Aug 25, 2017 · 10 comments

Comments

@FallingSnow
Copy link

Using opn in a packaged program results in the error below.

Error: spawn /snapshot/deploy/node_modules/opn/xdg-open ENOENT 

Is there a special setting on pkg that I am supposed to use?

More info: sindresorhus/open#61

@harisvsulaiman
Copy link

I got the same issue, it Seems like pkg doesn't package shell scripts. @igorklopov could you elaborate the reason for closing this issue.

@FallingSnow
Copy link
Author

He closed the issue via a commit, which means he fixed the issue. The fix may not have hit a stable version yet.

@harisvsulaiman
Copy link

@FallingSnow Did not know that! thank you!

@Mikanebu
Copy link

@FallingSnow When will you release a stable version with this fix? Thanks

@FallingSnow
Copy link
Author

I have no power over this repository or pkg.

@Mikanebu
Copy link

@igorklopov When will you release a stable version with this fix? Thanks

@igorklopov
Copy link
Contributor

@Mikanebu please try again with pkg@4.2.5

@harisvsulaiman
Copy link

@igorklopov seems to be working for me!

@anuveyatsu
Copy link

anuveyatsu commented Jan 31, 2018

@igorklopov this didn't help me and I'm getting following warning when "pkging":

> Warning Cannot include file %1 into executable.
  The file must be distributed with executable as %2.
  node_modules/opn/xdg-open
  path-to-executable/xdg-open

can this be a reason? Any suggestion would be very helpful.

@daviscodesbugs
Copy link

Seeing the same issue as @anuveyatsu

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants