ceramicnetwork / ceramicnetwork/docs-docusaurus
BUG: When running npx @ceramicnetwork/cli daemon, there is an error Please migrate your code to use AWS SDK for JavaScript (v3).
- Langage dominant
- TypeScript
- Étoiles
- 23
- Forks
- 11
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Description
**Describe the bug**
When I run `npx @ceramicnetwork/cli daemon ` or `pnpm dlx @ceramicnetwork/cli daemon` during the quickstart instalation, it returns the following error on both commands:
(node:58056) NOTE: The AWS SDK for JavaScript (v2) will enter maintenance mode
on September 8, 2024 and reach end-of-support on September 8, 2025.
Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check blog post at https://a.co/cUPnyil
(Use `node --trace-warnings ...` to show where the warning was created)
node:events:492
throw er; // Unhandled 'error' event
^
Error: spawn /usr/local/bin/ceramic-one 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)
Emitted 'error' event on ChildProcess instance at:
at ChildProcess._handle.onexit (node:internal/child_process:292:12)
at onErrorNT (node:internal/child_process:484:16)
at process.processTicksAndRejections (node:internal/process/task_queues:82:21) {
errno: -2,
code: 'ENOENT',
syscall: 'spawn /usr/local/bin/ceramic-one',
path: '/usr/local/bin/ceramic-one',
spawnargs: [
'daemon',
'--bind-address',
'0.0.0.0:5101',
'--store-dir',
'~/.ceramic-one',
'--p2p-key-dir',
'~/.ceramic-one',
'--network',
'testnet-clay',
'--local-network-id',
'0'
]
}
Node.js v20.10.0
**To Reproduce**
Steps to reproduce the behavior:
1. Go to [the documentation](https://developers.ceramic.network/docs/composedb/set-up-your-environment)
2. Run `npx @ceramicnetwork/cli daemon` or `pnpm dlx @ceramicnetwork/cli daemon`
3. Scroll down in the terminal to see the end result
4. See error
**Expected behavior**
I expected for the result to be something like this:IMPORTANT: Ceramic API running on 0.0.0.0:7007
**Screenshots**
If applicable, add screenshots to help explain your problem.
**Ceramic versions**
**Machine, OS, browser information (please complete the following information):**
MacBook Pro, Apple M2, macOS Sonoma 14.4.1
Guide de contribution
Aucun guide de contribution indexé pour ce dépôt
Piste de recherche
Commencez par le point d’entrée de la documentation quickstart et reproduisez `npx @ceramicnetwork/cli daemon` ou `pnpm dlx @ceramicnetwork/cli daemon` dans l’environnement indiqué. Suivez pourquoi la commande daemon tente de lancer `/usr/local/bin/ceramic-one`, distinguez l’avertissement AWS de l’échec ENOENT et vérifiez que la commande démarre l’API attendue sur le port 7007.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Évaluation
- Stack technique
- node.js
- Domaine
- cli, documentation
- Type d'issue
- Bug
- Difficulté
- 3/5
- Temps estimé
- 1-2 jours
- Activité
- À l'abandon
- Clarté
- À clarifier
- Accessibilité débutants
- 25/100