-
Notifications
You must be signed in to change notification settings - Fork 10.2k
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
Fix npm arguments in dist-install
task
#15428
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Considering that the existing command works just fine for me (and always has), it's not entirely clear why we need to change this?
Again, the commit message doesn't really contain any description of the underlying problem or links to resources explaining why such a change is necessary.
@Snuffleupagus Could you please tell us the exact node.js and npm version you are using ? Also, why you remove the |
Considering that the existing code has worked for years, without any issues reported, there must be something that's changed (e.g. in Node.js) to necessitate changes here. Hence, as already mentioned in #15428 (review), if this change is indeed correct it ought to be possible to provide resources/links explaining why it's actually necessary.
How is that question relevant here!? Besides, PR #15388 already outlines in some detail why that's done. |
Unfortunately it seems that the changes in this patch breaks the following use-case, since the example doesn't load correctly:
Doing that against the |
As @cuiyc2000 said, what are your versions of Node and npm @Snuffleupagus? |
Furthermore, please keep in mind that Node.js 14 is still officially supported for some time longer. The more relevant question here, as far as I'm concerned, is if you can successfully follow the steps outlined in #15428 (comment) with this patch applied? |
Created issue #15435 with the exact steps to reproduce this problem. |
Fixes #15382 (for real). Cloning the repository and running
gulp dist-install
failed with the erroron Node 16.15.0, npm 8.19.1, and Ubuntu 22.04.
Credit to @cuiyc2000 for finding this fix.