Reputation: 1214
Trying to get started with a Docusaurus v2 website. Don't know much about npm or JavaScript in general, so maybe I'm missing something obvious.
I'm on Ubuntu 20.10, npm -v
is 6.14.8, npx -v
is 10.2.2 and yarn -v
is 1.22.5.
When I execute the example from the documentation, I get an error:
$ npx @docusaurus/init init my-website classic
Too many arguments.
If I try without the name or template, I would expect it to prompt for them, but get another error:
$ npx @docusaurus/init init
Expected single character argument.
Is there something fundamentally wrong with my npm installation?
Thanks
Upvotes: 1
Views: 576