@mocard
Выдержка из конца лога, который предлагает открыть BAS, когда установка не удалась:
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\Administrator\AppData\Local\npm-cache\_logs\2023-03-01T11_42_56_650Z-debug-0.log
Выдержка из этого самого лога:
370 notice New major version of npm available! 8.19.2 -> 9.5.1
370 notice Changelog: <https://github.com/npm/cli/releases/tag/v9.5.1>
370 notice Run `npm install -g npm@9.5.1` to update!
370 notice
371 verbose stack Error: command failed
371 verbose stack at ChildProcess.<anonymous> (C:\Users\Administrator\AppData\Roaming\BrowserAutomationStudio\apps\25.4.1\e\cache.bkqI\distr\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:63:27)
371 verbose stack at ChildProcess.emit (node:events:513:28)
371 verbose stack at maybeClose (node:internal/child_process:1091:16)
371 verbose stack at ChildProcess._handle.onexit (node:internal/child_process:302:5)
372 verbose pkgid oracledb@5.5.0
373 verbose cwd C:\Users\Administrator\AppData\Roaming\BrowserAutomationStudio\apps\25.4.1\e\cache.bkqI\distr\app
374 verbose Windows_NT 10.0.17763
375 verbose node v18.10.0
376 verbose npm v8.19.2
377 error code 1
378 error path C:\Users\Administrator\AppData\Roaming\BrowserAutomationStudio\apps\25.4.1\e\cache.bkqI\distr\app\node_modules\oracledb
379 error command failed
380 error command C:\Windows\system32\cmd.exe /d /s /c node package/install.js
381 error 'node' is not recognized as an internal or external command,
381 error operable program or batch file.
382 verbose exit 1
383 timing npm Completed in 3326ms
384 verbose unfinished npm timer reify 1677670977132
385 verbose unfinished npm timer reify:build 1677670979591
386 verbose unfinished npm timer build 1677670979592
387 verbose unfinished npm timer build:deps 1677670979592
388 verbose unfinished npm timer build:run:install 1677670979594
389 verbose unfinished npm timer build:run:install:node_modules/oracledb 1677670979594
390 verbose code 1
391 error A complete log of this run can be found in:
391 error C:\Users\Administrator\AppData\Local\npm-cache\_logs\2023-03-01T11_42_56_650Z-debug-0.log
Ошибка тут:
380 error command C:\Windows\system32\cmd.exe /d /s /c node package/install.js
381 error 'node' is not recognized as an internal or external command,
Причины ошибки - переменная окружения "путь до NodeJS" не установлена.