Warning from npm - caniuse-lite is outdated

I’m getting the following warning when I run mix phx.server:

Browserslist: caniuse-lite is outdated.
  Please run next command
  `npm update caniuse-lite browserslist`

I tried running the command, and got no errors, but the warning didn’t go away. I also tried mix clean; mix compile, to no avail. Suggestions?

Did you run the command in the assets directory, where the npm assets live?

1 Like

That warning is shown because of the defined version of “caniuse-lite” in assets/package-lock.json file.

I sended a pull-request for update the version. :slight_smile: