在前端执行变异的时候,控制台提示npx browserslist@latest --update-db 请问这个下令是做什么的
- $ npm run build
- \
- > web@3.0.0 build /home/liwei/PycharmProjects/web
- > react-app-rewired build
- Creating an optimized production build...
- 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
- Compiled successfully.
- File sizes after gzip:
- 2.32 MB (+70 B) build/static/js/16.822e2e5f.chunk.js
- 278.06 KB (+1.5 KB) build/static/js/main.88af4464.chunk.js
- 79.69 KB (+1.23 KB) build/static/css/main.ec8d2b92.chunk.css
- 3.13 KB build/static/css/16.6fa41d69.chunk.css
- 3.07 KB (+1 B) build/static/js/reactPlayerFilePlayer.02adccc0.chunk.js
- 2.08 KB (+1 B) build/static/js/reactPlayerMux.8a85c963.chunk.js
- 2.05 KB (+2 B) build/static/js/reactPlayerYouTube.ecd39187.chunk.js
- 1.54 KB (+3 B) build/static/js/reactPlayerWistia.e0592d94.chunk.js
- 1.5 KB (+3 B) build/static/js/reactPlayerVimeo.3e2dfb94.chunk.js
- 1.43 KB (+3 B) build/static/js/reactPlayerFacebook.45676046.chunk.js
- 1.41 KB (+1 B) build/static/js/reactPlayerPreview.da69ae74.chunk.js
- 1.4 KB (+2 B) build/static/js/reactPlayerTwitch.9c133d0d.chunk.js
- 1.38 KB (+1 B) build/static/js/runtime-main.bb27a88c.js
- 1.38 KB (+2 B) build/static/js/reactPlayerDailyMotion.98099b29.chunk.js
- 1.36 KB (+1 B) build/static/js/reactPlayerSoundCloud.083fc502.chunk.js
- 1.32 KB (+2 B) build/static/js/reactPlayerVidyard.246075e1.chunk.js
- 1.32 KB (-1 B) build/static/js/reactPlayerStreamable.095f2920.chunk.js
- 1.3 KB (+1 B) build/static/js/reactPlayerKaltura.3de4dcde.chunk.js
- 1.27 KB (+2 B) build/static/js/reactPlayerMixcloud.ff0de6b1.chunk.js
- The bundle size is significantly larger than recommended.
- Consider reducing it with code splitting: https://goo.gl/9VhYWB
- You can also analyze the project dependencies: https://goo.gl/LeUzfb
- The project was built assuming it is hosted at /.
- You can control this with the homepage field in your package.json.
- The build folder is ready to be deployed.
- You may serve it with a static server:
- npm install -g serve
- serve -s build
- Find out more about deployment here:
- bit.ly/CRA-deploy
- liwei@vmfordev:~/PycharmProjects/web$ npx browserslist@latest --update-db
- npx: 7 安装成功,用时 3.701 秒
- The --update-db command is deprecated.
- Please use npx update-browserslist-db@latest instead.
- Browserslist DB update will still be made.
- Latest version: 1.0.30001612
- Installed version: 1.0.30001320
- Removing old caniuse-lite from lock file
- Installing new caniuse-lite version
- $ npm install caniuse-lite
- npm WARN @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.15.4 requires a peer of @babel/core@^7.13.0 but none is installed. You must install peer dependencies yourself.
- npm WARN @babel/plugin-proposal-class-static-block@7.15.4 requires a peer of @babel/core@^7.12.0 but none is installed. You must install peer dependencies yourself.
- npm WARN @wangeditor/editor-for-react@1.0.2 requires a peer of react@>=17.0.2 but none is installed. You must install peer dependencies yourself.
- npm WARN @wangeditor/editor-for-react@1.0.2 requires a peer of react-dom@>=17.0.2 but none is installed. You must install peer dependencies yourself.
- npm WARN react-markdown@8.0.7 requires a peer of @types/react@>=16 but none is installed. You must install peer dependencies yourself.
- npm WARN react-visibility-sensor@3.6.2 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
- npm WARN react-visibility-sensor@3.6.2 requires a peer of react-dom@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
- npm WARN tsutils@3.21.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
- npm WARN worker-loader@0.8.1 requires a peer of webpack@>=0.9 <2 || ^2.1.0-beta || ^2.2.0 but none is installed. You must install peer dependencies yourself.
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/chokidar/node_modules/fsevents):
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/jest-haste-map/node_modules/fsevents):
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- Cleaning package.json dependencies from caniuse-lite
- $ npm uninstall caniuse-lite
- npm WARN @babel/plugin-bugfix-v8-spread-parameters-in-optional-chaining@7.15.4 requires a peer of @babel/core@^7.13.0 but none is installed. You must install peer dependencies yourself.
- npm WARN @babel/plugin-proposal-class-static-block@7.15.4 requires a peer of @babel/core@^7.12.0 but none is installed. You must install peer dependencies yourself.
- npm WARN @wangeditor/editor-for-react@1.0.2 requires a peer of react@>=17.0.2 but none is installed. You must install peer dependencies yourself.
- npm WARN @wangeditor/editor-for-react@1.0.2 requires a peer of react-dom@>=17.0.2 but none is installed. You must install peer dependencies yourself.
- npm WARN react-markdown@8.0.7 requires a peer of @types/react@>=16 but none is installed. You must install peer dependencies yourself.
- npm WARN react-visibility-sensor@3.6.2 requires a peer of react@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
- npm WARN react-visibility-sensor@3.6.2 requires a peer of react-dom@^0.14.0 || ^15.0.0 but none is installed. You must install peer dependencies yourself.
- npm WARN tsutils@3.21.0 requires a peer of typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta but none is installed. You must install peer dependencies yourself.
- npm WARN worker-loader@0.8.1 requires a peer of webpack@>=0.9 <2 || ^2.1.0-beta || ^2.2.0 but none is installed. You must install peer dependencies yourself.
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.3.2 (node_modules/chokidar/node_modules/fsevents):
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@2.1.2 (node_modules/fsevents):
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/jest-haste-map/node_modules/fsevents):
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/watchpack-chokidar2/node_modules/fsevents):
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.13 (node_modules/webpack-dev-server/node_modules/fsevents):
- npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.13: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
- caniuse-lite has been successfully updated
- No target browser changes
复制代码
免责声明:如果侵犯了您的权益,请联系站长,我们会及时删除侵权内容,谢谢合作!更多信息从访问主页:qidao123.com:ToB企服之家,中国第一个企服评测及商务社交产业平台。 |