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
It seems library like esbuild-linux-64 is not a standalone esbuild library(which only contains bin file), which makes npm alias like esbuild: "npm:esbuild-linux-64" not working, which is suitable for offline install
I assume you're talking about npm/cli#2606. One idea for an alternative implementation of esbuild's installer is #789. Unfortunately that approach hits another npm bug: npm/cli#2707. Although that has been fixed, lots of people are probably still using that buggy version of npm. It may be impossible to have a way to install esbuild that never hits npm bugs because of the way npm's bugs overlap.
I agree that adding the JavaScript APIs to all of the individual platform-specific packages may mitigate this issue somewhat. It's not a complete solution, however.
It seems that esbuild relys
post-install
to download the real bin for arch-spec bin file, which cause some troublesI wonder whether is there better ways to handle this?
The text was updated successfully, but these errors were encountered: