Comments (13)
Hello,
I spent some time on this issue today and issued a patch here: #234
For anyone with an existing version the issue can be easily avoided by replacing the nodist/lib/github.js file. I will attach that file to this comment.
Additionally, I will propagate a new version being that the older key is now invalidated.
#232 is duplicate of this.
from nodist.
nodist npm match
worked.
from nodist.
Here is the file he mentions: https://github.com/nullivex/nodist/blob/master/lib/github.js Replace Nodist/lib/github.js
with this file
from nodist.
from nodist.
Yis i got the exact same error. Even when I try to install npm version 6.14.13 with the command: nodist npm 6.14.13
. So I think there is something wrong with nodist and npm.
from nodist.
Yeah i too facing the same issue when i try this command nodist npm 6.14.12
getting this below error
npm 6.14.12
{"message":"Bad credentials","documentation_url":"https://docs.github.com/rest"}.
Sorry.
from nodist.
You can do a quick fix by installing npm without using nodist. So by using the following command: npm i -g npm@latest
.
from nodist.
Having the same issue :(
from nodist.
nodist npm match
worked.
And what npm version will it install if you use it?
from nodist.
nodist npm match
worked.And what npm version will it install if you use it?
npm corresponding to the installed Node will be installed.
see here: https://nodejs.org/ja/download/releases/
GAMA@GAMANS-AM MINGW64 /d
$ nodist npm
6.9.0
6.14.11
> 6.14.13 (global: match)
GAMA@GAMANS-AM MINGW64 /d/workspace
$ node -v
v14.15.0
GAMA@GAMANS-AM MINGW64 /d/workspace
$ nodist npm match
npm match
https://codeload.github.com/npm/cli/tar.gz/v6.14.8 [============== ] 4996/5507 KiB 90% 0.0s
GAMA@GAMANS-AM MINGW64 /d/workspace
$ nodist npm
6.9.0
> 6.14.8 (global: match)
6.14.11
6.14.13
from nodist.
Merged the patch today. I will work up a new version.
from nodist.
Hello,
...
For anyone with an existing version the issue can be easily avoided by replacing the nodist/lib/github.js file. I will attach that file to this comment.
Where is the attached file you mention? I am running 9.1 - should that already have the patch?
from nodist.
Has been fixed in v.10.3
from nodist.
Related Issues (20)
- nodist 安装指定版本node不成功 HOT 2
- After removing nodist, npm install error: "EPERM: operation not permitted, mkdir 'C:\Program Files (x86)\Nodist' HOT 4
- The OAuth Token in nodist/lib/github.js is expired HOT 5
- No release since 2019, and npm run build doesn't work HOT 9
- "nodist latest" looks buggy to me. HOT 6
- How to uninstall Nodist HOT 4
- NPM command not working. Getting Error: Failed to replace env in config: ${NPM_TOKEN} HOT 1
- NPM commands not working when called from inside Node HOT 3
- Unhandled rejection error when setting npm latest HOT 5
- How to install local version specified in `.npm-version`? HOT 4
- how to set it work in IDE Vscode
- State of this project HOT 17
- Invalid Version: libnpmversion-v3.0.1. HOT 3
- node -v npm -v HOT 2
- npm 8.6, authorization header missing & symlink problem HOT 14
- 无法安装 npm HOT 5
- No such file or directory after unistalling nodist
- error Cannot read properties of undefined (reading 'stdin') HOT 1
- os.Getenv("NODIST_PREFIX") is an empty string HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodist.