Hiya, I am sorta new to linux so this may be a very dumb question but I am unable to build on Oracle Linux 8.
My config is simply:
new PrerenderSPAPlugin({
staticDir: path.join(__dirname, 'dist'),
routes: ['/'],
}),
and I am getting this error
Error: Failed to launch chrome!
/home/opc/project/web/node_modules/puppeteer/.local-chromium/linux-686378/chrome-linux/chrome: /home/opc/project/web/node_modules/puppeteer/.local-chromium/linux-686378/chrome-linux/chrome: cannot execute binary file
TROUBLESHOOTING: https://github.com/GoogleChrome/puppeteer/blob/master/docs/troubleshooting.md
at onClose (/home/opc/project/web/node_modules/puppeteer/lib/Launcher.js:348:14)
at Interface.<anonymous> (/home/opc/project/web/node_modules/puppeteer/lib/Launcher.js:337:50)
at Interface.emit (node:events:406:35)
at Interface.close (node:readline:586:8)
at Socket.onend (node:readline:277:10)
at Socket.emit (node:events:406:35)
at endReadableNT (node:internal/streams/readable:1329:12)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
[Prerenderer - PuppeteerRenderer] Unable to start Puppeteer
/home/opc/project/web/node_modules/@prerenderer/renderer-puppeteer/es6/renderer.js:140
this._puppeteer.close()
^
TypeError: Cannot read property 'close' of null
at PuppeteerRenderer.destroy (/home/opc/project/web/node_modules/@prerenderer/renderer-puppeteer/es6/renderer.js:140:21)
at Prerenderer.destroy (/home/opc/project/web/node_modules/@prerenderer/prerenderer/es6/index.js:87:20)
at /home/opc/project/web/node_modules/prerender-spa-plugin/es6/index.js:144:29
at processTicksAndRejections (node:internal/process/task_queues:96:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Hiya, I am sorta new to linux so this may be a very dumb question but I am unable to build on Oracle Linux 8.
My config is simply:
and I am getting this error
What I Have Tried
I am very lost and was hoping someone could guide me in the correct direction
EDIT: Btw I am also on an ARM-based processor