Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm run package not working #1689

Closed
RecoX opened this issue Sep 13, 2019 · 3 comments
Closed

npm run package not working #1689

RecoX opened this issue Sep 13, 2019 · 3 comments

Comments

@RecoX
Copy link
Contributor

RecoX commented Sep 13, 2019

What version of this package are you using?

What operating system, Node.js, and npm version?
node 8.16
npm 6.4

What happened?
When I run #npm run package i get this error:

Windows: Creating installer...
spawn mono ENOENT
Linux: Packaging electron...
Packaging app for platform linux x64 using electron v6.0.9
Linux: Packaged electron. /Users/lucasrecoaro/webtorrent-desktop/dist/WebTorrent-linux-x64
Linux: Creating deb...
Error executing command (Exited with status 127):
fakeroot dpkg-deb --build /var/folders/c3/zjfb46q560jgk6l6c86x3w880000gr/T/electron-installer-62005ZSwE45ZFVWDV/webtorrent-desktop_0.20.0_amd64
/usr/local/bin/fakeroot: line 176: dpkg-deb: command not found


@shreyasborse
Copy link

shreyasborse commented Sep 13, 2019

You are not able to generate .deb packages, Please try installing dpkg using

sudo brew install dpkg

@hicom150
Copy link
Contributor

As we have switched to https://github.com/electron-userland/electron-installer-debian for debian package creation, now we need this requirements 😉

  • node 8 or greater
  • fakeroot
  • dpkg

@feross feross closed this as completed in 6989484 Sep 14, 2019
@feross
Copy link
Member

feross commented Sep 14, 2019

I added a note to the readme about this: 6989484

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

No branches or pull requests

4 participants