I was making a simple npm package, I deleted the first version i.e, v0.1.0. So there is no v0.1.0 for my package. But I published later versions, with latest being v0.3.0. But when I execute npx <package-name>
, it does not install latest version(v0.3.0). Instead it throws the following error.
But when I specify the version of the package (npx <project-name>@v0.3.0
),it works.
So how can I make npx install latest version with being mentioned explicitly?