"ws" у меня нормально установился прямо из BAS. Я только для примера его привел. А вот модуль "web3" и еще один модуль не устанавливаются. БАС при этом выдает ошибку "не удалось установить npm модули. Смотрите лог для более подробной информации". Полагаю, что модуль не устанавливается из-за того, что файлы модуля располагаются на Гитхабе (это уже обсуждалось на форуме здесь )
Вот лог ошибки:
[18:30:00.339] Stopped by user (begin)
[18:30:00.339] Stopped by user (end)
[18:32:49.883] Language version set to 12.18.3
[18:32:49.884] Added module ws, *
[18:32:49.884] Added module web3, *
[18:32:49.884] Added function r3mkhb2zgve
[18:32:49.884] ------------------------------------------------------------------
[18:32:49.884] Starting Node.js 12.18.3
[18:32:49.885] Installed distr not found
[18:32:49.885] Hash 7be4
[18:32:49.885] Suffix Kmh7
[18:32:49.885] Found cache C:/Users/admin/AppData/Roaming/BrowserAutomationStudio/apps/24.1.1/e/cache.node.12.18.3.zip
[18:32:49.885] Extracting to folder C:/Users/admin/AppData/Roaming/BrowserAutomationStudio/apps/24.1.1/e/cache.Kmh7
[18:32:59.419] package.json file content {
"dependencies": {
"web3": "*",
"ws": "*"
}
}
[18:32:59.419] npm install with C:/Users/admin/AppData/Roaming/BrowserAutomationStudio/apps/24.1.1/e/cache.Kmh7/distr/node.exe
[18:33:30.835] Npm install log standart C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\miller-rabin -> C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\node_modules\miller-rabin\bin\miller-rabin
C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\mime -> C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\node_modules\mime\cli.js
C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\mkdirp -> C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\node_modules\mkdirp\bin\cmd.js
C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\node-gyp-build -> C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\node_modules\node-gyp-build\bin.js
C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\node-gyp-build-test -> C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\node_modules\node-gyp-build\build-test.js
C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\node-gyp-build-optional -> C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\node_modules\node-gyp-build\optional.js
C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\printj -> C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\node_modules\printj\bin\printj.njs
C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\crc32 -> C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\node_modules\crc-32\bin\crc32.njs
C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\rlp -> C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\node_modules\rlp\bin\rlp
C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\sha.js -> C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\node_modules\sha.js\bin.js
C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\sshpk-conv -> C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\node_modules\sshpk\bin\sshpk-conv
C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\sshpk-sign -> C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\node_modules\sshpk\bin\sshpk-sign
C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\sshpk-verify -> C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\node_modules\sshpk\bin\sshpk-verify
C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\uuid -> C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\node_modules\uuid\bin\uuid
> bufferutil@4.0.5 install C:\Users\admin\AppData\Roaming\BrowserAutomationStudio\apps\24.1.1\e\cache.Kmh7\distr\node_modules\bufferutil
> node-gyp-build
[18:33:30.835] Npm install log error npm info it worked if it ends with ok
npm verb cli [
npm verb cli 'C:\\Users\\admin\\AppData\\Roaming\\BrowserAutomationStudio\\apps\\24.1.1\\e\\cache.Kmh7\\distr\\node.exe',
npm verb cli 'C:\\Users\\admin\\AppData\\Roaming\\BrowserAutomationStudio\\apps\\24.1.1\\e\\cache.Kmh7\\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 4d6d4418dacb8b33
npm info lifecycle @~preinstall: @
npm timing stage:loadCurrentTree Completed in 9ms
npm timing stage:loadIdealTree:cloneCurrentTree Completed in 1ms
npm timing stage:loadIdealTree:loadShrinkwrap Completed in 2ms
npm http fetch GET 304 https://registry.npmjs.org/web3 210ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ws 213ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/web3-core 81ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/web3-bzz 110ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/web3-shh 140ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/web3-eth 148ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/web3-eth-personal 154ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/web3-utils 166ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/web3-net 203ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/web3-core-helpers 149ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/web3-core-requestmanager 105ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@types%2fnode 176ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/got 126ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/swarm-js 119ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/web3-core-method 185ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/web3-core-subscriptions 136ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ethereum-bloom-filters 54ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/bn.js 68ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/web3-eth-iban 75ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ethereumjs-util 83ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/bignumber.js 320ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@types%2fbn.js 321ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/number-to-bn 62ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/randombytes 60ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ethjs-unit 79ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/util 55ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/utf8 61ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@szmarczak%2fhttp-timer 97ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/decompress-response 61ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/duplexer3 82ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/get-stream 73ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/lowercase-keys 64ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/mimic-response 81ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/p-cancelable 75ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/to-readable-stream 49ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/web3-eth-abi 918ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/url-parse-lax 75ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/web3-eth-accounts 918ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/web3-eth-ens 892ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/bluebird 61ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/eth-lib 68ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/buffer 78ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/fs-extra 64ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/web3-eth-contract 992ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/mkdirp-promise 56ms (from cache)
npm WARN deprecated mkdirp-promise@5.0.1: This package is broken and no longer maintained. 'mkdirp' itself supports promises now, please switch to that.
npm http fetch GET 304 https://registry.npmjs.org/mock-fs 59ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/mime-types 119ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/setimmediate 82ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/web3-providers-ws 892ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/tar 71ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/cacheable-request 906ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/eventemitter3 64ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/js-sha3 58ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@ethersproject%2ftransactions 153ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/create-hash 110ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/xhr-request 174ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/web3-providers-ipc 1032ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/web3-core-promievent 144ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ethereum-cryptography 100ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/web3-providers-http 1088ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/rlp 104ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/strip-hex-prefix 101ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/inherits 73ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-generator-function 70ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/safe-buffer 84ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-arguments 88ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/safe-buffer 96ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/defer-to-connect 78ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/which-typed-array 103ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/pump 75ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/prepend-http 65ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@ethereumjs%2fcommon 126ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/scrypt-js 100ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/crypto-browserify 110ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/eth-ens-namehash 96ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/uuid 113ms (from cache)
npm WARN deprecated uuid@3.3.2: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm http fetch GET 304 https://registry.npmjs.org/is-stream 54ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-plain-obj 65ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-retry-allowed 63ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/p-timeout 52ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/timed-out 52ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/nano-json-stream-parser 58ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/elliptic 60ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/url-to-options 79ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/servify 48ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/base64-js 48ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ieee754 54ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/xhr-request-promise 72ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/graceful-fs 46ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/jsonfile 44ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/mime-db 54ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/mkdirp 65ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/universalify 90ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/chownr 60ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/fs-minipass 59ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/minipass 75ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/minizlib 51ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/yallist 61ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/clone-response 54ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/http-cache-semantics 59ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/keyv 50ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/normalize-url 57ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/responselike 59ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@sindresorhus%2fis 1806ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/content-hash 895ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@ethersproject%2faddress 353ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/is-typed-array 1050ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/isurl 854ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/websocket 895ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@ethersproject%2fbignumber 952ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@ethersproject%2fbytes 966ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/cipher-base 57ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/md5.js 44ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/ripemd160 53ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@ethersproject%2fconstants 1022ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/sha.js 60ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/buffer-to-arraybuffer 75ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/object-assign 115ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/simple-get 59ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@ethersproject%2flogger 897ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@ethersproject%2fkeccak256 932ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/query-string 140ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/url-set-query 63ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@ethereumjs%2ftx 1906ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@ethersproject%2fproperties 945ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/xhr 65ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@types%2fpbkdf2 72ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@types%2fsecp256k1 78ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/blakejs 80ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/create-hmac 71ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/browserify-aes 88ms (from cache)
npm http fetch GET 304 https://registry.npmjs.org/@ethersproject%2fabi 2023ms (from cache)
npm http fetch
@UserTrue said in Как скачать npm модуль на ж/д?:
Сейчас могут не встать только модули которые требуют какаю-то зависимость в системе
web3- это именно такой модуль?
@UserTrue said in Как скачать npm модуль на ж/д?:
П.С. модуль мало распаковать, надо его еще установить через npm install
А куда писать команду "npm install"? В БАСе разве есть окно терминала?