@Shadow said in Android Manager - модуль для управления android эмуляторами:
Ошибка "Не удалось установить npm модули. Смотрите лог для более подробной информации". Переустанавливал бас, чистил папку e, ничего не помогает. Ошибка появилась, после того как откатил винду до заводских настроек. Буду рад помощи и совету. Ошибка при установке самого node.js не появляется, а на этом модуле появляется
npm timing build:link:node_modules/geckodriver/node_modules/which Completed in 84ms
npm timing build:link:node_modules/puppeteer-core/node_modules/@puppeteer/browsers Completed in 85ms
npm timing build:link Completed in 87ms
npm info run edgedriver@5.6.0 install node_modules/edgedriver test -f ./dist/install.js && node ./dist/install.js || echo "Skipping install, project not build!"
npm info run sharp@0.33.4 install node_modules/sharp node install/check
npm info run edgedriver@5.6.0 install { code: 0, signal: null }
npm timing build:run:install:node_modules/edgedriver Completed in 57ms
npm info run sharp@0.33.4 install { code: 1, signal: null }
npm timing reify:rollback:createSparse Completed in 765ms
npm timing reify:rollback:retireShallow Completed in 177ms
npm timing command:install Completed in 6893ms
npm verb stack Error: command failed
npm verb stack at ChildProcess.<anonymous> (C:\Users\for_s\AppData\Roaming\BrowserAutomationStudio\apps\27.5.1\e\cache.MyxU\distr\node_modules\npm\node_modules\@npmcli\promise-spawn\lib\index.js:63:27)
npm verb stack at ChildProcess.emit (node:events:513:28)
npm verb stack at maybeClose (node:internal/child_process:1091:16)
npm verb stack at ChildProcess._handle.onexit (node:internal/child_process:302:5)
npm verb pkgid sharp@0.33.4
npm verb cwd C:\Users\for_s\AppData\Roaming\BrowserAutomationStudio\apps\27.5.1\e\cache.MyxU\distr\app
npm verb Windows_NT 10.0.22631
npm verb node v18.10.0
npm verb npm v8.19.2
npm ERR! code 1
npm ERR! path C:\Users\for_s\AppData\Roaming\BrowserAutomationStudio\apps\27.5.1\e\cache.MyxU\distr\app\node_modules\sharp
npm ERR! command failed
npm ERR! command C:\Windows\system32\cmd.exe /d /s /c node install/check
npm ERR! "node" ?? ????? ???????? ??? ?????
npm ERR! ????????, ??????? ?????? ??? ?????? ????.
npm verb exit 1
npm timing npm Completed in 7072ms
npm verb unfinished npm timer reify 1721163620888
npm verb unfinished npm timer reify:build 1721163626667
npm verb unfinished npm timer build 1721163626668
npm verb unfinished npm timer build:deps 1721163626668
npm verb unfinished npm timer build:run:install 1721163626772
npm verb unfinished npm timer build:run:install:node_modules/sharp 1721163626808
npm verb code 1
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\for_s\AppData\Local\npm-cache\_logs\2024-07-16T21_00_20_710Z-debug-0.log
[00:00:27.814] Failed to install npm modules
[00:00:27.814] Autoclean current folder becuase of error C:/Users/for_s/AppData/Roaming/BrowserAutomationStudio/apps/27.5.1/e/0d00.MyxU
[00:00:27.815] Autoclean current cache C:/Users/for_s/AppData/Roaming/BrowserAutomationStudio/apps/27.5.1/e/cache.MyxU
@sergerdn Я столкнулся с этой проблемой. Какую версию nodejs нужно использовать?