You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 12, 2023. It is now read-only.
kurento-client depends on kurento-client-core which depends on the module async. However, since many modules may depend on async and very few others will depend on kurento-client-core you will often find yourself in a situation where async is installed in the kurent-client directory rather than your app's node_modules and kurento-client-core will not be able to import it properly.
Create a project and install both portfinder and kurento-client-core which require different versions of async. You will likely end up with a node_modules that looks like this:
Prerequisites
These are MANDATORY, otherwise the issue will be automatically closed.
Issue description
kurento-clientdepends onkurento-client-corewhich depends on the moduleasync. However, since many modules may depend onasyncand very few others will depend onkurento-client-coreyou will often find yourself in a situation whereasyncis installed in thekurent-clientdirectory rather than your app's node_modules andkurento-client-corewill not be able to import it properly.Context
How to reproduce?
Create a project and install both
portfinderandkurento-client-corewhich require different versions ofasync. You will likely end up with a node_modules that looks like this:When
kurento-client-coreattempts torequire("async")it will not be found.Expected & current behavior
(Optional) Possible solution
kurento-client-corepackage.json should declare its dependency onasync(orasyncshould no longer be depended on)Info about your environment
About Kurento Media Server
About your Application Server
About end-user clients
Run these commands