ОС: Ubuntu 18.04
Использование nvm
https://www.npmjs.com/package/ndb
успешно установлен ndb + ndb@1.1.5
Но возникает ошибка при попытке запустить сервер ndb. js
Downloading Chromium r624492...
ERROR: Failed to download Chromium r624492!
Error: read ECONNRESET
at TLSWrap.onStreamRead (internal/stream_base_commons.js:205:27)
-- ASYNC --
at BrowserFetcher.<anonymous> (/home/bacillus/.nvm/versions/node/v12.17.0/lib/node_modules/ndb/node_modules/puppeteer-core/lib/helper.js:108:27)
at downloadChromium (/home/bacillus/.nvm/versions/node/v12.17.0/lib/node_modules/ndb/node_modules/carlo/lib/find_chrome.js:194:50)
at findChrome (/home/bacillus/.nvm/versions/node/v12.17.0/lib/node_modules/ndb/node_modules/carlo/lib/find_chrome.js:241:32)
at Object.launch (/home/bacillus/.nvm/versions/node/v12.17.0/lib/node_modules/ndb/node_modules/carlo/lib/carlo.js:594:42)
at launch (/home/bacillus/.nvm/versions/node/v12.17.0/lib/node_modules/ndb/lib/launcher.js:23:23)
at Object.<anonymous> (/home/bacillus/.nvm/versions/node/v12.17.0/lib/node_modules/ndb/ndb.js:35:1)
at Module._compile (internal/modules/cjs/loader.js:1138:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
at Module.load (internal/modules/cjs/loader.js:986:32)
at Function.Module._load (internal/modules/cjs/loader.js:879:14) {
errno: 'ECONNRESET',
code: 'ECONNRESET',
syscall: 'read'
}
unhandledRejection TypeError: Cannot read property 'executablePath' of null
at findChrome (/home/bacillus/.nvm/versions/node/v12.17.0/lib/node_modules/ndb/node_modules/carlo/lib/find_chrome.js:242:43)
at async Object.launch (/home/bacillus/.nvm/versions/node/v12.17.0/lib/node_modules/ndb/node_modules/carlo/lib/carlo.js:594:36)
at async launch (/home/bacillus/.nvm/versions/node/v12.17.0/lib/node_modules/ndb/lib/launcher.js:23:11)