# How to resolve version conflict?

**URL:** <https://forums.bitovi.com/t/how-to-resolve-version-conflict/764>\
**Category:** StealJS\
**Created:** [November 23, 2017, 7:19am UTC](https://forums.bitovi.com/t/how-to-resolve-version-conflict/764 "2017-11-23T07:19:06Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Arjen\_Haayman](https://avatars.discourse-cdn.com/v4/letter/a/51bf81/32.png) [@Arjen\_Haayman](https://forums.bitovi.com/u/Arjen_Haayman)\
**Post date:** [November 23, 2017, 7:19am UTC](https://forums.bitovi.com/t/how-to-resolve-version-conflict/764/1 "2017-11-23T07:19:06Z")

</div>

Hi,

I’ve just updated my npm modules and now I get an error message that there are 2 different versions of can-dom-data-state. How to prevent this? Or is it a bug?

```
$ npm ls can-dom-data-state
energie_transitie@1.0.0 /src/EnergieTransitie
├─┬ can-component@3.3.6
│ └─┬ can-util@3.10.12
│ └── can-dom-data-state@0.1.1
├─┬ steal-stache@3.1.3
│ └─┬ can-view-import@3.2.5
│ └── can-dom-data-state@0.2.0
```

---

<div class="post-metadata">

**Author:** ![phillipskevin](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.bitovi.com/phillipskevin/32/102_2.png) [@phillipskevin](https://forums.bitovi.com/u/phillipskevin)\
**Post date:** [November 23, 2017, 12:17pm UTC](https://forums.bitovi.com/t/how-to-resolve-version-conflict/764/2 "2017-11-23T12:17:41Z")

</div>

There is a `can-util@3.10.15` that depends on the updated version of `can-dom-data-state`.

If you are using a `package-lock.json` or other lockfile, make sure to delete it and try removing your `node_modules` and reinstalling completely. There shouldn’t be anything preventing this updated version from being installed.
