impossible to "ionic capacitor build ios" #6578
Replies: 5 comments 4 replies
-
Looks like you are mixing Capacitor 4.x packages with Capacitor 5.x packages. You should not mix them, if you use Capacitor 4, then all your @capacitor packages should be 4.x, if you use Capacitor 5, then all your @capacitor packages should be 5.x. |
Beta Was this translation helpful? Give feedback.
-
why the package is not 5.x ? |
Beta Was this translation helpful? Give feedback.
-
hahahahhahah |
Beta Was this translation helpful? Give feedback.
-
could you upgrade the version of the packages to 5.x please ? |
Beta Was this translation helpful? Give feedback.
-
ok it's done !! thanks you ! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
impossible to do this command i have this error :
`npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: [email protected]
npm ERR! Found: @capacitor/[email protected]
npm ERR! node_modules/@capacitor/core
npm ERR! @capacitor/core@"^5.0.1" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @capacitor/core@"^4.7.0" from @capacitor/[email protected]
npm ERR! node_modules/@capacitor/ios
npm ERR! @capacitor/ios@"4.8.0" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! /Users/alexandre/.npm/_logs/2023-05-08T14_31_17_285Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in: /Users/alexandre/.npm/_logs/2023-05-08T14_31_17_285Z-debug-0.log
[ERROR] An error occurred while running subprocess npm.
`
could you help me ?
Beta Was this translation helpful? Give feedback.
All reactions