Questions tagged [npm-update]

"npm update" is command on npm CLI, which updates a specified package(s), or all packages listed, to the latest version available in the npmjs repository, whilst respecting semver.

npm update [-g] [<packagename>...] is a command on CLI, which updates a specified package(s), or all packages listed when no package name is specified, to the latest version defined by its tag config in the npmjs repository.

The rules of (aka: ) are respected when determining the appropriate latest version of itself to update to.

References:

67 questions
0
votes
1 answer

npm WARN saveError EPERM: operation not permitted, rename 'C:\...\package.json.3542172463' -> 'C:\...\package.json'

Environment: Node: 8.11.2 (installed from nvm) npm: 5.6.0 OS: Windows Server 2016 AV: Only Windows Defender but it has been disabled Used command: npm install npm install grunt When I run the first command (npm install) all modules described in…
Gilmor
  • 419
  • 1
  • 3
  • 10
0
votes
1 answer

Angular | Chunk asset optimisation

This question is a duplicate of 92% chunk asset optimization - webpack . But there was no satisfactory answer for this. Actually, at local, I use ng serve or nmp start to start my service and it works fine. But at EC2 instance I need to compress my…
yash bhardwaj
  • 75
  • 3
  • 11
0
votes
1 answer

update react-native-maps to work with create-react-native-app

When I run create-react-native-app I'm getting a peer dependency for react-native-maps to use react-native@0.54. I need to be able to use react-native@0.55.2 and react@16.3.1 Presented below is the package.json file for react-native-maps. Notice…
DCR
  • 10,658
  • 7
  • 38
  • 86
0
votes
1 answer

npm update is not honoring the results of npm outdated

I ran npm outdated on a project - it showed that there were several outdated packages. So I ran npm update - it updated a few packages but not all. If I run npm outdated again it still shows the remaining packages that are outdated: Package …
Naresh
  • 18,757
  • 25
  • 99
  • 162
0
votes
0 answers

npm outdated only shows devDependencies

Running npm outdated shows the following output, Package Current Wanted Latest Location @types/jasmine 2.5.38 2.5.38 2.5.53 cmi-kinvey @types/node 6.0.78 6.0.78 8.0.2 …
Mika571
  • 304
  • 3
  • 13
-1
votes
1 answer

Which package versions can I use in Firebase?

I want to update npm packages in a Firebase project. However I am lost about the fixed versions in packages.json. I guess they are there for a reason, but I have no idea why they are there now. Maybe I installed them to get around a bug? Or, is it…
Leo
  • 3,424
  • 4
  • 34
  • 57
-3
votes
3 answers

I am updating Angular version from 7 to 8. But getting peer dependency error

I tried using --force , but of no use. enter image description here error code - Package "@ng-bootstrap/ng-bootstrap" has an incompatible peer dependency to "@angular/common" (requires "^7.0.0" (extended), would install "9.1.9"). Package…
Owais
  • 37
  • 6
1 2 3 4
5