Felix
Felix

Reputation: 4081

Wrong ember data version used by ember cli?

I'm trying to roll back to v1.0.0-beta.16 after having used v1.0.0-beta.17.

I uninstalled version .17 and installed version .16, which seems to have worked according to npm:

    $ npm list --depth=0
    ...
    ├── [email protected]
    ...

But when I run ember it still seems to use version .17 according to the Chrome console:

enter image description here

Any ideas?

Upvotes: 1

Views: 281

Answers (1)

Kuba Niechciał
Kuba Niechciał

Reputation: 974

You should change the version in both package.json and bower.json files. Bower stands for managing your plain JS or CSS assets and ember-data is one of them. On the other hand, npm packages will need ember-data and specify it in your package.json also. Just always remember to change versions of plain JS files in both of them.

Upvotes: 1

Related Questions