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

[BUG] unable to create a project #121

Open
draylegend opened this issue Aug 19, 2021 · 1 comment
Open

[BUG] unable to create a project #121

draylegend opened this issue Aug 19, 2021 · 1 comment

Comments

@draylegend
Copy link

Problem

Trying to create a project following the instructions on the home page.

Error

    Kretes  1.0.0-alpha.58
       new  creating a project in 'crm'
       new  installing dependencies
events.js:377
      throw er; // Unhandled 'error' event
      ^

Error: spawn npx ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
    at onErrorNT (internal/child_process.js:467:16)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
Emitted 'error' event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
    at onErrorNT (internal/child_process.js:467:16)
    at processTicksAndRejections (internal/process/task_queues.js:82:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn npx',
  path: 'npx',
  spawnargs: [ 'pnpm', 'install' ]
}

Expectations

A project should be created either with npm, pnpx, yarn or npx.

It didn't work with vscode.

image

Versions

node: v14.17.4
npm: 6.14.14

Am I doing something wrong? How can I create the project manually, without using the cli or vscode?

@draylegend
Copy link
Author

and this is the output for the kretes latest version

    Kretes  1.0.0-alpha.61
       new  creating a project in 'crm'
       new  installing dependencies
events.js:377
      throw er; // Unhandled 'error' event
      ^

Error: spawn npx ENOENT
    at Process.ChildProcess._handle.onexit (internal/child_process.js:269:19)
    at onErrorNT (internal/child_process.js:467:16)
    at processTicksAndRejections (internal/process/task_queues.js:82:21)
Emitted 'error' event on ChildProcess instance at:
    at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
    at onErrorNT (internal/child_process.js:467:16)
    at processTicksAndRejections (internal/process/task_queues.js:82:21) {
  errno: -4058,
  code: 'ENOENT',
  syscall: 'spawn npx',
  path: 'npx',
  spawnargs: [ 'pnpm', 'install' ]
}

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

1 participant