I tried running npx ts-node@latest
, but npx decided to execute a version of ts-node
that is not the latest.
$ rm -rf ~/.npm
$ node --version
v18.7.0
$ npm --version
8.16.0
$ npx ts-node --version
v9.1.1
$ npx ts-node@latest --version
Need to install the following packages:
ts-node@10.9.1
Ok to proceed? (y) y
v9.1.1
It even asks me if I want to install version 10.9.1, but then it runs version 9.1.1 anyway 😕
Expected BehaviorI expect npx <package>@latest
to always run the latest version of a package.
Similarly, I expect npx <package>@<version>
to always run the specified version. For example, npx ts-node@10
should run ts-node
version 10
npx ts-node@latest --version
.~/.npm
; same problem.; node bin location = /usr/local/bin/node ; node version = v18.7.0 ; npm local prefix = /home/kkovacs/oss_97542 ; npm version = 8.16.0 ; cwd = /home/kkovacs/oss_97542 ; HOME = /home/kkovacs ; Run `npm config ls -l` to show all defaults.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4