i have an issue when i execute my Js file. here is my script:
const puppeteer = require('puppeteer');
const url = "https://www.cdiscount.com/informatique/ecrans-informatiques/ecran-pc-gamer-incurve-msi-optix-mag241cvsfr-2/f-10732-9s63ea21t049.html?idOffre=345385285";
(async () => {
const browser = await puppeteer.launch({ headless: false, args: ['--no-sandbox'] });
})()
in my terminal: reject(new Error([ ^ Error: Failed to launch the browser process! [189:189:0427/181045.185226:ERROR:browser_main_loop.cc(1393)] Unable to open X display.
please help me, I have already entered a lot of command lines in the terminal but nothing helps.