Diego Rodrigues de Sa e Souza
10f00ef274
fix(system): route in-app auto-update npm calls through the win32 shell helper ( #5542 ) ( #5797 )
...
The in-app auto-update flow called execFileAsync("npm", ...) directly for the
version lookup (versionCheck.getLatestVersionFromNpmCli), dependency install,
global install, and native rebuild. On Windows npm is npm.cmd and Node >=24
refuses to execFile a .cmd without a shell (nodejs/node#52554), so those calls
threw 'spawn npm ENOENT'. Route them through buildNpmExecOptions (the same
win32-shell helper the embedded-services installer uses, fix #5379 ). The global
install spec is validated with SERVICE_VERSION_PATTERN before it is shell-joined
(Hard Rule #13 ). Not the pnpm/npx swap the issue proposed — that is the wrong
direction for an 'npm install -g' flow already solved elsewhere in-repo.
Regression guard: tests/unit/autoupdate-npm-win32-5542.test.ts.
2026-07-01 04:37:28 -03:00
..
2026-06-30 06:54:29 -03:00
2026-06-19 06:49:01 -03:00
2026-06-29 08:40:06 -03:00
2026-06-30 06:54:29 -03:00
2026-06-30 11:00:09 -03:00
2026-06-30 06:54:29 -03:00
2026-06-30 10:50:36 -03:00
2026-06-30 06:54:29 -03:00
2026-06-29 16:51:03 -03:00
2026-06-06 00:26:40 -03:00
2026-07-01 01:09:20 -03:00
2026-05-27 21:43:44 -03:00
2026-06-30 06:54:29 -03:00
2026-06-30 06:54:29 -03:00
2026-06-20 07:09:43 -03:00
2026-06-27 09:07:12 -03:00
2026-06-29 16:51:03 -03:00
2026-06-30 06:54:29 -03:00
2026-05-24 18:05:58 -03:00
2026-07-01 01:24:22 -03:00
2026-05-29 19:54:00 -03:00
2026-06-25 13:17:40 -03:00
2026-06-26 02:51:06 -03:00
2026-04-28 02:41:19 -03:00
2026-06-30 23:36:49 -03:00
2026-06-29 16:51:03 -03:00
2026-06-30 13:46:46 -03:00
2026-06-30 06:54:29 -03:00
2026-06-20 07:09:43 -03:00
2026-06-30 06:54:29 -03:00
2026-06-10 13:49:08 -03:00
2026-06-19 06:49:01 -03:00
2026-04-26 20:15:47 -03:00
2026-06-30 20:33:38 -03:00
2026-05-31 01:15:27 -03:00
2026-06-30 23:36:52 -03:00
2026-06-17 19:26:32 -03:00
2026-06-30 06:54:29 -03:00
2026-07-01 04:07:41 -03:00
2026-06-03 06:45:04 -03:00
2026-05-28 17:19:48 -03:00
2026-06-20 14:55:24 -03:00
2026-06-30 06:54:29 -03:00
2026-06-20 07:09:43 -03:00
2026-06-30 12:55:12 -03:00
2026-06-25 13:17:40 -03:00
2026-06-29 16:51:03 -03:00
2026-06-30 23:36:55 -03:00
2026-02-26 15:11:40 +00:00
2026-04-17 11:56:52 -03:00
2026-06-20 14:55:24 -03:00
2026-06-30 06:54:29 -03:00
2026-06-30 06:54:29 -03:00
2026-04-17 09:00:32 -03:00
2026-05-26 23:51:47 -03:00
2026-07-01 04:37:28 -03:00
2026-04-23 16:57:43 -03:00
2026-06-30 20:33:35 -03:00
2026-06-30 13:19:59 -03:00
2026-06-30 10:50:36 -03:00
2026-06-29 16:51:03 -03:00
2026-04-16 05:26:17 -03:00
2026-05-29 12:44:29 -03:00
2026-05-09 12:42:59 +00:00
2026-06-17 02:43:21 -03:00
2026-06-30 06:54:29 -03:00
2026-04-01 08:42:03 -03:00
2026-03-29 14:37:55 +02:00
2026-03-17 04:24:46 -03:00
2026-06-29 08:40:06 -03:00
2026-05-29 12:44:29 -03:00
2026-05-29 12:44:29 -03:00
2026-05-26 23:51:47 -03:00
2026-03-04 19:35:38 -03:00
2026-06-30 14:56:09 -03:00
2026-06-26 02:51:06 -03:00
2026-06-29 08:40:06 -03:00
2026-06-29 08:40:06 -03:00
2026-06-13 18:50:54 -03:00
2026-04-22 12:25:53 -03:00
2026-04-01 08:45:39 +07:00
2026-04-17 16:45:27 -03:00
2026-06-26 02:51:06 -03:00
2026-07-01 01:24:22 -03:00
2026-04-17 16:45:27 -03:00
2026-06-20 07:09:43 -03:00
2026-04-18 11:44:20 -03:00
2026-04-24 13:20:59 -03:00
2026-05-26 23:51:47 -03:00
2026-06-29 16:51:03 -03:00
2026-06-30 14:56:09 -03:00
2026-06-22 03:17:02 -03:00
2026-06-30 23:36:52 -03:00
2026-04-30 01:27:03 -03:00
2026-06-03 06:45:04 -03:00
2026-05-01 08:36:07 -03:00
2026-05-01 08:36:07 -03:00
2026-06-01 23:13:19 -03:00
2026-06-29 08:40:06 -03:00
2026-06-12 23:49:22 -03:00
2026-06-29 08:40:06 -03:00
2026-06-29 16:51:03 -03:00
2026-06-29 16:51:03 -03:00
2026-02-18 00:02:15 -03:00
2026-05-24 18:05:58 -03:00
2026-06-13 17:27:40 -03:00
2026-06-13 17:27:40 -03:00
2026-06-20 14:55:24 -03:00
2026-06-29 16:51:03 -03:00
2026-02-18 14:43:57 -03:00
2026-02-18 00:02:15 -03:00
2026-06-30 15:09:21 -03:00
2026-06-09 15:56:24 -03:00
2026-06-17 19:26:32 -03:00