Skip to content

fix: remove --legacy-peer-deps flag on install #5839

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged

Conversation

vallemar
Copy link
Contributor

@vallemar vallemar commented Mar 24, 2025

When run application (without node_modules) is launched directly with the ns run|debug xx cli, we may encounter dependency issues because this flag causes npm to ignore peerDependencies, resulting in an incomplete node_modules path.

Documentation: https://docs.npmjs.com/cli/v11/using-npm/config#legacy-peer-deps

@NathanWalker NathanWalker merged commit ca6fb68 into NativeScript:main Mar 24, 2025
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants