Skip to content

bunx @vendure/create my-shop not workingΒ #4390

@kirinse

Description

@kirinse

Describe the bug
A clear and concise description of what the bug is.

To Reproduce
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

Expected behavior
A clear and concise description of what you expected to happen.

Actual behavior
A clear and concise description of what actually happened.

Screenshots/Videos
If applicable, add screenshots or videos to help explain your problem.

Error logs
If applicable, paste any relevant error messages or stack traces:

Created package.json
β”‚
β–²  Something went wrong
 7 | function spawn(command, args, options) {
 8 |     // Parse the arguments
 9 |     const parsed = parse(command, args, options);
10 | 
11 |     // Spawn the child process
12 |     const spawned = cp.spawn(parsed.command, parsed.args, parsed.options);
                            ^
error: Executable not found in $PATH: "npm"
      path: "npm",
     errno: -2,
   syscall: "spawn npm",
 spawnargs: [
  "install", "--save", "--save-exact", "--loglevel", "error", "@vendure/core@3.5.4", "@vendure/email-plugin@3.5.4",
  "@vendure/asset-server-plugin@3.5.4", "@vendure/graphiql-plugin@3.5.4", "@vendure/dashboard@3.5.4",
  "dotenv", "pg"
],
      code: "ENOENT"

      at spawn (node:child_process:667:35)
      at spawn (node:child_process:14:39)
      at spawn (/private/tmp/bunx-501-@vendure/create@latest/node_modules/cross-spawn/index.js:12:24)
      at <anonymous> (/private/tmp/bunx-501-@vendure/create@latest/node_modules/@vendure/create/lib/helpers.js:223:41)
      at new Promise (1:11)
      at installPackages (/private/tmp/bunx-501-@vendure/create@latest/node_modules/@vendure/create/lib/helpers.js:214:12)
      at installDependenciesWithSpinner (/private/tmp/bunx-501-@vendure/create@latest/node_modules/@vendure/create/lib/create-vendure-app.js:492:29)
      at installDependenciesWithSpinner (/private/tmp/bunx-501-@vendure/create@latest/node_modules/@vendure/create/lib/create-vendure-app.js:487:47)
      at createVendureApp (/private/tmp/bunx-501-@vendure/create@latest/node_modules/@vendure/create/lib/create-vendure-app.js:237:11)

Bun v1.3.5 (macOS arm64)

Environment (please complete the following information):

  • @vendure/core version:
  • Nodejs version:
  • Database: postgres
  • Operating System: macOS
  • Browser (if applicable):
  • Package manager: bun

Configuration
If relevant, share your Vendure configuration (remove sensitive data):

// Your configuration here

Minimal reproduction
If possible, provide a minimal code example or repository that reproduces the issue.

Workaround
If you found a temporary workaround, please describe it here.

Additional context
Add any other context about the problem here, such as:

  • When did this issue start occurring?
  • Does it happen consistently or intermittently?
  • Any recent changes to your setup?

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions