cmd /c start /min cmd /k notepad
Некорректная работа при установке npm модулей
-
Не могу заставить работать jimp в коде, при вызове nodejs, ошибка TypeScript: Jimp is not a function. Я так понимаю, это проблема с установкой npm модулей в BAS, как это исправить? NodeJS в настройках браузера включен, jimp импортировал в логах следующее
[17:02:01.697] Started success
[17:10:36.151] Stopped by user (begin)
[17:10:36.151] Stopped by user (end)
[17:10:36.192] Language version set to 18.10.0
[17:10:36.192] Added module jimp, *
[17:10:36.192] Added module sharp, *
[17:10:36.192] Added function 8gntpadivqf
[17:10:36.192] ------------------------------------------------------------------
[17:10:36.192] Starting Node.js 18.10.0
[17:10:36.192] Found installed distr D:/BrowserAutomationStudio/apps/27.9.1/87c7.rJur
[17:10:36.192] Calculating checksums for D:/BrowserAutomationStudio/apps/27.9.1/e/87c7.rJur/distr
[17:10:36.204] Checksum verified successfully
[17:10:36.204] Hash 87c7
[17:10:36.204] Deleting functions and files
[17:10:36.204] Removing directory D:/BrowserAutomationStudio/apps/27.9.1/e/87c7.rJur/distr/app/lib/custom
[17:10:36.205] Installing functions and files
[17:10:36.205] Installing function D:/BrowserAutomationStudio/apps/27.9.1/e/87c7.rJur/distr/app/lib/custom/8gntpadivqf.js
[17:10:36.206] Starting pipes server \.\pipe\basembeddedpipes18.10.020308
[17:10:36.206] Starting process D:/BrowserAutomationStudio/apps/27.9.1/e/87c7.rJur/distr/node.exe
[17:10:36.267] Autoclean
[17:10:36.267] Not modified D:/BrowserAutomationStudio/apps/27.9.1/e/349d.vu90 for 624 seconds
[17:10:36.267] Not modified D:/BrowserAutomationStudio/apps/27.9.1/e/87c7.rJur for 0 seconds
[17:10:36.267] Autoclean current cache D:/BrowserAutomationStudio/apps/27.9.1/e/cache.rJur
[17:10:36.268] Started success -
const { Jimp } = require("jimp");