当我尝试使用 npm i apify 命令时,出现 243 错误

时间:2021-03-01 01:44:06

标签: web web-crawler screen-scraping

-Latitude-E7240:~/apifyScraper$ npm i apify
npm WARN deprecated har-validator@5.1.5: this library is no longer supported
npm WARN deprecated request@2.88.2: request has been deprecated, see https://github.com/request/request/issues/3142
npm ERR! code 243
npm ERR! path /home/susant/apifyScraper/node_modules/better-sqlite3-with-prebuilds
npm ERR! command failed
npm ERR! command sh -c prebuild-install || npm run build-release

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/susant/.npm/_logs/2021-03-01T01_25_15_665Z-debug.log

听到一个指向日志文件的链接:- https://pastebin.pl/view/ea337a13

1 个答案:

答案 0 :(得分:0)

从节点版本 12 降级到节点版本 10 为我解决了这个问题。我在 ubuntu 20.04