package.jsonが見つかりません

こんにちは。

./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 run npx 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 run npx 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

update-browserslist-db@latest をどのように更新すればよいかわかりません。

助けていただけますでしょうか?

ありがとうございます。

更新しないでください。これは、Discourse のメンテナーがビルド時に自動的に表示される警告です。エンドユーザーは無視してください。

「いいね!」 3

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.