こんにちは。
./launcher rebuild app を実行するたびに、以下のメッセージが表示されます。
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
npm をインストールし、最新バージョンに更新する必要がありました。
npm install -g npm@9.6.2
その後、再度更新を試みました。
[root@hsp ~]# npx update-browserslist-db@latest
update-browserslist-db: Cannot find package.json. Is this the right directory to runnpx update-browserslist-dbin?
[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-dbin?
[root@hsp discourse]# ls
bin containers discourse-setup launcher README.md scripts templates
cids discourse-doctor image LICENSE samples shared tests
update-browserslist-db@latest をどのように更新すればよいかわかりません。
助けていただけますでしょうか?
ありがとうございます。