Skip to content
This repository has been archived by the owner on Jun 17, 2024. It is now read-only.

Fix npm install command #4

Merged
merged 1 commit into from
Oct 13, 2023
Merged

Fix npm install command #4

merged 1 commit into from
Oct 13, 2023

Conversation

SukkaW
Copy link
Contributor

@SukkaW SukkaW commented Oct 13, 2023

The PR removes the --legacy-peer-deps since it is no longer required (rollup-plugin-swc3 has fixed this).

The PR also adds --install-links. By default when npm installs the linked @swc/core from the local folder, it will not install the transitive dependencies (@swc/types). --install-links fixes that. See also: npm/cli#2339

Copy link
Member

@kdy1 kdy1 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@kdy1 kdy1 merged commit 2f92ef0 into swc-project:main Oct 13, 2023
3 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants