Я новичок в кукловоде и был бы признателен за максимально возможную помощь.Мой кукловод тестирует сборку в travis ci.Я предполагаю, что причина может быть связана с node_module кукловода.Любое предложение будет полезно.Там были аналогичные проблемы, но без решения.Вот некоторые ссылки на эти проблемы:
https://github.com/GoogleChrome/puppeteer/issues/833
https://api.travis -ci.com / v3 / job / 124937719 / log.txt
https://travis -ci.com / BME-MIT-IET / Hmmm-iet-2018 / jobs / 124938746
Конфигурация моей системы:
Версия Puppeteer:1.8.0
Версия платформы / ОС: Mac> High Sierra
Версия Node.js: v8.12.0
npm: 6.4.1
Thisтакое сообщение об ошибке:
puppeteer@1.8.0 install /www/vhosts//node_modules/puppeteer
node install.js
/www/vhosts/node_modules/puppeteer/install.js:61
.then(() => browserFetcher.localRevisions())
^
SyntaxError: Unexpected token )
at Module._compile (module.js:439:25)
at Object.Module._extensions..js (module.js:474:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Function.Module.runMain (module.js:497:10)
at startup (node.js:119:16)
at node.js:935:3
npm ERR! puppeteer@1.8.0 install: node install.js
npm ERR! Exit status 8
npm ERR!
npm ERR! Failed at the puppeteer@1.8.0 install script 'node install.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the puppeteer package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs puppeteer
npm ERR! Or if that isn't available, you can get their info via:
npm ERR! npm owner ls puppeteer
npm ERR! There is likely additional logging output above.