Hi!
I was trying to open a bash script with a npm command that open a testing browser. It works as expected when I execute it in the terminal or in a bash file, but when I try to execute it with KDEconnect run command it doesn’t work.
Command inside my bash: npm run —-prefix path/to/my/directory dev
Expected behavior: execute the command, open the browser.
Real behavior: nothing happens.
Command to call my bash: path/to/my/bash
Extra Information:
Android KDE Connect version is 1.33.9, downloaded it from PlayStore
Linux KDE Connect version 23.08.5; downloaded from the Software Manager. Linux Mint 22.2
And the NPM command run this .ts file:
const puppeteer = require('puppeteer');
import { Browser, executablePath } from "puppeteer";
const openbrowser = async (url:string) => {
const browser : Browser = await puppeteer.launch();
const page = await browser.newPage();
await page.goto(url)
}
openbrowser("https://duckduckgo.com")