Skip to content
This repository has been archived by the owner on Apr 9, 2023. It is now read-only.

Chromium revision is not downloaded. #263

Open
672064406zerui opened this issue Oct 12, 2018 · 9 comments
Open

Chromium revision is not downloaded. #263

672064406zerui opened this issue Oct 12, 2018 · 9 comments

Comments

@672064406zerui
Copy link

vue-cli project .
npm run build
error Chromium revision is not downloaded.

@JoshTheDerf
Copy link
Collaborator

Try reinstalling.

@barmettlerl
Copy link

have the same issue

@ghost
Copy link

ghost commented Oct 18, 2018

Hi, I had the same issue. Try looking at the so called missing Chromium. It may exist but miss some libraries. Just install them with apt-get for example for debian, and it will work.

@ghost
Copy link

ghost commented Oct 20, 2018

Here are the resources you need to install : https://gist.github.com/DavidFricker/67319b82b822246f0a1f2c2e60b17b05

@JaneTan44
Copy link

cnpm i 使用淘宝镜像

@Timibadass
Copy link

@jnrdt is there a way to fix this on windows?

@JoshTheDerf
Copy link
Collaborator

Not sure if you have the exact same issue @Timibadass, but try:

npm rebuild puppeteer

@liu2080019
Copy link

liu2080019 commented Mar 28, 2019

you can download chrome-mac to your project.And set rendererOptions.executablePath

@ninofiliu
Copy link

On a side note, the puppeteer renderer is powerful and complete, but it's slow and there are issues like this when requiring Chromium. Oftentimes only the jsdom renderer is needed, it's faster and simpler to setup:

// webpack.config.js
const PrerenderSPAPlugin = require('prerender-spa-plugin');
const JSDOMRenderer = require('@prerenderer/renderer-jsdom');

module.exports = {
  plugins: [
    new PrerenderSPAPlugin({
      renderer: new JSDOMRenderer(),
      // ...
    })
  ],
  // ...
}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants