Forge CLI started to report: caniuse-lite is outdated

Hi,

Lately I’ve been getting this warning when starting forge tunnel:

=== Bundling code...
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating

I’m using forge CLI 6.3.0.

To reproduce, create a new forge app, follow the instructions in the README.md and then start the tunnel. Doing this results in:

% forge tunnel
Tunnel redirects requests you make to your local machine. This occurs for any Atlassian site where your app is installed in the development environment. You will not see requests from other users.
Press Ctrl+C to cancel.

Checking Docker image... 100%   
Your Docker image is up to date.

=== Running forge lint...
No issues found.

=== Bundling code...
Browserslist: caniuse-lite is outdated. Please run:
  npx browserslist@latest --update-db
  Why you should do it regularly: https://github.com/browserslist/browserslist#browsers-data-updating
✔ Functions bundled.

=== Snapshotting functions...
No log output.


Listening for requests...

What has changed causing this to appear?
How get rid of this?

Thanks,
Fredrik

Hi @freatt,

We’ve just released a new version of Forge CLI that should fix this issue.
Please run npm install -g @forge/cli@latest on the command line to install the latest version.

Cheers,
Dganit

1 Like

Looks good with 6.4.0.

Thanks,
Fredrik

1 Like