[wp-trac] [WordPress Trac] #62839: sync-gutenberg-packages script is not respecting .npmrc file
WordPress Trac
noreply at wordpress.org
Wed May 7 14:08:49 UTC 2025
#62839: sync-gutenberg-packages script is not respecting .npmrc file
-------------------------------------------------+-------------------------
Reporter: desrosj | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone: 6.9
Component: Build/Test Tools | Version:
Severity: normal | Resolution: invalid
Keywords: has-patch reporter-feedback needs- | Focuses:
test-info close |
-------------------------------------------------+-------------------------
Changes (by SirLouen):
* keywords: has-patch needs-testing-info reporter-feedback => has-patch
reporter-feedback needs-test-info close
* status: new => closed
* resolution: => invalid
Comment:
I've provided some testing instructions just in case anyone else could
replicate this issue that @desrosj is reporting. I couldn't be on my side,
and we are assuming there are no duplicates to begin with.
Replying to [comment:7 jtquip88]:
> I didn’t include a fix for this because I assumed we’d want to
investigate and address it separately. This error occurs because the
parsing logic expects "dependencies" to be a top-level property in
package-lock.json. However, in newer versions of npm (v7+), dependencies
are nested under individual packages within the "packages" section.
In this specific regard, I agree with you, and I would suggest you opening
a new ticket with the proposed changes to reanimate the conversation
around this topic and if possible adding some testing instructions to
replicate.
I'm going to mark this post as a `close` candidate with a potential
`worksforme`.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/62839#comment:8>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list