Agoric / agoric-sdk

monorepo for the Agoric Javascript smart contract platform
Apache License 2.0
327 stars 206 forks source link

getting some warnings when `yarn build`ing from scratch #4205

Open erights opened 2 years ago

erights commented 2 years ago
warning " > @agoric/install-ses@0.5.29" has unmet peer dependency "@agoric/babel-standalone@^7.14.3".
warning " > @agoric/stat-logger@0.4.24" has unmet peer dependency "canvas@^2.6.1".
warning " > @agoric/stat-logger@0.4.24" has unmet peer dependency "vega@^5.10.0".
warning " > @agoric/stat-logger@0.4.24" has unmet peer dependency "vega-canvas@^1.2.1".
warning " > @agoric/ui-components@0.2.27" has unmet peer dependency "@material-ui/core@^4.11.3".
warning " > @agoric/ui-components@0.2.27" has unmet peer dependency "react@^16.14.0".
warning " > @agoric/ui-components@0.2.27" has unmet peer dependency "react-dom@^16.8.0".
warning "workspace-aggregator-f3b425c7-6c99-40c5-bf71-f80b9c7dc5f7 > @agoric/wallet-ui > @mui/icons-material@5.2.0" has incorrect peer dependency "react@^17.0.2".
warning "workspace-aggregator-f3b425c7-6c99-40c5-bf71-f80b9c7dc5f7 > @agoric/wallet-ui > @mui/material@5.2.2" has incorrect peer dependency "react@^17.0.2".
warning "workspace-aggregator-f3b425c7-6c99-40c5-bf71-f80b9c7dc5f7 > @agoric/wallet-ui > @mui/material@5.2.2" has incorrect peer dependency "react-dom@^17.0.2".
warning "workspace-aggregator-f3b425c7-6c99-40c5-bf71-f80b9c7dc5f7 > @agoric/wallet-ui > @mui/styles@5.2.2" has incorrect peer dependency "react@^17.0.2".
warning "workspace-aggregator-f3b425c7-6c99-40c5-bf71-f80b9c7dc5f7 > @agoric/wallet-ui > @testing-library/user-event@12.8.3" has unmet peer dependency "@testing-library/dom@>=7.21.4".
warning "workspace-aggregator-f3b425c7-6c99-40c5-bf71-f80b9c7dc5f7 > @agoric/xsnap > @rollup/plugin-commonjs@21.0.1" has unmet peer dependency "rollup@^2.38.3".
warning "workspace-aggregator-f3b425c7-6c99-40c5-bf71-f80b9c7dc5f7 > @agoric/xsnap > @rollup/plugin-node-resolve@6.1.0" has unmet peer dependency "rollup@^1.20.0".
warning "workspace-aggregator-f3b425c7-6c99-40c5-bf71-f80b9c7dc5f7 > @agoric/xsnap > rollup-plugin-terser@5.3.1" has unmet peer dependency "rollup@>=0.66.0 <3".
warning "workspace-aggregator-f3b425c7-6c99-40c5-bf71-f80b9c7dc5f7 > @agoric/web-components > @open-wc/eslint-config@4.3.0" has unmet peer dependency "@babel/eslint-plugin@^7.6.0".
warning "workspace-aggregator-f3b425c7-6c99-40c5-bf71-f80b9c7dc5f7 > @agoric/web-components > @open-wc/eslint-config@4.3.0" has unmet peer dependency "eslint-plugin-html@^6.0.0".
warning "workspace-aggregator-f3b425c7-6c99-40c5-bf71-f80b9c7dc5f7 > @agoric/web-components > @open-wc/eslint-config@4.3.0" has unmet peer dependency "eslint-plugin-no-only-tests@^2.4.0".
warning "workspace-aggregator-f3b425c7-6c99-40c5-bf71-f80b9c7dc5f7 > @agoric/wallet-ui > @emotion/styled > @emotion/babel-plugin@11.3.0" has unmet peer dependency "@babel/core@^7.0.0".
warning "workspace-aggregator-f3b425c7-6c99-40c5-bf71-f80b9c7dc5f7 > @agoric/wallet-ui > @mui/material > @mui/base@5.0.0-alpha.58" has incorrect peer dependency "react@^17.0.2".
warning "workspace-aggregator-f3b425c7-6c99-40c5-bf71-f80b9c7dc5f7 > @agoric/wallet-ui > @mui/material > @mui/base@5.0.0-alpha.58" has incorrect peer dependency "react-dom@^17.0.2".
warning "workspace-aggregator-f3b425c7-6c99-40c5-bf71-f80b9c7dc5f7 > @agoric/wallet-ui > @mui/material > @mui/system@5.2.2" has incorrect peer dependency "react@^17.0.2".
warning "workspace-aggregator-f3b425c7-6c99-40c5-bf71-f80b9c7dc5f7 > @agoric/wallet-ui > @mui/material > @mui/utils@5.2.2" has incorrect peer dependency "react@^17.0.2".
warning "workspace-aggregator-f3b425c7-6c99-40c5-bf71-f80b9c7dc5f7 > @agoric/wallet-ui > @mui/styles > @mui/private-theming@5.2.2" has incorrect peer dependency "react@^17.0.2".
warning "workspace-aggregator-f3b425c7-6c99-40c5-bf71-f80b9c7dc5f7 > @agoric/xsnap > @rollup/plugin-node-resolve > @rollup/pluginutils@3.0.8" has unmet peer dependency "rollup@^1.20.0".
warning "workspace-aggregator-f3b425c7-6c99-40c5-bf71-f80b9c7dc5f7 > @agoric/web-components > @web/dev-server > @rollup/plugin-node-resolve@11.2.1" has unmet peer dependency "rollup@^1.20.0||^2.0.0".
warning "workspace-aggregator-f3b425c7-6c99-40c5-bf71-f80b9c7dc5f7 > @agoric/wallet-ui > @mui/material > @mui/system > @mui/styled-engine@5.2.0" has incorrect peer dependency "react@^17.0.2".
[5/5] 🔨  Building fresh packages...
warning Your current version of Yarn is out of date. The latest version is "1.22.17", while you're on "1.22.15".

> @agoric/ui-components
$ yarn build:src && yarn build:tests
$ rm -rf dist && BABEL_ENV='test' ./node_modules/.bin/babel src --out-dir dist
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
Successfully compiled 15 files with Babel (776ms).
$ rm -rf compiled && BABEL_ENV='test' ./node_modules/.bin/babel test/components --out-dir compiled/test/components
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
Successfully compiled 1 file with Babel (651ms).
tgrecojs commented 2 years ago

+1

I get the same warnings but thought that it was just normal behavior.

I should note that mine appear upon running yarn (or yarn install).

erights commented 2 years ago

Hi @tgrecojs I think it is currently normal behavior, and I was running yarn install && yarn build so it may have happened during the install. Despite its current normality, it seems like it should at some point be investigated and addressed. Hence this issue.

Thanks for the clarification!