Questions tagged [npm-check-updates]

9 questions
6
votes
0 answers

Update npm dependencies while keeping the Angular version

I want to update my project's dependencies but keep the Angular version. Since npm update only updates within the version range specified in package.json, I chose npm-check-updates (ncu) to more widely detect possible updates: ncu --minimal --peer…
Knight Industries
  • 1,325
  • 10
  • 20
2
votes
2 answers

How to upgrade package.json or react libraries automatically?

How to upgrade packages in react application automatically using commands? I don't want to manually check every library in package.json and check its latest version. I want to upgrade my package.json at one shot.
Hirak JD
  • 181
  • 2
  • 7
2
votes
0 answers

Why npm-update does not install all the packages to the their respective latest version?

I've searched other questions but I need a clear canonical answer, since it's not yet clear for me why the command npm update does not install each package to the latest version, and thus we need an extra package, such as npm-check-updates to be…
João Pimentel Ferreira
  • 14,289
  • 10
  • 80
  • 109
1
vote
1 answer

Is it possible fetch package details from Nuget private store using REST API?

I am trying to build an Angular 8 application which for showing the Nuget package details from a custom store. Is it possible fetch package details from NPM custom store using REST API.? Similar to:…
Beta
  • 39
  • 7
0
votes
2 answers

npm/yarn install working only locally but not in docker-compose

I was working on the docs of our firm with docusaurus and trying to clone the Repo and start our task.json (vscode) script docker-compose: dev up, that basically runs our docker-compose-dev.yml. If I did that directly I would receive on docker…
0
votes
0 answers

Does a create-react-app project only load / import from files in the src folder?

I have been trying to optimize the dependencies in my project so I installed npm-check. And it brought to my attention that the files outside of the src folder such as the scripts, server and webpack files have imports that do not exist in the…
IanBarbour
  • 91
  • 1
  • 11
0
votes
0 answers

Checking latest versions of dependencies in package.json file

I want to prepare an excel sheet with the current installed versions and latest versions of dependencies in my package.json file like this: The current versions I can get from the package.json file but I am not sure how to get the latest version of…
Aurazo Script
  • 115
  • 1
  • 1
  • 9
0
votes
1 answer

npx create-react-app does not proceed further and stops at "installing react, react-dom, and react-scripts with cra-template

I tried to run it again but still the same issue. I am using: node : v14.0, npm: 6.14.4 Below is the screenshot of the problem. enter image description here
0
votes
0 answers

How will I get all compatible package version while updating node version 8 to 10?

I want to update node version from 8 to 10. So have to update all npm packages which is compatible with node 10. I can not run npm update because it will update all packages to lattes version which might be not compatible with node 10. One way to…
Prashant Shukla
  • 241
  • 1
  • 5
  • 21