# Cannot find package.json

**URL:** <https://meta.discourse.org/t/cannot-find-package-json/258924>\
**Category:** Self-hosting\
**Created:** [March 21, 2023, 5:03pm UTC](https://meta.discourse.org/t/cannot-find-package-json/258924 "2023-03-21T17:03:55Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Nasser](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nasser/32/428723_2.png) [@Nasser](https://meta.discourse.org/u/Nasser)\
**Post date:** [March 21, 2023, 5:03pm UTC](https://meta.discourse.org/t/cannot-find-package-json/258924/1 "2023-03-21T17:03:55Z")

</div>

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 · GitHub](https://github.com/browserslist/update-db#readme)

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 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

I am not sure how can I update-browserslist-db@latest

Can you help me out please?

Thank you

---

_[View the full topic](https://meta.discourse.org/t/cannot-find-package-json/258924)._
