hypercore-protocol / cli

A CLI for peer-to-peer file sharing using the Hypercore Protocol.
MIT License
205 stars 17 forks source link

Unable to run with `npx` #18

Closed vic closed 3 years ago

vic commented 3 years ago

Hello!

I'm trying to run hyp via npx but it fails with a syntax error. Perhaps I'm missing something?

Screen Shot 2020-12-12 at 17 25 10
vic commented 3 years ago

Update: same error happens if installed globally with npm install -g @hyperspace/cli.

❯ npm --version
6.14.6

~
❯ node --version
v12.18.4
vic commented 3 years ago

Oh my bad. README says it requires Node +14. I'm closing this.