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

Command failed /tmp/node_modules/electron/dist/electron: No such file or directory #2

Open
luisnquin opened this issue Dec 25, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@luisnquin
Copy link

Describe the bug
Apparently the CLI is not correctly executed when called

AssistantCli Version
Add the version of your AssistantCli

To Reproduce
Steps to reproduce the behavior:

  1. Launch command 'npx assistant-cli || npm install assistant-cli'
  2. This error is displayed:
Error: Command failed: /tmp/node_modules/electron/dist/electron --no-logging /tmp/node_modules/assistant-cli/dist/fetch-token.js
/bin/sh: línea 1: /tmp/node_modules/electron/dist/electron: No such file or directory

    at checkExecSyncError (node:child_process:871:11)
    at execSync (node:child_process:943:15)
    at getToken (/tmp/node_modules/assistant-cli/dist/app.js:25:21)
    at /tmp/node_modules/assistant-cli/dist/app.js:58:18
    at Generator.next (<anonymous>)
    at fulfilled (/tmp/node_modules/assistant-cli/dist/app.js:5:58)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  status: 127,
  signal: null,
  output: [
    null,
    <Buffer >,
    <Buffer 2f 62 69 6e 2f 73 68 3a 20 6c c3 ad 6e 65 61 20 31 3a 20 2f 74 6d 70 2f 6e 6f 64 65 5f 6d 6f 64 75 6c 65 73 2f 65 6c 65 63 74 72 6f 6e 2f 64 69 73 74 ... 37 more bytes>
  ],
  pid: 9219,
  stdout: <Buffer >,
  stderr: <Buffer 2f 62 69 6e 2f 73 68 3a 20 6c c3 ad 6e 65 61 20 31 3a 20 2f 74 6d 70 2f 6e 6f 64 65 5f 6d 6f 64 75 6c 65 73 2f 65 6c 65 63 74 72 6f 6e 2f 64 69 73 74 ... 37 more bytes>
}

Expected behavior
The program runs normally

Screenshots
image

CLI (please complete the following information):

  • OS: NixOS
  • OS Version 23.05
@luisnquin luisnquin added the bug Something isn't working label Dec 25, 2022
@diciaup
Copy link
Owner

diciaup commented Dec 27, 2022

Thanks for the feedback! It will be solved on next release

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants