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

CLI - system error -8 #959

Open
limegorilla opened this issue Oct 22, 2024 · 3 comments
Open

CLI - system error -8 #959

limegorilla opened this issue Oct 22, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@limegorilla
Copy link

To Reproduce

Run one of the CLI commands (e.g pnpx fumadocs config / init)

Immediate Error

Current vs. Expected behavior

pnpm: Command failed with Unknown system error -8: fumadocs config
spawn Unknown system error -8
    at ChildProcess.spawn (node:internal/child_process:421:11)
    at Object.spawn (node:child_process:762:9)
    at execa (/Users/liamdoyle/.volta/tools/image/packages/pnpm/lib/node_modules/pnpm/dist/pnpm.cjs:19996:32)
    at default_1 (/Users/liamdoyle/.volta/tools/image/packages/pnpm/lib/node_modules/pnpm/dist/pnpm.cjs:20224:38)
    at Object.handler [as dlx] (/Users/liamdoyle/.volta/tools/image/packages/pnpm/lib/node_modules/pnpm/dist/pnpm.cjs:224948:35)
    at async /Users/liamdoyle/.volta/tools/image/packages/pnpm/lib/node_modules/pnpm/dist/pnpm.cjs:234540:21
    at async main (/Users/liamdoyle/.volta/tools/image/packages/pnpm/lib/node_modules/pnpm/dist/pnpm.cjs:234499:34)
    at async runPnpm (/Users/liamdoyle/.volta/tools/image/packages/pnpm/lib/node_modules/pnpm/dist/pnpm.cjs:234770:5)
    at async /Users/liamdoyle/.volta/tools/image/packages/pnpm/lib/node_modules/pnpm/dist/pnpm.cjs:234762:7

Provide environment information

Operating System:
  Platform: darwin
  Arch: arm64
  Version: Darwin Kernel Version 24.1.0: Thu Oct 10 21:03:11 PDT 2024; root:xnu-11215.41.3~2/RELEASE_ARM64_T6020
  Available memory (MB): 65536
  Available CPU cores: 24
Binaries:
  Node: 20.18.0
  npm: 10.8.2
  Yarn: 4.4.0
  pnpm: 9.12.1
Relevant Packages:
  next: 15.0.0 // Latest available version is detected (15.0.0).
  eslint-config-next: N/A
  react: 19.0.0-rc-cd22717c-20241013
  react-dom: 19.0.0-rc-cd22717c-20241013
  typescript: 5.6.2
Next.js Config:
  output: N/A


### Which area(s) are affected? (Select all that apply)

CLI (create-fumadocs-app)

### Additional context

_No response_
@limegorilla limegorilla added the bug Something isn't working label Oct 22, 2024
@fuma-nama
Copy link
Owner

Does pnpm dlx and npx work?

@limegorilla
Copy link
Author

limegorilla commented Oct 22, 2024

No - errors as above with either pnpm dlx / npx

@fuma-nama
Copy link
Owner

fuma-nama commented Oct 22, 2024

I renamed the package to @fumadocs/cli, you can run pnpm i @fumadocs/cli and use it withpnpm fumadocs. I think your usage failed because fumadocs wasn't published, fumadocs-ui and fumadocs-core were released a lot earlier.

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