Advertisement
zudvin

NPM Error

Oct 2nd, 2022
838
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 3.28 KB | None | 0 0
  1. Step 6/7 : RUN npm install
  2.  ---> Running in f50c6226f185
  3. npm notice
  4. npm notice New minor version of npm available! 8.15.0 -> 8.19.2
  5. npm notice Changelog: <https://github.com/npm/cli/releases/tag/v8.19.2>
  6. npm notice Run `npm install -g npm@8.19.2` to update!
  7. npm notice
  8. npm ERR! code ERESOLVE
  9. npm ERR! ERESOLVE could not resolve
  10. npm ERR!
  11. npm ERR! While resolving: react-native@0.70.1
  12. npm ERR! Found: react@17.0.2
  13. npm ERR! node_modules/react
  14. npm ERR!   react@"^17.0.2" from the root project
  15. npm ERR!   peer react@">=16.8.0" from @emotion/react@11.9.0
  16. npm ERR!   node_modules/@emotion/react
  17. npm ERR!     @emotion/react@"^11.9.0" from the root project
  18. npm ERR!     peer @emotion/react@"^11.0.0-rc.0" from @emotion/styled@11.8.1
  19. npm ERR!     node_modules/@emotion/styled
  20. npm ERR!       @emotion/styled@"^11.8.1" from the root project
  21. npm ERR!       4 more (@mui/lab, @mui/material, @mui/styled-engine, @mui/system)
  22. npm ERR!     4 more (@mui/lab, @mui/material, @mui/styled-engine, @mui/system)
  23. npm ERR!   41 more (@emotion/styled, @fullcalendar/react, @mui/base, ...)
  24. npm ERR!
  25. npm ERR! Could not resolve dependency:
  26. npm ERR! peer react@"18.1.0" from react-native@0.70.1
  27. npm ERR! node_modules/react-native
  28. npm ERR!   peer react-native@">=0.56" from react-native-get-random-values@1.8.0
  29. npm ERR!   node_modules/react-native-get-random-values
  30. npm ERR!     react-native-get-random-values@"^1.4.0" from @aws-sdk/middleware-retry@3.6.1
  31. npm ERR!     node_modules/@aws-sdk/middleware-retry
  32. npm ERR!       @aws-sdk/middleware-retry@"3.6.1" from @aws-sdk/client-cloudwatch-logs@3.6.1
  33. npm ERR!       node_modules/@aws-sdk/client-cloudwatch-logs
  34. npm ERR!       12 more (@aws-sdk/client-cognito-identity, ...)
  35. npm ERR!   peerOptional react-native@">=0.59" from react-redux@8.0.2
  36. npm ERR!   node_modules/react-redux
  37. npm ERR!     react-redux@"^8.0.2" from the root project
  38. npm ERR!     1 more (@reduxjs/toolkit)
  39. npm ERR!
  40. npm ERR! Conflicting peer dependency: react@18.1.0
  41. npm ERR! node_modules/react
  42. npm ERR!   peer react@"18.1.0" from react-native@0.70.1
  43. npm ERR!   node_modules/react-native
  44. npm ERR!     peer react-native@">=0.56" from react-native-get-random-values@1.8.0
  45. npm ERR!     node_modules/react-native-get-random-values
  46. npm ERR!       react-native-get-random-values@"^1.4.0" from @aws-sdk/middleware-retry@3.6.1
  47. npm ERR!       node_modules/@aws-sdk/middleware-retry
  48. npm ERR!         @aws-sdk/middleware-retry@"3.6.1" from @aws-sdk/client-cloudwatch-logs@3.6.1
  49. npm ERR!         node_modules/@aws-sdk/client-cloudwatch-logs
  50. npm ERR!         12 more (@aws-sdk/client-cognito-identity, ...)
  51. npm ERR!     peerOptional react-native@">=0.59" from react-redux@8.0.2
  52. npm ERR!     node_modules/react-redux
  53. npm ERR!       react-redux@"^8.0.2" from the root project
  54. npm ERR!       1 more (@reduxjs/toolkit)
  55. npm ERR!
  56. npm ERR! Fix the upstream dependency conflict, or retry
  57. npm ERR! this command with --force, or --legacy-peer-deps
  58. npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
  59. npm ERR!
  60. npm ERR! See /root/.npm/eresolve-report.txt for a full report.
  61.  
  62. npm ERR! A complete log of this run can be found in:
  63. npm ERR!     /root/.npm/_logs/2022-10-02T13_01_40_022Z-debug-0.log
  64. ERROR: Service 'frontend' failed to build: The command '/bin/sh -c npm install' returned a non-zero code: 1
Tags: BASH
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement