Date: Thu, 01 Sep 2022 15:37:06 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 266159] www/npm: fails to run commands after upgrade to 8.18.0 Message-ID: <bug-266159-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D266159 Bug ID: 266159 Summary: www/npm: fails to run commands after upgrade to 8.18.0 Product: Ports & Packages Version: Latest Hardware: Any URL: https://github.com/npm/run-script/issues/103 OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: sunpoet@FreeBSD.org Reporter: madpilot@FreeBSD.org Assignee: sunpoet@FreeBSD.org Flags: maintainer-feedback?(sunpoet@FreeBSD.org) Created attachment 236289 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D236289&action= =3Dedit patch v1 Hi, I've discovered I'm unable to perform normal "npm run" tasks after the upgr= ade. Turns out it is a bug introduces upstream with v 8.17.0: https://github.com/npm/run-script/issues/103 As stated there this is caused by this pull request: https://github.com/npm/run-script/pull/98 which adds a '--' argument to shell invocations like: 'sh -c -- echo "foo"' https://github.com/npm/run-script/blob/2a1854aaf0b788817ad5a45b329dbf3e8424= 30f7/lib/make-spawn-args.js#L70 These fail due to no "--" command existing. I 'm proposing a patch removing the -- from the sh command line. Unluckily I don't think it is upstreamable in this way. I'm running successfully with this patch locally. Thanks in advance! --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-266159-7788>