Created attachment 238473 [details] patch v1 Hi, Thanks for you work on npm and many other ports! After the recent update npm fails again to run commands with behavior similar to bug 266159 Actually upstream should have fixed the issue with recent commits, mainly [1] and adding @npmcli/promise-spawn Removing patch-npm-run fixeds the issue as not patching is necessary anymore. Thanks again and in advance fop future work and updates. [1] https://github.com/npm/run-script/commit/45f2301931ba7686fa0a4b1a1d69ecc1892fdf85
*** Bug 268168 has been marked as a duplicate of this bug. ***
Can you commit this patch under portmgr blanket approval (Trivial and tested build and runtime fixes) ? It fixes onlyoffice and electron. Thank you.
(In reply to Mikael Urankar from comment #2) Good idea. I admit I did not realize this was causing this much breakage in the ports tree.
A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=cb9139ad0a3a8c3d07086ffa8926a525a3c1b1e7 commit cb9139ad0a3a8c3d07086ffa8926a525a3c1b1e7 Author: Guido Falsi <madpilot@FreeBSD.org> AuthorDate: 2022-12-05 17:34:33 +0000 Commit: Guido Falsi <madpilot@FreeBSD.org> CommitDate: 2022-12-05 17:34:33 +0000 www/npm: Fix npm ability to run commands PR: 268098 Approved by: portmg (fixit blanket) www/npm/Makefile | 1 + www/npm/files/patch-npm-run (gone) | 11 ----------- 2 files changed, 1 insertion(+), 11 deletions(-)
Patch committed.