Getting error while running "ceramic daemon"

Version : @ceramicnetwork/cli@2.20.0

harsh@LAPTOP-S0JTK5LG:~$ ceramic daemon
/usr/local/lib/node_modules/@ceramicnetwork/cli/bin/ceramic.js:3
await import(‘…/lib/bin/ceramic.js’)
^^^^^

SyntaxError: await is only valid in async function
at Module._compile (internal/modules/cjs/loader.js:723:23)
at Object.Module._extensions…js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
at Function.Module._load (internal/modules/cjs/loader.js:585:3)
at Function.Module.runMain (internal/modules/cjs/loader.js:831:12)
at startup (internal/bootstrap/node.js:283:19)
at bootstrapNodeJSCore (internal/bootstrap/node.js:623:3)

1 Like

It looks like the most helpful solution is to upgrade to Node 16.

1 Like

@HarshMashruwala were you able to get it working?

yes, now it is working.

1 Like