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

前端 未结 20 2419
忘掉有多难
忘掉有多难 2020-12-08 03:31

Recently, when I compile my scss files I get an error. The error message says:

Browserslist: caniuse-lite is outdated. Please run next command n

20条回答
  •  星月不相逢
    2020-12-08 04:03

    I've fixed this issue by doing, step by step:

    1. remove node_modules
    2. remove package-lock.json,
    3. run npm --depth 9999 update
    4. run npm install

提交回复
热议问题