-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
@swc/core install warning: platform "darwin" is incompatible with this module #2374
Comments
This is intentional. |
installing only the required bins is +1. how's one turn off / disable the incessant warnings?
, without turning off/down logging for useful information for other modules? these warnings serve no particularly purpose other than to create noise ... |
@pgnd It should be patched by npm team. |
"npm team"? Ok ... do you have a 'who' or a link for swc's npm team? |
No, I mean the maintainers of npm |
Sorry, I'm not understanding. What's npm supposed to patch that's unique to @swc/core? I've hundreds of npm packages installed, and only one generates this noise on every update -- @swc/core |
@pgnd you can't disable platform warnings, it is expected, what is the problem? |
@pgnd see evanw/esbuild#1621 for more details |
@kdy1 I think we need open and use the same solution |
@alexander-akait We are already using |
@alexander-akait Actually @swc/core had already using the right way which esbuild just landed to deliver the binaries cross platform |
hm, I see... Looks like we is doing it in right way |
@pgnd You may use pnpm as it has warnings about skipped deps disabled (pnpm/pnpm#3454) |
This closed issue has been automatically locked because it had no new activity for a month. If you are running into a similar issue, please create a new issue with the steps to reproduce. Thank you. |
Describe the bug
When running yarn, @swc/core (1.2.93) always throws a warning:
Input code
yarn
Config
N/A
Expected behavior
If darwin is incompatible, don't isntall the deps/dont warn about them
Version
The version of @swc/core: 1.2.93
Additional context
Add any other context about the problem here.
I'm on macOS 11.6
The text was updated successfully, but these errors were encountered: