score:1
work with none of these solutions for windows. then, i have added --timeout as a param to execute.
ex:
npx npm-check-updates --timeout 200000
score:4
this answer is a bit late, but it's useful for future readers.
as of npm v7, there is a --fetch-timeout
option.
when you run npm install
add --fetch-timeout
:
npm install --fetch-timeout=60000
there is also a .npmrc configuration setting called fetch-timeout
. you can add the following to ~/.npmrc
.
fetch-timeout=60000
or run the following
npm config set fetch-timeout 60000
score:11
update npm configuration using:
npm config set fetch-retry-maxtimeout 60000 -g
see the documentation and the available options.
score:12
add this to your .npmrc
file:
timeout=60000
score:16
i don't know how similar to your problem. but i had trouble executing the following command after executing npm install -g npm-check-updates
:
ncu -u
i just kept increasing the timeout after the command until it was fully executed.
ncu -u --timeout 100000
Source: stackoverflow.com
Related Query
- how to increase waiting timeout from 30000 ms to 60000 ms of npm installing time in ubuntu
- How to load assets correctly from webpack-generated NPM package?
- How do I switch from npm to yarn in my project?
- Lodash - how to pick only one item at a time from nested json?
- How to get weeks/ days/ hours/ minutes ago from custom date & time "from now" in React Native?
- How to use babel directly from a script tag without installing babel itself
- Installing npm package from fork with yarn + webpack - Can't resolve './dist/
- How to make a npm package from Create React App /build folder?
- How to play one video from array at a time in ReactJS & AG Grid
- How to prevent npm run build from deleting directories in build
- How can you access Azure Web App AppSettings from a React app at run time
- how to get the url for a package in npmjs.com instead of installing with npm
- Npm start problem while installing react, and how to fix it?
- Waiting time for a response from server using Axios
- How to run npm tests from a single folder?
- How to integrate bootstrap from NPM in React application?
- basic explain for what does npm start do with my reactjs code and how to run it from browser
- How to use Routes and Redirect from same npm package react-router-dom?
- In Gatsby starter blog, how to increase number of latest posts from 3 to 20 in home page
- How to start react app on specific route in development mode, not from home route, after running command npm start
- Increase timeout time in React - neo4j app
- How to handle duplicate packages from NPM package?
- How to invoke an npm script from a parent folder?
- How to connect styles from the npm library to a project where css-modules are used?
- npm create-react-app can't finished after waiting a long time
- How to play one song from array at a time react js
- How do I stop state store data from accumulating in a redux component every time I navigate to it using react router
- React Typescript how to stop axios/fetch calls from making multiple calls at one time
- How to remove path from import filenames in react for NPM build
- How use react components from npm in rails
More Query from same tag
- Passing props to generic children
- Create 'global' header and footer with react
- convertFromHTML returns a null response | draftjs
- Connection to signalr hub blocked by content security policy
- How to test side-effect when state hook is passed to a child component using React and jest?
- How to make one element span the whole cell in React Table
- Can you pass down state to child components with React Hooks?
- How to render component using boolean state values in redux in react?
- a non anti-pattern approach to remove an item in an array of components in React
- Unable to build ES6 version of my React App with webpack and babel-preset-env
- Why is my zebra-striping CSS not applying to my table rows?
- How do you render an image with Card.Img in React Bootstrap and Gatsby?
- how to retrieve response data when unit testing async redux action
- Property "handle" does not exist on type "undefined" - react context and typescript
- ReactJs child didn't update after parent state changed
- How to match key and value in a Typescript lookup
- Code snippet to create self-closing tag in VSCode
- Call function inside of a react functional component
- How to bundle a React app to work in ANY subdirectory on a server?
- Scraping React Site with Phantomjs
- Reactjs - How can I duplicate a prop?
- Material UI tab navigation between TextFields with InputAdornment
- AWS Cognito completeNewPasswordChallenge calls onFailure method but the user is confirmed in AWS Console
- Change BreadCrumb component that was done with react-router v5 to react router v6
- How to disable onClick function on a single table row?
- How can I Display a Component When I Search in Input React.js
- React hook missing dependency
- How to show the dialog everywhere in the app on clicking a button using react and typescript?
- Horizontal scrollbar not working in react
- Rendering props to Wrapped Component when using HOC in react