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).

Offen
#97 1 Kommentar 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug help wanted
Vorherrschende Sprache
TypeScript
Sterne
23
Forks
11
PR-Merge-Kennzahlen
Keine gemergten PRs in 30 T.

Beschreibung

**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

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Beginne mit dem Einstiegspunkt der Quickstart-Dokumentation und reproduziere `npx @ceramicnetwork/cli daemon` oder `pnpm dlx @ceramicnetwork/cli daemon` in der gemeldeten Umgebung. Verfolge, warum der Daemon-Befehl versucht, `/usr/local/bin/ceramic-one` zu starten, unterscheide die AWS-Warnung vom ENOENT-Fehler und überprüfe, dass der Befehl die erwartete API auf Port 7007 startet.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
node.js
Bereich
cli, documentation
Issue-Typ
Bug
Schwierigkeit
3/5
Geschätzter Aufwand
1-2 Tage
Aktivitätsstatus
Veraltet
Klarheit
Muss geklärt werden
Anfängerfreundlichkeit
25/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.