Closed shubham88fru closed 3 months ago
Hi,
I cloned the master branch and tried doing yarn install and then yarn test but seeing the following error -
yarn install
yarn test
This seems to be happening because the addon required rimraf version ^5.0.1 - https://github.com/emberjs/ember-test-helpers/blob/3b83f12656ab9443603da79575ab8a744d56fcb9/addon/package.json#L104
addon
rimraf
^5.0.1
but the "resolutions" in the root package.json restricts rimraf version to < 5.0.0 - https://github.com/emberjs/ember-test-helpers/blob/3b83f12656ab9443603da79575ab8a744d56fcb9/package.json#L17
"resolutions"
package.json
< 5.0.0
because of this, on doing yarn install a lower version of rimraf (version 4.x) is installed, than what is need for the addon module (version 5.x) -
I tried removing the rimraf entry from "resolutions" altogether and was able to run the tests.
Please let me know your thoughts on this. Should I create a PR for this?
This is solved by this PR: https://github.com/emberjs/ember-test-helpers/pull/1453 waiting for review over there.
Closing this issue since PR #1453 has been merged.
Hi,
I cloned the master branch and tried doing
yarn install
and thenyarn test
but seeing the following error -This seems to be happening because the
addon
requiredrimraf
version^5.0.1
- https://github.com/emberjs/ember-test-helpers/blob/3b83f12656ab9443603da79575ab8a744d56fcb9/addon/package.json#L104but the
"resolutions"
in the rootpackage.json
restrictsrimraf
version to< 5.0.0
- https://github.com/emberjs/ember-test-helpers/blob/3b83f12656ab9443603da79575ab8a744d56fcb9/package.json#L17because of this, on doing
yarn install
a lower version ofrimraf
(version 4.x) is installed, than what is need for the addon module (version 5.x) -I tried removing the
rimraf
entry from"resolutions"
altogether and was able to run the tests.Please let me know your thoughts on this. Should I create a PR for this?