Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

npm WARN [email protected] requires a peer of chai@>= 2.0.0 < 4 but none was installed. #84

Closed
mikeaustin opened this issue Jun 28, 2017 · 9 comments
Labels
Milestone

Comments

@mikeaustin
Copy link

Is there support for [email protected]?

$ npm install --save-dev chai-immutable
[email protected] /Library/WebServer/Documents/www.mike-austin.com/models
├── UNMET PEER DEPENDENCY [email protected]
└── [email protected]

npm WARN [email protected] requires a peer of chai@>= 2.0.0 < 4 but none was installed.

@astorije astorije added this to the v2.0.0 milestone Aug 15, 2017
@astorije
Copy link
Owner

Hi @mikeaustin,

Support for Chai v4 is underway, but not quite ready yet. In the meantime, there is a pre-release that might just work, you can install it with npm install --save-dev chai-immutable@next.

I'll keep this issue open until I am done with chai-immutable v2, that will fully support Chai v4.

@Fl4m3Ph03n1x
Copy link

Any news with this ?

@astorije
Copy link
Owner

astorije commented Nov 8, 2017

Hi @Fl4m3Ph03n1x!
Sorry, no news at the moment, you need to use the v2.0.0-alpha.1 version for now, which should be sufficiently functional.
I'm planning to get back to that ASAP, apologies! 🙏

@Fl4m3Ph03n1x
Copy link

By no means I am not demanding, I was just curious on the progress. For me, this plugin is an integral part of using Immutable. If I can't have this plugin, I can't use Immutable, that's why I was asking.

Thanks for the answering!

@astorije
Copy link
Owner

Gotcha @Fl4m3Ph03n1x. I didn't take your message as demanding, don't worry :) I feel bad for not wrapping this up earlier. Still in my short-term plans though!

In the meantime, you can add "chai-immutable": "2.0.0-alpha.1" or "chai-immutable": "next" to the devDependencies of your package.json file and that should be enough to use with Chai v4 :)

@astorije
Copy link
Owner

Alright, #69 got merged. This doesn't mean chai-immutable v2 (for Chai v4) is ready yet, and I'll do my best to clear this ASAP, but in the meantime, this issue is closed 🎉

@astorije
Copy link
Owner

astorije commented May 29, 2018

Hey @mikeaustin and @Fl4m3Ph03n1x, I have just released v2.0.0-rc.2 which hopefully is the last step before full Chai v4 support (finally!). Mind giving it a shot and letting me know if it works as expected for you?

@Fl4m3Ph03n1x
Copy link

We stopped using Immutable altogether when we realized we couldn't have chai for it :p ( among other reasons ).

I am afraid I can't test, as I have no setup for it.

@astorije
Copy link
Owner

I'm sorry to hear this and that it took me so long to get my ducks in a row, @Fl4m3Ph03n1x!
Well, if you happen to use Immutable again, at least this v2 will make it less of a pain to deal with the ecosystem!
Thanks for the quick reply :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants