Мне действительно нужна помощь с тем, что кажется самым базовым c заданием (настройка проекта expo / реакции-native). Я установил expo-cli (v3.11.7)
, react-native (v2.0.1)
, watchman (v4.9.0)
и node (v12.14.1)
. Я следовал этому руководству до того момента, когда мне нужно было запустить expo start, и я получил следующую ошибку:
Your project is in SDK version >= 33.0.0, but the expo package version seems to be older.
Error: node_modules directory is missing. Please run npm install in your project directory.
Couldn't start project. Please fix the errors and restart the project.
Set EXPO_DEBUG=true in your env to view the stack trace.
Затем я запустил npm install
и попытался снова, но та же ошибка появляется , Я удалил папку node_modules, и она тоже не сработала.
Обновление:
Когда я npm устанавливаю эту ошибку, я вижу следующее:
npm WARN deprecated core-js@1.2.7: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
npm ERR! code EPROTO
npm ERR! errno EPROTO
npm ERR! request to https://codeload.github.com/expo/react-native/tar.gz/sdk-36.0.0 failed, reason: write EPROTO 4521895360:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1544:SSL alert number 40
Я установил yarn (v1.21.1)
и попытался установить, используя это с той же ошибкой:
warning expo > fbemitter > fbjs > core-js@1.2.7: core-js@<3 is no longer maintained and not recommended for usage due to the number of issues. Please, upgrade your dependencies to the actual version of core-js@3.
error An unexpected error occurred: "https://github.com/expo/react-native/archive/sdk-36.0.0.tar.gz: write EPROTO 4356277696:error:14094410:SSL routines:ssl3_read_bytes:sslv3 alert handshake failure:../deps/openssl/openssl/ssl/record/rec_layer_s3.c:1544:SSL alert number 40
Кто-нибудь может посоветовать?