Warnings during compilation
AgeManning opened this issue · comments
When doing a fresh compile a number of warnings exist.
Step 6/11 : ENV NODE_ENV=development
---> Running in 4e9bdc8d29c5
Removing intermediate container 4e9bdc8d29c5
---> 810b50042b53
Step 7/11 : RUN yarn
---> Running in 05764c7592fe
yarn install v1.22.19
[1/4] Resolving packages...
[2/4] Fetching packages...
warning chart.js@4.2.0: The engine "pnpm" appears to be invalid.
[3/4] Linking dependencies...
warning " > @testing-library/react-hooks@8.0.1" has incorrect peer dependency "react@^16.9.0 || ^17.0.0".
warning " > @testing-library/user-event@13.5.0" has unmet peer dependency "@testing-library/dom@>=7.21.4".
warning " > react-d3-speedometer@1.0.2" has incorrect peer dependency "react@^17.0.0".
warning " > react-d3-speedometer@1.0.2" has incorrect peer dependency "react-dom@^17.0.0".
warning "react-scripts > eslint-config-react-app > eslint-plugin-flowtype@8.0.3" has unmet peer dependency "@babel/plugin-syntax-flow@^7.14.5".
warning "react-scripts > eslint-config-react-app > eslint-plugin-flowtype@8.0.3" has unmet peer dependency "@babel/plugin-transform-react-jsx@^7.14.9".
warning "@storybook/addon-essentials > @storybook/addon-docs > @babel/plugin-transform-react-jsx@7.19.0" has unmet peer dependency "@babel/core@^7.0.0-0".
warning " > rodal@2.0.0" has incorrect peer dependency "react@>= ^17.0.0".
warning "@storybook/addon-actions > react-inspector@5.1.1" has incorrect peer dependency "react@^16.8.4 || ^17.0.0".
warning " > @storybook/addon-essentials@6.5.12" has unmet peer dependency "@babel/core@^7.9.6".
warning "@storybook/addon-essentials > @storybook/addon-docs > @mdx-js/react@1.6.22" has incorrect peer dependency "react@^16.13.1 || ^17.0.0".
warning " > @storybook/preset-create-react-app@4.1.2" has unmet peer dependency "@babel/core@*".
warning " > @storybook/react@6.5.12" has unmet peer dependency "require-from-string@^2.0.2".
warning "@storybook/react > @babel/preset-flow@7.18.6" has unmet peer dependency "@babel/core@^7.0.0-0".
warning "@storybook/react > react-element-to-jsx-string@14.3.4" has incorrect peer dependency "react@^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1".
warning "@storybook/react > react-element-to-jsx-string@14.3.4" has incorrect peer dependency "react-dom@^0.14.8 || ^15.0.1 || ^16.0.0 || ^17.0.1".
warning "@storybook/test-runner > jest-playwright-preset@2.0.0" has unmet peer dependency "jest-circus@^28.0.0".
warning "@storybook/test-runner > jest-playwright-preset@2.0.0" has unmet peer dependency "jest-environment-node@^28.0.0".
warning " > storybook-tailwind-dark-mode@1.0.15" has unmet peer dependency "@storybook/api@^6.2.9".
warning " > storybook-tailwind-dark-mode@1.0.15" has unmet peer dependency "@storybook/components@^6.2.9".
warning " > storybook-tailwind-dark-mode@1.0.15" has unmet peer dependency "@storybook/core-events@^6.2.9".
[4/4] Building fresh packages...
Done in 285.35s.
Removing intermediate container 05764c7592fe
---> 3b8c56131e65
Step 8/11 : ENV NODE_ENV=production
---> Running in 83b6a34384a7
Removing intermediate container 83b6a34384a7
---> 2aec9d455b98
Step 9/11 : RUN yarn build
---> Running in 60d6cfc2f82f
These errors can be reproduced when building the docker image via,
docker build -t siren .