robinglen / lighthouse-cron

Tool to run light house cron jobs on multiple urls and ship results
MIT License
44 stars 3 forks source link

Error: Cannot find module 'lighthouse/lighthouse-cli/chrome-launcher.js' #4

Open Cryt1c opened 5 years ago

Cryt1c commented 5 years ago

Hi, I am trying to launch the demo but I always get this error: Error: Cannot find module 'lighthouse/lighthouse-cli/chrome-launcher.js'

I have also tried a npm install chrome-launcher but that does not help.

I am on node 8.10.0

Thank you for providing this tool!

mwcz commented 5 years ago

Same, I'm seeing this after npm run demo.

git clone git@github.com:thearegee/lighthouse-cron.git
cd lighthouse-cron
npm install
npm run demo

And here are my versions:

{ 'lighthouse-cron': '1.0.4',
  npm: '6.5.0',
  ares: '1.15.0',
  cldr: '34.0',
  http_parser: '2.8.0',
  icu: '63.1',
  llhttp: '1.0.1',
  modules: '67',
  napi: '3',
  nghttp2: '1.34.0',
  node: '11.4.0',
  openssl: '1.1.0j',
  tz: '2018e',
  unicode: '11.0',
  uv: '1.24.0',
  v8: '7.0.276.38-node.13',
  zlib: '1.2.11' }
vbpradeep commented 5 years ago

Same faced this issue. due to lighthouse breaking changes. have to change this source.

image