Skip to content
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

Use NPM 7 with Node 14 or lower #629

Merged
merged 1 commit into from
Mar 24, 2022
Merged

Use NPM 7 with Node 14 or lower #629

merged 1 commit into from
Mar 24, 2022

Conversation

unflxw
Copy link
Contributor

@unflxw unflxw commented Mar 24, 2022

To work around a bug where NPM 8 does not trigger lifecycle hooks for workspace packages when a command is ran from the workspace root, use NPM 7 for Node 14 and Node 12.

To work around a bug where NPM 8 does not trigger lifecycle hooks
for workspace packages when a command is ran from the workspace
root, use NPM 7 for Node 14 and Node 12.
@unflxw unflxw added the chore label Mar 24, 2022
@unflxw unflxw requested a review from tombruijn March 24, 2022 14:22
@unflxw unflxw self-assigned this Mar 24, 2022
@unflxw unflxw merged commit b2c0f76 into main Mar 24, 2022
unflxw added a commit that referenced this pull request Mar 28, 2022
In order to work around [a bug in NPM 8.5.4 and above][bug], where
lifecycle hooks are not executed for the workspace packages, use
NPM 8.5.3 for every Node version for now.

This is a redo of [#629][pr].

[bug]: npm/cli#4552
[pr]: #629
unflxw added a commit that referenced this pull request Mar 28, 2022
In order to work around [a bug in NPM 8.5.4 and above][bug], where
lifecycle hooks are not executed for the workspace packages, use
NPM 8.5.3 for every Node version for now.

This is a redo of [#629][pr].

[bug]: npm/cli#4552
[pr]: #629
@unflxw unflxw mentioned this pull request Mar 28, 2022
jeffkreeftmeijer pushed a commit that referenced this pull request Mar 31, 2022
In order to work around [a bug in NPM 8.5.4 and above][bug], where
lifecycle hooks are not executed for the workspace packages, use
NPM 8.5.3 for every Node version for now.

This is a redo of [#629][pr].

[bug]: npm/cli#4552
[pr]: #629
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants