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

Open
#97 1 comment 0 reactions 0 assignees View on GitHub
bug help wanted
Dominant language
TypeScript
Stars
23
Forks
11
PR merge metrics
No merged PRs in 30d

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.