Hello,
Whenever I ./launcher rebuild app I get the following message
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: GitHub - browserslist/update-db: CLI tool to update caniuse-lite to refresh target browsers from Browserslist config
I had to install npm and update it to the latest version
npm install -g npm@9.6.2
Then I tried to update again
[root@hsp ~]# npx update-browserslist-db@latest
update-browserslist-db: Cannot find package.json. Is this the right directory to runnpx update-browserslist-db
in?
[root@hsp ~]# cd /var/discourse
[root@hsp discourse]# npx update-browserslist-db@latest
update-browserslist-db: Cannot find package.json. Is this the right directory to runnpx update-browserslist-db
in?
[root@hsp discourse]# ls
bin containers discourse-setup launcher README.md scripts templates
cids discourse-doctor image LICENSE samples shared tests
I am not sure how can I update-browserslist-db@latest
Can you help me out please?
Thank you