Skip to content

disconnect and throw this error each time #484

Open

Description

@al3ahel

Error: spawn npm ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn npm',
path: 'npm',
spawnargs: [ 'install', '--include=dev' ]
}
node:internal/process/promises:391
triggerUncaughtException(err, true /* fromPromise */);
^

Error: spawn npm ENOENT
at ChildProcess._handle.onexit (node:internal/child_process:286:19)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -4058,
code: 'ENOENT',
syscall: 'spawn npm',
path: 'npm',
spawnargs: [ 'install', '--include=dev' ]
}

Activity

  1. aakash-a-dev commented on Feb 13, 2025

    @aakash-a-dev
    Contributor

    I believe you're using Windows

  2. mosi-sol commented on Mar 10, 2025

    @mosi-sol

    I believe you're using Windows

    I believe Windows is terrible, but some users have the same problem. Is there a solution for them? Like wsl!

  3. aakash-a-dev commented on Mar 10, 2025

    @aakash-a-dev
    Contributor

    Yes in wsl it works

  4. mosi-sol commented on Mar 12, 2025

    @mosi-sol

    @aakash-a-dev
    I'm trying on a Windows system (for test this issue) and tried running the app with WSL. However, after launching the app and installing dependencies "within" it, the application crashes. It seems that WSL isn't a viable solution for Windows users in this case.

    Any insights or alternative suggestions would be appreciated.

    Thanks!

  5. aakash-a-dev commented on Mar 12, 2025

    @aakash-a-dev
    Contributor

    @mosi-sol I have a PR raised already on this which helping me to run the app in my windows system. Although it's not tested yet but you can try this branch for now
    #466

    PS: Will like your feedback on this PR. TIA

  6. mosi-sol commented on Mar 13, 2025

    @mosi-sol

    @aakash-a-dev that's failed. thanks for share.

  7. aakash-a-dev commented on Mar 13, 2025

    @aakash-a-dev
    Contributor

    Um failed as in?

  8. mosi-sol commented on Mar 13, 2025

    @mosi-sol

    @aakash-a-dev hey, not stable yet. i have linux, but like to know why windows have problem with srcbook.
    And thanks for u r job 💐

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions