Commit a35141a
committed
fix: make js-build graceful when npm is not available
Guard the js-build target so it warns instead of failing when npm is
not installed. This prevents serve/dev targets from breaking in
environments without Node.js — the API server still starts, only the
admin UI bundle is skipped. Also adds --no-audit --no-fund to suppress
noisy npm output during server startup.
Signed-off-by: Mihai Criveti <crivetimihai@gmail.com>1 parent 93b8fd9 commit a35141a
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
260 | 260 | | |
261 | 261 | | |
262 | 262 | | |
263 | | - | |
264 | | - | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
265 | 268 | | |
266 | 269 | | |
267 | 270 | | |
| |||
0 commit comments