@gurkin4
Скачивание картинок нужно для решения капчи при авторизации. База картинок тоже есть. Логика решения капчи реализована на другом автокликере. Переношу решение на БАС
Не устанавливаются модули NodeJS
-
Здравствуйте. Проблема - не устанавливаются модули для NodeJS. Что для версии 12, что для версии 8.
Пробовал устанавливать/удалять ноду на пк(самые разные версии), удалял/устанавливал бас заново, менял пути установки баса, чистил папку "е", устанавливал модули непосредственно в систему через npm i, устанавливал модули с помощью командной строки в папку с нодой баса - без результатов. Сама нода, без модулей, работает без проблем. Проблема наблюдается со любыми npm модулями, а не какими-то конкретными.
Лог ноды:[14:25:03.144] Starting Node.js 12.18.3 [14:25:03.144] Installed distr not found [14:25:03.159] Hash 61bd [14:25:03.159] Suffix xMbL [14:25:03.176] Getting url http://bablosoft.com/distr/Embedded/Node/12.18.3/distr.x64.zip [14:25:05.347] Writting to C:/BAS/BrowserAutomationStudio/apps/23.2.2/e/cache.node.12.18.3.zip [14:25:05.378] Extracting to folder C:/BAS/BrowserAutomationStudio/apps/23.2.2/e/cache.xMbL [14:25:16.34] package.json file content { "dependencies": { "proxy-agent": "*" } } [14:25:16.50] npm install with C:/BAS/BrowserAutomationStudio/apps/23.2.2/e/cache.xMbL/distr/node.exe [14:25:20.534] Npm install log standart C:\BAS\BrowserAutomationStudio\apps\23.2.2\e\cache.xMbL\distr\esparse -> C:\BAS\BrowserAutomationStudio\apps\23.2.2\e\cache.xMbL\distr\node_modules\esprima\bin\esparse.js C:\BAS\BrowserAutomationStudio\apps\23.2.2\e\cache.xMbL\distr\esvalidate -> C:\BAS\BrowserAutomationStudio\apps\23.2.2\e\cache.xMbL\distr\node_modules\esprima\bin\esvalidate.js C:\BAS\BrowserAutomationStudio\apps\23.2.2\e\cache.xMbL\distr\esgenerate -> C:\BAS\BrowserAutomationStudio\apps\23.2.2\e\cache.xMbL\distr\node_modules\escodegen\bin\esgenerate.js C:\BAS\BrowserAutomationStudio\apps\23.2.2\e\cache.xMbL\distr\escodegen -> C:\BAS\BrowserAutomationStudio\apps\23.2.2\e\cache.xMbL\distr\node_modules\escodegen\bin\escodegen.js added 56 packages from 78 contributors in 3.277s [14:25:20.534] Npm install log error npm info it worked if it ends with ok npm verb cli [ npm verb cli 'C:\\BAS\\BrowserAutomationStudio\\apps\\23.2.2\\e\\cache.xMbL\\distr\\node.exe', npm verb cli 'C:\\BAS\\BrowserAutomationStudio\\apps\\23.2.2\\e\\cache.xMbL\\distr\\node_modules\\npm\\bin\\npm-cli.js', npm verb cli 'install', npm verb cli '--loglevel', npm verb cli 'verbose' npm verb cli ] npm info using npm@6.14.6 npm info using node@v12.18.3 npm verb npm-session ebf941567e476ef1 npm info lifecycle @~preinstall: @ npm timing stage:loadCurrentTree Completed in 15ms npm timing stage:loadIdealTree:cloneCurrentTree Completed in 1ms npm timing stage:loadIdealTree:loadShrinkwrap Completed in 4ms npm http fetch GET 304 https://registry.npmjs.org/proxy-agent 270ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/proxy-from-env 51ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/agent-base 126ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/socks-proxy-agent 151ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/http-proxy-agent 191ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/https-proxy-agent 208ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/debug 211ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/lru-cache 216ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/pac-proxy-agent 238ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/socks 107ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/yallist 78ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/@tootallnate%2fonce 133ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/ms 123ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/ip 49ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/pac-resolver 139ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/raw-body 140ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/get-uri 159ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/smart-buffer 141ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/degenerator 109ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/netmask 117ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/iconv-lite 129ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/unpipe 134ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/bytes 166ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/http-errors 164ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/data-uri-to-buffer 139ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/ftp 160ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/file-uri-to-path 223ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/fs-extra 224ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/ast-types 156ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/escodegen 163ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/esprima 129ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/safer-buffer 124ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/depd 136ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/inherits 162ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/setprototypeof 150ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/statuses 116ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/toidentifier 107ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/xregexp 108ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/readable-stream 113ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/universalify 113ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/jsonfile 127ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/graceful-fs 138ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/tslib 138ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/esutils 111ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/estraverse 117ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/optionator 100ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/source-map 102ms (from cache) npm http fetch GET 200 https://registry.npmjs.org/word-wrap 33ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/core-util-is 118ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/isarray 124ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/string_decoder 123ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/levn 95ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/deep-is 100ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/type-check 103ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/prelude-ls 109ms (from cache) npm http fetch GET 304 https://registry.npmjs.org/fast-levenshtein 108ms (from cache) npm timing stage:loadIdealTree:loadAllDepsIntoIdealTree Completed in 1527ms npm timing stage:loadIdealTree Completed in 1558ms npm timing stage:generateActionsToTake Completed in 29ms npm verb correctMkdir C:\Users\sadzurami\AppData\Roaming\npm-cache\_locks correctMkdir not in flight; initializing npm verb makeCacheDir UID & GID are irrelevant on win32 npm verb lock using C:\Users\sadzurami\AppData\Roaming\npm-cache\_locks\staging-3cd709a4ccc1074c.lock for C:\BAS\BrowserAutomationStudio\apps\23.2.2\e\cache.xMbL\distr\node_modules\.staging npm timing action:extract Completed in 1069ms npm timing action:finalize Completed in 159ms npm timing action:refresh-package-json Completed in 264ms npm info lifecycle @tootallnate/once@1.1.2~preinstall: @tootallnate/once@1.1.2 npm info lifecycle bytes@3.1.0~preinstall: bytes@3.1.0 npm info lifecycle core-util-is@1.0.2~preinstall: core-util-is@1.0.2 npm info lifecycle data-uri-to-buffer@3.0.1~preinstall: data-uri-to-buffer@3.0.1 npm info lifecycle deep-is@0.1.3~preinstall: deep-is@0.1.3 npm info lifecycle depd@1.1.2~preinstall: depd@1.1.2 npm info lifecycle esprima@4.0.1~preinstall: esprima@4.0.1 npm info lifecycle estraverse@4.3.0~preinstall: estraverse@4.3.0 npm info lifecycle esutils@2.0.3~preinstall: esutils@2.0.3 npm info lifecycle fast-levenshtein@2.0.6~preinstall: fast-levenshtein@2.0.6 npm info lifecycle file-uri-to-path@2.0.0~preinstall: file-uri-to-path@2.0.0 npm info lifecycle graceful-fs@4.2.6~preinstall: graceful-fs@4.2.6 npm info lifecycle inherits@2.0.4~preinstall: inherits@2.0.4 npm info lifecycle ip@1.1.5~preinstall: ip@1.1.5 npm info lifecycle isarray@0.0.1~preinstall: isarray@0.0.1 npm info lifecycle jsonfile@4.0.0~preinstall: jsonfile@4.0.0 npm info lifecycle ms@2.1.2~preinstall: ms@2.1.2 npm info lifecycle debug@4.3.1~preinstall: debug@4.3.1 npm info lifecycle agent-base@6.0.2~preinstall: agent-base@6.0.2 npm info lifecycle http-proxy-agent@4.0.1~preinstall: http-proxy-agent@4.0.1 npm info lifecycle https-proxy-agent@5.0.0~preinstall: https-proxy-agent@5.0.0 npm info lifecycle netmask@1.0.6~preinstall: netmask@1.0.6 npm info lifecycle prelude-ls@1.1.2~preinstall: prelude-ls@1.1.2 npm info lifecycle proxy-from-env@1.1.0~preinstall: proxy-from-env@1.1.0 npm info lifecycle safer-buffer@2.1.2~preinstall: safer-buffer@2.1.2 npm info lifecycle iconv-lite@0.4.24~preinstall: iconv-lite@0.4.24 npm info lifecycle setprototypeof@1.1.1~preinstall: setprototypeof@1.1.1 npm info lifecycle smart-buffer@4.1.0~preinstall: smart-buffer@4.1.0 npm info lifecycle socks@2.5.1~preinstall: socks@2.5.1 npm info lifecycle socks-proxy-agent@5.0.0~preinstall: socks-proxy-agent@5.0.0 npm info lifecycle source-map@0.6.1~preinstall: source-map@0.6.1 npm info lifecycle statuses@1.5.0~preinstall: statuses@1.5.0 npm info lifecycle string_decoder@0.10.31~preinstall: string_decoder@0.10.31 npm info lifecycle readable-stream@1.1.14~preinstall: readable-stream@1.1.14 npm info lifecycle toidentifier@1.0.0~preinstall: toidentifier@1.0.0 npm info lifecycle http-errors@1.7.3~preinstall: http-errors@1.7.3 npm info lifecycle tslib@2.1.0~preinstall: tslib@2.1.0 npm info lifecycle ast-types@0.13.4~preinstall: ast-types@0.13.4 npm info lifecycle type-check@0.3.2~preinstall: type-check@0.3.2 npm info lifecycle levn@0.3.0~preinstall: levn@0.3.0 npm info lifecycle universalify@0.1.2~preinstall: universalify@0.1.2 npm info lifecycle fs-extra@8.1.0~preinstall: fs-extra@8.1.0 npm info lifecycle unpipe@1.0.0~preinstall: unpipe@1.0.0 npm info lifecycle raw-body@2.4.1~preinstall: raw-body@2.4.1 npm info lifecycle word-wrap@1.2.3~preinstall: word-wrap@1.2.3 npm info lifecycle optionator@0.8.3~preinstall: optionator@0.8.3 npm info lifecycle escodegen@1.14.3~preinstall: escodegen@1.14.3 npm info lifecycle degenerator@2.2.0~preinstall: degenerator@2.2.0 npm info lifecycle pac-resolver@4.1.0~preinstall: pac-resolver@4.1.0 npm info lifecycle xregexp@2.0.0~preinstall: xregexp@2.0.0 npm info lifecycle proxy-agent@4.0.1~preinstall: proxy-agent@4.0.1 npm info lifecycle lru-cache@5.1.1~preinstall: lru-cache@5.1.1 npm info lifecycle yallist@3.1.1~preinstall: yallist@3.1.1 npm info lifecycle pac-proxy-agent@4.1.0~preinstall: pac-proxy-agent@4.1.0 npm info lifecycle get-uri@3.0.2~preinstall: get-uri@3.0.2 npm info lifecycle ftp@0.3.10~preinstall: ftp@0.3.10 npm timing action:preinstall Completed in 11ms npm info linkStuff @tootallnate/once@1.1.2 npm info linkStuff bytes@3.1.0 npm info linkStuff core-util-is@1.0.2 npm info linkStuff data-uri-to-buffer@3.0.1 npm info linkStuff deep-is@0.1.3 npm info linkStuff depd@1.1.2 npm info linkStuff esprima@4.0.1 npm verb linkBins [ npm verb linkBins { esparse: 'bin/esparse.js', esvalidate: 'bin/esvalidate.js' }, npm verb linkBins 'C:\\BAS\\BrowserAutomationStudio\\apps\\23.2.2\\e\\cache.xMbL\\distr', npm verb linkBins true npm verb linkBins ] npm info linkStuff estraverse@4.3.0 npm info linkStuff esutils@2.0.3 npm info linkStuff fast-levenshtein@2.0.6 npm info linkStuff file-uri-to-path@2.0.0 npm info linkStuff graceful-fs@4.2.6 npm info linkStuff inherits@2.0.4 npm info linkStuff ip@1.1.5 npm info linkStuff isarray@0.0.1 npm info linkStuff jsonfile@4.0.0 npm info linkStuff ms@2.1.2 npm info linkStuff debug@4.3.1 npm info linkStuff agent-base@6.0.2 npm info linkStuff http-proxy-agent@4.0.1 npm info linkStuff https-proxy-agent@5.0.0 npm info linkStuff netmask@1.0.6 npm info linkStuff prelude-ls@1.1.2 npm info linkStuff proxy-from-env@1.1.0 npm info linkStuff safer-buffer@2.1.2 npm info linkStuff iconv-lite@0.4.24 npm info linkStuff setprototypeof@1.1.1 npm info linkStuff smart-buffer@4.1.0 npm info linkStuff socks@2.5.1 npm info linkStuff socks-proxy-agent@5.0.0 npm info linkStuff source-map@0.6.1 npm info linkStuff statuses@1.5.0 npm info linkStuff string_decoder@0.10.31 npm info linkStuff readable-stream@1.1.14 npm info linkStuff toidentifier@1.0.0 npm info linkStuff http-errors@1.7.3 npm info linkStuff tslib@2.1.0 npm info linkStuff ast-types@0.13.4 npm info linkStuff type-check@0.3.2 npm info linkStuff levn@0.3.0 npm info linkStuff universalify@0.1.2 npm info linkStuff fs-extra@8.1.0 npm info linkStuff unpipe@1.0.0 npm info linkStuff raw-body@2.4.1 npm info linkStuff word-wrap@1.2.3 npm info linkStuff optionator@0.8.3 npm info linkStuff escodegen@1.14.3 npm verb linkBins [ npm verb linkBins { esgenerate: 'bin/esgenerate.js', escodegen: 'bin/escodegen.js' }, npm verb linkBins 'C:\\BAS\\BrowserAutomationStudio\\apps\\23.2.2\\e\\cache.xMbL\\distr', npm verb linkBins true npm verb linkBins ] npm info linkStuff degenerator@2.2.0 npm info linkStuff pac-resolver@4.1.0 npm info linkStuff xregexp@2.0.0 npm info linkStuff ftp@0.3.10 npm info linkStuff get-uri@3.0.2 npm info linkStuff pac-proxy-agent@4.1.0 npm info linkStuff yallist@3.1.1 npm info linkStuff lru-cache@5.1.1 npm info linkStuff proxy-agent@4.0.1 npm timing action:build Completed in 71ms npm info lifecycle @tootallnate/once@1.1.2~install: @tootallnate/once@1.1.2 npm info lifecycle bytes@3.1.0~install: bytes@3.1.0 npm info lifecycle core-util-is@1.0.2~install: core-util-is@1.0.2 npm info lifecycle data-uri-to-buffer@3.0.1~install: data-uri-to-buffer@3.0.1 npm info lifecycle deep-is@0.1.3~install: deep-is@0.1.3 npm info lifecycle depd@1.1.2~install: depd@1.1.2 npm info lifecycle esprima@4.0.1~install: esprima@4.0.1 npm info lifecycle estraverse@4.3.0~install: estraverse@4.3.0 npm info lifecycle esutils@2.0.3~install: esutils@2.0.3 npm info lifecycle fast-levenshtein@2.0.6~install: fast-levenshtein@2.0.6 npm info lifecycle file-uri-to-path@2.0.0~install: file-uri-to-path@2.0.0 npm info lifecycle graceful-fs@4.2.6~install: graceful-fs@4.2.6 npm info lifecycle inherits@2.0.4~install: inherits@2.0.4 npm info lifecycle ip@1.1.5~install: ip@1.1.5 npm info lifecycle isarray@0.0.1~install: isarray@0.0.1 npm info lifecycle jsonfile@4.0.0~install: jsonfile@4.0.0 npm info lifecycle ms@2.1.2~install: ms@2.1.2 npm info lifecycle debug@4.3.1~install: debug@4.3.1 npm info lifecycle agent-base@6.0.2~install: agent-base@6.0.2 npm info lifecycle http-proxy-agent@4.0.1~install: http-proxy-agent@4.0.1 npm info lifecycle https-proxy-agent@5.0.0~install: https-proxy-agent@5.0.0 npm info lifecycle netmask@1.0.6~install: netmask@1.0.6 npm info lifecycle prelude-ls@1.1.2~install: prelude-ls@1.1.2 npm info lifecycle proxy-from-env@1.1.0~install: proxy-from-env@1.1.0 npm info lifecycle safer-buffer@2.1.2~install: safer-buffer@2.1.2 npm info lifecycle iconv-lite@0.4.24~install: iconv-lite@0.4.24 npm info lifecycle setprototypeof@1.1.1~install: setprototypeof@1.1.1 npm info lifecycle smart-buffer@4.1.0~install: smart-buffer@4.1.0 npm info lifecycle socks@2.5.1~install: socks@2.5.1 npm info lifecycle socks-proxy-agent@5.0.0~install: socks-proxy-agent@5.0.0 npm info lifecycle source-map@0.6.1~install: source-map@0.6.1 npm info lifecycle statuses@1.5.0~install: statuses@1.5.0 npm info lifecycle string_decoder@0.10.31~install: string_decoder@0.10.31 npm info lifecycle readable-stream@1.1.14~install: readable-stream@1.1.14 npm info lifecycle toidentifier@1.0.0~install: toidentifier@1.0.0 npm info lifecycle http-errors@1.7.3~install: http-errors@1.7.3 npm info lifecycle tslib@2.1.0~install: tslib@2.1.0 npm info lifecycle ast-types@0.13.4~install: ast-types@0.13.4 npm info lifecycle type-check@0.3.2~install: type-check@0.3.2 npm info lifecycle levn@0.3.0~install: levn@0.3.0 npm info lifecycle universalify@0.1.2~install: universalify@0.1.2 npm info lifecycle fs-extra@8.1.0~install: fs-extra@8.1.0 npm info lifecycle unpipe@1.0.0~install: unpipe@1.0.0 npm info lifecycle raw-body@2.4.1~install: raw-body@2.4.1 npm info lifecycle word-wrap@1.2.3~install: word-wrap@1.2.3 npm info lifecycle optionator@0.8.3~install: optionator@0.8.3 npm info lifecycle escodegen@1.14.3~install: escodegen@1.14.3 npm info lifecycle degenerator@2.2.0~install: degenerator@2.2.0 npm info lifecycle pac-resolver@4.1.0~install: pac-resolver@4.1.0 npm info lifecycle xregexp@2.0.0~install: xregexp@2.0.0 npm info lifecycle ftp@0.3.10~install: ftp@0.3.10 npm info lifecycle get-uri@3.0.2~install: get-uri@3.0.2 npm info lifecycle pac-proxy-agent@4.1.0~install: pac-proxy-agent@4.1.0 npm info lifecycle yallist@3.1.1~install: yallist@3.1.1 npm info lifecycle lru-cache@5.1.1~install: lru-cache@5.1.1 npm info lifecycle proxy-agent@4.0.1~install: proxy-agent@4.0.1 npm timing action:install Completed in 12ms npm info lifecycle @tootallnate/once@1.1.2~postinstall: @tootallnate/once@1.1.2 npm info lifecycle bytes@3.1.0~postinstall: bytes@3.1.0 npm info lifecycle core-util-is@1.0.2~postinstall: core-util-is@1.0.2 npm info lifecycle data-uri-to-buffer@3.0.1~postinstall: data-uri-to-buffer@3.0.1 npm info lifecycle deep-is@0.1.3~postinstall: deep-is@0.1.3 npm info lifecycle depd@1.1.2~postinstall: depd@1.1.2 npm info lifecycle esprima@4.0.1~postinstall: esprima@4.0.1 npm info lifecycle estraverse@4.3.0~postinstall: estraverse@4.3.0 npm info lifecycle esutils@2.0.3~postinstall: esutils@2.0.3 npm info lifecycle fast-levenshtein@2.0.6~postinstall: fast-levenshtein@2.0.6 npm info lifecycle file-uri-to-path@2.0.0~postinstall: file-uri-to-path@2.0.0 npm info lifecycle graceful-fs@4.2.6~postinstall: graceful-fs@4.2.6 npm info lifecycle inherits@2.0.4~postinstall: inherits@2.0.4 npm info lifecycle ip@1.1.5~postinstall: ip@1.1.5 npm info lifecycle isarray@0.0.1~postinstall: isarray@0.0.1 npm info lifecycle jsonfile@4.0.0~postinstall: jsonfile@4.0.0 npm info lifecycle ms@2.1.2~postinstall: ms@2.1.2 npm info lifecycle debug@4.3.1~postinstall: debug@4.3.1 npm info lifecycle agent-base@6.0.2~postinstall: agent-base@6.0.2 npm info lifecycle http-proxy-agent@4.0.1~postinstall: http-proxy-agent@4.0.1 npm info lifecycle https-proxy-agent@5.0.0~postinstall: https-proxy-agent@5.0.0 npm info lifecycle netmask@1.0.6~postinstall: netmask@1.0.6 npm info lifecycle prelude-ls@1.1.2~postinstall: prelude-ls@1.1.2 npm info lifecycle proxy-from-env@1.1.0~postinstall: proxy-from-env@1.1.0 npm info lifecycle safer-buffer@2.1.2~postinstall: safer-buffer@2.1.2 npm info lifecycle iconv-lite@0.4.24~postinstall: iconv-lite@0.4.24 npm info lifecycle setprototypeof@1.1.1~postinstall: setprototypeof@1.1.1 npm info lifecycle smart-buffer@4.1.0~postinstall: smart-buffer@4.1.0 npm info lifecycle socks@2.5.1~postinstall: socks@2.5.1 npm info lifecycle socks-proxy-agent@5.0.0~postinstall: socks-proxy-agent@5.0.0 npm info lifecycle source-map@0.6.1~postinstall: source-map@0.6.1 npm info lifecycle statuses@1.5.0~postinstall: statuses@1.5.0 npm info lifecycle string_decoder@0.10.31~postinstall: string_decoder@0.10.31 npm info lifecycle readable-stream@1.1.14~postinstall: readable-stream@1.1.14 npm info lifecycle toidentifier@1.0.0~postinstall: toidentifier@1.0.0 npm info lifecycle http-errors@1.7.3~postinstall: http-errors@1.7.3 npm info lifecycle tslib@2.1.0~postinstall: tslib@2.1.0 npm info lifecycle ast-types@0.13.4~postinstall: ast-types@0.13.4 npm info lifecycle type-check@0.3.2~postinstall: type-check@0.3.2 npm info lifecycle levn@0.3.0~postinstall: levn@0.3.0 npm info lifecycle universalify@0.1.2~postinstall: universalify@0.1.2 npm info lifecycle fs-extra@8.1.0~postinstall: fs-extra@8.1.0 npm info lifecycle unpipe@1.0.0~postinstall: unpipe@1.0.0 npm info lifecycle raw-body@2.4.1~postinstall: raw-body@2.4.1 npm info lifecycle word-wrap@1.2.3~postinstall: word-wrap@1.2.3 npm info lifecycle optionator@0.8.3~postinstall: optionator@0.8.3 npm info lifecycle escodegen@1.14.3~postinstall: escodegen@1.14.3 npm info lifecycle degenerator@2.2.0~postinstall: degenerator@2.2.0 npm info lifecycle pac-resolver@4.1.0~postinstall: pac-resolver@4.1.0 npm info lifecycle xregexp@2.0.0~postinstall: xregexp@2.0.0 npm info lifecycle ftp@0.3.10~postinstall: ftp@0.3.10 npm info lifecycle get-uri@3.0.2~postinstall: get-uri@3.0.2 npm info lifecycle pac-proxy-agent@4.1.0~postinstall: pac-proxy-agent@4.1.0 npm info lifecycle yallist@3.1.1~postinstall: yallist@3.1.1 npm info lifecycle lru-cache@5.1.1~postinstall: lru-cache@5.1.1 npm info lifecycle proxy-agent@4.0.1~postinstall: proxy-agent@4.0.1 npm timing action:postinstall Completed in 10ms npm verb unlock done using C:\Users\sadzurami\AppData\Roaming\npm-cache\_locks\staging-3cd709a4ccc1074c.lock for C:\BAS\BrowserAutomationStudio\apps\23.2.2\e\cache.xMbL\distr\node_modules\.staging npm timing stage:executeActions Completed in 1637ms npm timing stage:rollbackFailedOptional Completed in 0ms npm info linkStuff !invalid#1 npm info lifecycle undefined~install: undefined npm info lifecycle undefined~postinstall: undefined npm info lifecycle undefined~prepublish: undefined npm info lifecycle undefined~prepare: undefined npm timing stage:runTopLevelLifecycles Completed in 3273ms npm verb exit [ 0, true ] npm timing npm Completed in 3871ms npm info ok [14:25:20.550] Deleting functions and files [14:25:20.550] Removing directory C:/BAS/BrowserAutomationStudio/apps/23.2.2/e/cache.xMbL/distr/lib/custom [14:25:20.566] Installing functions and files [14:25:20.582] Installing function C:/BAS/BrowserAutomationStudio/apps/23.2.2/e/cache.xMbL/distr/lib/custom/256nx5wdw5h.js [14:25:20.582] Renaming directory C:/BAS/BrowserAutomationStudio/apps/23.2.2/e/cache.xMbL -> C:/BAS/BrowserAutomationStudio/apps/23.2.2/e/61bd.xMbL [14:25:20.597] Failed to move folder [14:25:20.613] Autoclean [14:25:20.613] Not modified C:/BAS/BrowserAutomationStudio/apps/23.2.2/e/6a35.x0rC for 62 seconds [14:25:20.628] Not modified C:/BAS/BrowserAutomationStudio/apps/23.2.2/e/cache.xMbL for 15 seconds [14:25:20.628] Not modified C:/BAS/BrowserAutomationStudio/apps/23.2.2/e/cache.yqT6 for 33 seconds [14:25:20.643] Autoclean current folder becuase of error C:/BAS/BrowserAutomationStudio/apps/23.2.2/e/61bd.xMbL [14:25:20.659] Autoclean distr becuase of error e/cache.node.12.18.3.zip [14:25:20.659] Autoclean current cache C:/BAS/BrowserAutomationStudio/apps/23.2.2/e/cache.xMbLСистема Windows 10 Pro 21301
-
@Sadzurami А для чего вы хотите перейти на ноду 12 версии?
-
@Sadzurami said in Не устанавливаются модули NodeJS:
@Fox проблема наблюдается и на 12й версии и на 8й, как я упомянул ранее.
Судя по логу проблема возникает при переносе папки
[14:25:20.597] Failed to move folderпопробуйте запустить BAS от имени администратора
-
@Fox said in Не устанавливаются модули NodeJS:
Судя по логу проблема возникает при переносе папки
У меня было такое у одного клиента, так и не поняли в чем дело, на буке работало, на ПК нет.
-
@UserTrue said in Не устанавливаются модули NodeJS:
@Fox said in Не устанавливаются модули NodeJS:
Судя по логу проблема возникает при переносе папки
У меня было такое у одного клиента, так и не поняли в чем дело, на буке работало, на ПК нет.
Ну кроме проблем с правами я не могу представить причину. Можно попробовать установить саму ноду отдельно
-
@Sadzurami said in Не устанавливаются модули NodeJS:
@Fox запускал от имени администратора, не помогло. Ноду отдельно ставил, самые разные версии (в том числе модули отдельно) - не помогло.
Попробуйте переустановить BAS в другую директорию и добавить в исключения антивиря и фаервола эту директорию
-
@Fox said in Не устанавливаются модули NodeJS:
@UserTrue said in Не устанавливаются модули NodeJS:
@Fox said in Не устанавливаются модули NodeJS:
Судя по логу проблема возникает при переносе папки
У меня было такое у одного клиента, так и не поняли в чем дело, на буке работало, на ПК нет.
Ну кроме проблем с правами я не могу представить причину. Можно попробовать установить саму ноду отдельно
Не там что-то другое, потому что БАС же изначально создает папки, распаковывает и тд. Больше похоже, что какой-то файл остается заблокирован каким-то процессом.
-
@Sadzurami said in Не устанавливаются модули NodeJS:
@Fox пробовал переустанавливать бас, в стандартную директорию и в кастомную (С/BAS) - не помогло. Антивирус выключен полностью (стандартный windows defender), фаервол тоже отключен.
У меня остаётся только вариант со святой водой
:D. Но так как у вас есть премиум, я перенаправил ваш вопрос разработчику -
@Sadzurami said in Не устанавливаются модули NodeJS:
@Fox благодарю. Буду ждать хоть каких-то новостей.
А руками вы можете переименовать эту папку?
-
@Sadzurami said in Не устанавливаются модули NodeJS:
@Fox да, руками изменяется без проблем. Извините, ранее не заметил ваше сообщение.
Проблема ещё актуальна?
-
@Fox да, актуальна.
Я наверное забыл ещё один момент указать.
Если работать с нодой непосредственно с консоли, то никаких проблем с плагинами нету. Т.е. зависимости все подхватываются, и подхватываются плагины, установленные на пк.
Но с использованием модулей ноды в басе никуда проблема не исчезла. -
@Sadzurami said in Не устанавливаются модули NodeJS:
@Fox да, актуальна.
Я наверное забыл ещё один момент указать.
Если работать с нодой непосредственно с консоли, то никаких проблем с плагинами нету. Т.е. зависимости все подхватываются, и подхватываются плагины, установленные на пк.
Но с использованием модулей ноды в басе никуда проблема не исчезла.Нужно убедиться, что папку можно переименовать в ручном режиме сразу после возникновения проблемы:
C:/BAS/BrowserAutomationStudio/apps/23.2.2/e/cache.xMbL -> C:/BAS/BrowserAutomationStudio/apps/23.2.2/e/61bd.xMbLЕсли это так, нужно предоставить доступ.
-
@Fox В этой теме подобная проблема, БАС не мог переименовать папку
https://community.bablosoft.com/topic/13376/не-устанавливается-node-12-с-модулями -
@Fox
проверил, как вы и сказалируками без проблем переименовывается после возникновения проблемы
так-же, полностью удалил содержимое папки "е", запустил бас с нодой без модулей, понаблюдал что происходит в папке "е":
бас самостоятельно скачал архив с нодой, распаковал его в папку "cache.***", потом успешно переименовал эту папку и запустился без проблемпереименовывать не может почему-то именно тогда, когда пытаешься запустить с любыми модулями ноды
-
@Sadzurami said in Не устанавливаются модули NodeJS:
@Fox
проверил, как вы и сказалируками без проблем переименовывается после возникновения проблемы
так-же, полностью удалил содержимое папки "е", запустил бас с нодой без модулей, понаблюдал что происходит в папке "е":
бас самостоятельно скачал архив с нодой, распаковал его в папку "cache.***", потом успешно переименовал эту папку и запустился без проблемпереименовывать не может почему-то именно тогда, когда пытаешься запустить с любыми модулями ноды
Тут может быть много варинатов. Например, антивирус мешает удалиться папке, потому что он еще проверяет в ней файлы. Пока вы руками открываете папку, он уже завершает свою работу.
Нужен доступ.