Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
631 views
in Technique[技术] by (71.8m points)

node.js - nodemon install error "No valid versions available for timed-out"

I am getting this error when trying to install nodemon in a brand new node project.

I've created a blank folder named my-project then, inside it, I've executed to creeate a package.json file:

 npm init -f

then when tryed to run

npm install --save-dev nodemon

And that was the result:

 npm ERR! code ENOVERSIONS
 npm ERR! No valid versions available for timed-out

I've just update my node version to the latest one and so npm tools.

node --version -> v8.9.4
npm --version -> 5.6.0

The funny part is that I've done this same steps in another computer 2 days ago with no problem.

325 verbose stack timed-out: No valid versions available for timed-out
325 verbose stack     at pickManifest (C:Program Files
odejs
ode_modules
pm
ode_modulespacote
ode_modules
pm-pick-manifestindex.js:20:11)
325 verbose stack     at fetchPackument.then.packument (C:Program Files
odejs
ode_modules
pm
ode_modulespacotelibfetchers
egistrymanifest.js:39:14)
325 verbose stack     at tryCatcher (C:Program Files
odejs
ode_modules
pm
ode_modulesluebirdjs
eleaseutil.js:16:23)
325 verbose stack     at Promise._settlePromiseFromHandler (C:Program Files
odejs
ode_modules
pm
ode_modulesluebirdjs
eleasepromise.js:512:31)
325 verbose stack     at Promise._settlePromise (C:Program Files
odejs
ode_modules
pm
ode_modulesluebirdjs
eleasepromise.js:569:18)
325 verbose stack     at Promise._settlePromise0 (C:Program Files
odejs
ode_modules
pm
ode_modulesluebirdjs
eleasepromise.js:614:10)
325 verbose stack     at Promise._settlePromises (C:Program Files
odejs
ode_modules
pm
ode_modulesluebirdjs
eleasepromise.js:693:18)
325 verbose stack     at Async._drainQueue (C:Program Files
odejs
ode_modules
pm
ode_modulesluebirdjs
eleaseasync.js:133:16)
325 verbose stack     at Async._drainQueues (C:Program Files
odejs
ode_modules
pm
ode_modulesluebirdjs
eleaseasync.js:143:10)
325 verbose stack     at Immediate.Async.drainQueues (C:Program Files
odejs
ode_modules
pm
ode_modulesluebirdjs
eleaseasync.js:17:14)
325 verbose stack     at runCallback (timers.js:789:20)
325 verbose stack     at tryOnImmediate (timers.js:751:5)
325 verbose stack     at processImmediate [as _immediateCallback] (timers.js:722:5)
326 verbose cwd E:githubprojectsmy-projectserver
327 verbose Windows_NT 10.0.16299
328 verbose argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "install" "--save-dev" "[email protected]"
329 verbose node v8.9.4
330 verbose npm  v5.6.0
331 error code ENOVERSIONS
332 error No valid versions available for timed-out
333 verbose exit [ 1, true ]
See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Reply

0 votes
by (71.8m points)

Official issue: https://github.com/npm/registry/issues/255

Official status: https://status.npmjs.org/incidents/41zfb8qpvrdj

Several packages including "require-from-string" are currently unavailable. We are aware of the issue and are working to restore the affected user and packages. Please do not attempt to republish packages, as this will hinder our progress in restoring them.

Update from NPM:

Resolved

We apologize for the temporary unavailability of some packages. We will be publishing a comprehensive post-mortem update in the next few days.

Posted Jan 06, 2018 - 23:14 UTC


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
OGeek|极客中国-欢迎来到极客的世界,一个免费开放的程序员编程交流平台!开放,进步,分享!让技术改变生活,让极客改变未来! Welcome to OGeek Q&A Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

...