From 8438d26d15d3903e9f22e41bd74297404f189c19 Mon Sep 17 00:00:00 2001 From: G Date: Wed, 8 May 2024 09:31:33 +0000 Subject: [PATCH] fix error about missing prop-types module --- package.json | 2 ++ yarn.lock | 16 +++++++++++++++- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index d1a0433..367c496 100644 --- a/package.json +++ b/package.json @@ -4,6 +4,7 @@ "main": "node_modules/expo/AppEntry.js", "scripts": { "start": "npx expo start", + "clean-start": "rm -rf node_modules && yarn install && rm -rf $TMPDIR/react* && yarn start --reset-cache", "android": "npx expo start --android", "ios": "npx expo start --ios", "web": "npx expo start --web", @@ -21,6 +22,7 @@ "axios": "^1.6.8", "expo": "^51.0.0", "expo-status-bar": "~1.12.1", + "prop-types": "^15.8.1", "react": "18.2.0", "react-native": "0.74.1", "react-native-safe-area-context": "4.10.1", diff --git a/yarn.lock b/yarn.lock index 90ae2ea..0952e86 100644 --- a/yarn.lock +++ b/yarn.lock @@ -4425,7 +4425,7 @@ logkitty@^0.7.1: dayjs "^1.8.15" yargs "^15.1.0" -loose-envify@^1.0.0, loose-envify@^1.1.0: +loose-envify@^1.0.0, loose-envify@^1.1.0, loose-envify@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/loose-envify/-/loose-envify-1.4.0.tgz#71ee51fa7be4caec1a63839f7e682d8132d30caf" integrity sha512-lyuxPGr/Wfhrlem2CL/UcnUc1zcqKAImBDzukY7Y5F/yQiNdko6+fRLevlw1HgMySw7f611UIY408EtxRSoK3Q== @@ -5350,6 +5350,15 @@ prompts@^2.3.2, prompts@^2.4.2: kleur "^3.0.3" sisteransi "^1.0.5" +prop-types@^15.8.1: + version "15.8.1" + resolved "https://registry.yarnpkg.com/prop-types/-/prop-types-15.8.1.tgz#67d87bf1a694f48435cf332c24af10214a3140b5" + integrity sha512-oj87CgZICdulUohogVAR7AjlC0327U4el4L6eAvOqCeudMDVU0NThNaV+b9Df4dXgSP1gXMTnPdhfe/2qDH5cg== + dependencies: + loose-envify "^1.4.0" + object-assign "^4.1.1" + react-is "^16.13.1" + proxy-from-env@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.1.0.tgz#e102f16ca355424865755d2c9e8ea4f24d58c3e2" @@ -5433,6 +5442,11 @@ react-freeze@^1.0.0: resolved "https://registry.yarnpkg.com/react-is/-/react-is-18.2.0.tgz#199431eeaaa2e09f86427efbb4f1473edb47609b" integrity sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w== +react-is@^16.13.1: + version "16.13.1" + resolved "https://registry.yarnpkg.com/react-is/-/react-is-16.13.1.tgz#789729a4dc36de2999dc156dd6c1d9c18cea56a4" + integrity sha512-24e6ynE2H+OKt4kqsOvNd8kBpV65zoxbA4BVsEOB3ARVWQki/DHzaUoC5KuON/BiccDaCCTZBuOcfZs70kR8bQ== + react-is@^17.0.1: version "17.0.2" resolved "https://registry.yarnpkg.com/react-is/-/react-is-17.0.2.tgz#e691d4a8e9c789365655539ab372762b0efb54f0" -- libgit2 0.27.1