After git cloning and running yarn, it has a problem with installing date-fns package. Yarn error log report as follows:
Arguments:
C:\Program Files\nodejs\node.exe C:\Program Files (x86)\Yarn\bin\yarn.js
PATH:
C:\Python311\Scripts\;C:\Python311\;C:\Program Files\Common Files\Oracle\Java\javapath;C:\Python310\Scripts\;C:\Python310\;C:\Python39\Scripts\;C:\Python39\;C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\WINDOWS\System32\WindowsPowerShell\v1.0\;C:\WINDOWS\System32\OpenSSH\;C:\ProgramData\chocolatey\bin;C:\Program Files\dotnet\;C:\Program Files (x86)\dotnet\;C:\ORANT\BIN;C:\Program Files\Microsoft VS Code\bin;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files\NVIDIA Corporation\NVIDIA NvDLISR;C:\Program Files\Microsoft SQL Server\130\Tools\Binn\;C:\Program Files\Microsoft SQL Server\Client SDK\ODBC\170\Tools\Binn\;C:\HashiCorp\Vagrant\bin;C:\ProgramData\nvm;C:\Program Files\nodejs;C:\Program Files (x86)\Yarn\bin\;C:\Program Files\Calibre2\;C:\Program Files\Git\cmd;C:\Program Files\Java\jdk1.8.0_211\bin;C:\Program Files\Tailscale\;C:\Program Files\PowerShell\7\;C:\Program Files\Docker\Docker\resources\bin;C:\Users\abdul\.pyenv\pyenv-win\bin;C:\Users\abdul\.pyenv\pyenv-win\shims;C:\Users\abdul\AppData\Local\Microsoft\WindowsApps;C:\Program Files\heroku\bin;C:\Users\abdul\AppData\Roaming\Python\Python310\Scripts;C:\Program Files\Haulmont\CUBA Studio 2020.2\bin;C:\Users\abdul\.dotnet\tools;C:\Program Files\Oracle\VirtualBox;C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2021.3.2\bin;C:\Program Files\Java\jdk-17.0.3.1;C:\Program Files\OpenSSL-Win64\bin;C:\Program Files\Java\jdk-17.0.3.1\bin;C:\Program Files\Okteto;C:\Program Files\Carnac;C:\tools\neovim\nvim-win64\bin;C:\Program Files\win32yank-x64\;C:\Users\abdul\AppData\Local\Programs\oh-my-posh\bin;C:\Users\abdul\AppData\Local\BraveSoftware\Brave-Browser\Application;C:\ProgramData\nvm;C:\Program Files\nodejs;C:\Users\abdul\AppData\Local\Yarn\bin;C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin;C:\Users\abdul\AppData\Roaming\npm;C:\Users\abdul\.pyenv\pyenv-win\bin;C:\Users\abdul\.pyenv\pyenv-win\shims
Yarn version:
1.22.19
Node version:
20.2.0
Platform:
win32 x64
Trace:
Error: https://registry.yarnpkg.com/date-fns/-/date-fns-2.30.0.tgz: ESOCKETTIMEDOUT
at ClientRequest.<anonymous> (C:\Program Files (x86)\Yarn\lib\cli.js:141517:19)
at Object.onceWrapper (node:events:625:28)
at ClientRequest.emit (node:events:511:28)
at TLSSocket.emitRequestTimeout (node:_http_client:840:9)
at Object.onceWrapper (node:events:625:28)
at TLSSocket.emit (node:events:523:35)
at Socket._onTimeout (node:net:583:8)
at listOnTimeout (node:internal/timers:573:17)
at process.processTimers (node:internal/timers:514:7)
npm manifest:
{
"name": "navigator-app",
"version": "0.0.1",
"private": true,
"scripts": {
"android": "react-native run-android",
"ios": "react-native run-ios",
"start": "react-native start",
"pod-reset": "rm -rf ios/Pods/ ios/Podfile.lock && npx pod-install",
"yarn-reset": "rm -rf node_modules/ package-lock.json yarn.lock && yarn install",
"full-reset": "yarn yarn-reset && yarn pod-reset && npx jetify",
"kill-android-build": "./android/gradlew --stop",
"jetify": "npx jetify",
"test": "jest",
"lint": "eslint .",
"generate-app-icon": "npx app-icon generate -i ./assets/app-icon.png",
"generate-launch-screen": "npx react-native generate-bootsplash ./assets/splash-screen.png --background-color=#111827 --logo-width=100 --flavor=main"
},
"dependencies": {
"@babel/plugin-proposal-async-generator-functions": "^7.17.12",
"@fleetbase/sdk": "1.2.5",
"@fortawesome/free-brands-svg-icons": "^5.15.4",
"@freakycoder/react-native-bounceable": "^0.2.5",
"@homee/react-native-mapbox-navigation": "^1.1.0",
"@react-native-async-storage/async-storage": "^1.15.5",
"@react-native-community/datetimepicker": "^6.1.2",
"@react-native-community/masked-view": "^0.1.11",
"@react-native-community/push-notification-ios": "^1.8.0",
"@react-native-picker/picker": "^1.16.3",
"@react-navigation/bottom-tabs": "^6.3.1",
"@react-navigation/native": "^6.0.10",
"@react-navigation/stack": "^6.2.1",
"autoprefixer": "^10.2.6",
"axios": "^0.21.1",
"countries-list": "^2.6.1",
"country-locale-map": "^1.8.0",
"date-fns": "^2.28.0",
"i18n-js": "^3.8.0",
"postcss": "^8.3.5",
"react": "17.0.2",
"react-native": "0.66.4",
"react-native-actions-sheet": "^0.5.4",
"react-native-animated-radio-button": "^2.0.6",
"react-native-bootsplash": "^4.0.2",
"react-native-bouncy-checkbox": "^2.1.2",
"react-native-calendar-strip": "^2.2.6",
"react-native-calendars": "^1.1278.0",
"react-native-camera": "^4.2.1",
"react-native-collapsible": "^1.6.0",
"react-native-config": "^1.4.2",
"react-native-device-info": "^8.1.3",
"react-native-event-listeners": "^1.0.7",
"react-native-fast-image": "^8.5.11",
"react-native-fs": "^2.18.0",
"react-native-geolocation-service": "^5.3.0-beta.1",
"react-native-gesture-handler": "^1.10.3",
"react-native-google-places-autocomplete": "^2.2.0",
"react-native-image-picker": "^4.4.0",
"react-native-image-resizer": "^1.4.5",
"react-native-localize": "^2.1.5",
"react-native-location": "^2.5.0",
"react-native-maps": "0.28.0",
"react-native-maps-directions": "^1.8.0",
"react-native-mmkv-storage": "^0.6.3",
"react-native-modal": "^12.0.2",
"react-native-open-maps": "^0.4.0",
"react-native-permissions": "^3.0.5",
"react-native-picker-module": "^2.0.4",
"react-native-push-notification": "^7.4.0",
"react-native-qrcode-scanner": "^1.5.5",
"react-native-reanimated": "^2.2.0",
"react-native-render-html": "^6.0.5",
"react-native-safe-area-context": "^3.2.0",
"react-native-screens": "^3.4.0",
"react-native-signature-capture": "^0.4.12",
"react-native-swipe-list-view": "^3.2.9",
"react-native-toast-message": "^2.1.5",
"react-native-youtube": "^2.0.2",
"react-redux": "^7.2.5",
"socketcluster-client": "^16.0.4",
"tailwind-rn": "^3.0.1",
"tailwindcss": "^2.2.4",
"yarn": "^1.22.17"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@babel/runtime": "^7.12.5",
"@fortawesome/fontawesome-svg-core": "^1.2.35",
"@fortawesome/free-solid-svg-icons": "^5.15.3",
"@fortawesome/react-native-fontawesome": "^0.2.6",
"@react-native-community/eslint-config": "^2.0.0",
"babel-jest": "^26.6.3",
"babel-plugin-module-resolver": "^4.1.0",
"babel-plugin-preval": "^5.0.0",
"eslint": "7.14.0",
"inflector-js": "^1.0.1",
"jest": "^26.6.3",
"language-name-map": "^0.3.0",
"locale-emoji": "^0.3.0",
"metro-react-native-babel-preset": "^0.64.0",
"react-native-svg": "^12.1.1",
"react-test-renderer": "17.0.1"
},
"jest": {
"preset": "react-native"
}
}
yarn manifest:
No manifest
Lockfile:
No lockfile