안녕하세요,
./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 · GitHub
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를 어떻게 업데이트해야 하는지 확실하지 않습니다.
도와주실 수 있을까요?
감사합니다