Repository navigation
Description
Need to install the exact version of node, npm, and expo that were used to create the project.
Example: saying "npm i -g expo-cli" will never work, there are too many things changing all the time - need to install the version of expo-cli that were used to create the project.
npm i -g expo-cli
npm WARN config global --global, --local are deprecated. Use --location=global instead.
npm WARN config global --global, --local are deprecated. Use --location=global instead.
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-url#deprecated
npm WARN deprecated [email protected]: Please see https://github.com/lydell/urix#deprecated
npm WARN deprecated [email protected]: https://github.com/lydell/resolve-url#deprecated
npm WARN deprecated [email protected]: See https://github.com/lydell/source-map-resolve#deprecated
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: Modern JS already guarantees Array#sort() is a stable sort, so this library is deprecated. See the compatibility table on MDN: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#browser_compatibility
npm WARN deprecated [email protected]: The querystring API is considered Legacy. new code should use the URLSearchParams API instead.
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
npm WARN deprecated [email protected]: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies
npm WARN deprecated [email protected]: This SVGO version is no longer supported. Upgrade to v2.x.x.
Example: saying "npm install expo"
InstagramClone\frontend> npm install expo
npm WARN config global --global, --local are deprecated. Use --location=global instead.
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: @react-native-community/[email protected]
npm ERR! node_modules/@react-native-community/slider
npm ERR! @react-native-community/slider@"3.0.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @react-native-community/slider@">=4.0.0" from [email protected]
npm ERR! node_modules/expo-video-player
npm ERR! expo-video-player@"^2.0.1" 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! See C:\Users...\AppData\Local\npm-cache\eresolve-report.txt for a full report.
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users...\AppData\Local\npm-cache_logs\2022-08-11T16_55_37_927Z-debug-0.log
Activity
AbrahamNobleOX commentedon Nov 12, 2022
Hi, where you able to get this project to work?
asloan7 commentedon Nov 14, 2022
I know a little bit more now about JS frameworks, and have installed a bunch more stuff for other projects, and now it works.
But "npm install expo" in the frontend folder breaks
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: undefined@undefined
npm ERR! Found: @react-native-community/[email protected]
npm ERR! node_modules/@react-native-community/slider
npm ERR! @react-native-community/slider@"3.0.3" from the root project
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer @react-native-community/slider@">=4.0.0" from [email protected]
npm ERR! node_modules/expo-video-player
npm ERR! expo-video-player@"^2.0.1" from the root project
Jaykef commentedon Jan 8, 2023
I think the exact version can be found in the package.json file: "expo": "~42.0.3",