Skip to content

BUG: When running npx @ceramicnetwork/cli daemon, there is an error Please migrate your code to use AWS SDK for JavaScript (v3). #97

@APiligrim

Description

@APiligrim

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workinghelp wantedExtra attention is needed

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions