I have a node project that requires an npm library that requires [email protected] .
Everything works well on Windows.
When I run npm i
on mac or linux, I get an error “npm error notarget No matching version found for [email protected]”
Running npm show chalk versions
on Windows will list 2.4.2 as one of the available versions, and mac it is not available (closest is 2.4.1).
Same issue for [email protected] (closest is 6.23.0) and probably more libraries.
My question is where can I find information on what version is available on what platform? How do I know that a package that was developed on Windows will be able to install on mac or linux?
Also, is there a way to use some aliasing to bypass this issue without actually upgrading/downgrading my dependencies?