Open 672064406zerui opened 6 years ago
Try reinstalling.
have the same issue
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.
Here are the resources you need to install : https://gist.github.com/DavidFricker/67319b82b822246f0a1f2c2e60b17b05
cnpm i 使用淘宝镜像
@jnrdt is there a way to fix this on windows?
Not sure if you have the exact same issue @Timibadass, but try:
npm rebuild puppeteer
you can download chrome-mac to your project.And set rendererOptions.executablePath
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(),
// ...
})
],
// ...
}
vue-cli project . npm run build error Chromium revision is not downloaded.