crisp-im / node-crisp-api

:zap: Crisp API Node Wrapper
https://docs.crisp.chat/guides/rest-api/
MIT License
99 stars 39 forks source link

Does Not Work With Yarn 3 #59

Closed enchorb closed 8 months ago

enchorb commented 11 months ago

I get this error when attempting to run with Yarn 3 & a NX monorepo.

Target project does not exist: npm:fbemitter@https://github.com/crisp-dev/emitter.git#commit=695f60594bdca0c876e5c232de57702ab3151b6f

baptistejamin commented 11 months ago

Hello! :)

How are you doing today?

Can you explain with details what are you trying to achieve?

enchorb commented 11 months ago

Hi, we have the crisp-api@8.1.0 dependency in our package.json when attempting to start any project ie. nx run-many --target=serve --projects=backend we get the above error. Post upgrading to Yarn 3 this is the only package out of 200+ that throws an error. Everything worked fine on Yarn 1.

baptistejamin commented 11 months ago

Perfect! Can you please share a screenshot of the error?

I will review that with our team.

enchorb commented 11 months ago

Can't screenshot on the work computer - here is the full copied error

>  NX   Failed to process project dependencies with "nx-js-graph-plugin".

   Target project does not exist: npm:fbemitter@https://github.com/crisp-dev/emitter.git#commit=695f60594bdca0c876e5c232de57702ab3151b6f

   Because of the error the Nx daemon process has exited. The next Nx command is going to restart the daemon process.
   If the error persists, please run "nx reset".
tilmann commented 9 months ago

Seeing the same error 2023 12 20 - 09 29 - Slack - #dev - Huddle@2x

Any update on this @baptistejamin

baptistejamin commented 8 months ago

Hello!

It should be solved with version 8.2.3