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

Building server needs @todesktop/cli #88

Open
JFGHT opened this issue Sep 27, 2022 · 2 comments
Open

Building server needs @todesktop/cli #88

JFGHT opened this issue Sep 27, 2022 · 2 comments

Comments

@JFGHT
Copy link

JFGHT commented Sep 27, 2022

So when trying to build the server of the last version 0.0.19, it shows:

$ yarn run build-ts
$ tsc --sourceMap false
/bin/sh: línea 1: todesktop: orden no encontrada
error Command failed with exit code 127.

So I installed the lib as global and it asks for a login.

@thanhlmm
Copy link
Owner

thanhlmm commented Sep 27, 2022

Hey try using yarn run build-ts && yarn package instead, I'm going to remove toDesktop

@JFGHT
Copy link
Author

JFGHT commented Sep 27, 2022

yarn make is also gone. I'm testing your solution now.

By the way, thanks for the quick answer!

Edit:

I am in Manjaro and that's why I am trying this approach.

What I'm getting:

$ CSC_IDENTITY_AUTO_DISCOVERY=false electron-builder
  • electron-builder  version=23.0.3 os=5.15.65-1-MANJARO
  • loaded configuration  file=package.json ("build" field)
  • writing effective config  file=dist/builder-effective-config.yaml
  • packaging       platform=linux arch=x64 electron=12.0.0 appOutDir=dist/linux-unpacked
  • asar usage is disabled — this is strongly not recommended  solution=enable asar and use asarUnpack to unpack files that must be externally available
  • asar usage is disabled — this is strongly not recommended  solution=enable asar and use asarUnpack to unpack files that must be externally available
  • building        target=deb arch=x64 file=dist/refi-app_0.0.19_amd64.deb
  • application Linux category is set to default "Utility"  reason=linux.category is not set and cannot map from macOS docs=https://www.electron.build/configuration/linux
Done in 85.68s.

Its building a .deb package isntead of an AppImage.

yarn package -l AppImage builds with that target but it doesn't work.

This is where Im stuck:

image

Edit2: created the -l snap and installed via:

sudo snap install --dangerous refi-app_0.0.19_amd64.snap which also gets frozen in the same screen.

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

2 participants