BugiDev / react-native-calendar-strip

Easy to use and visually stunning calendar component for React Native.
MIT License
933 stars 325 forks source link

Unable to install for some reason #308

Closed prahelixtech closed 3 years ago

prahelixtech commented 3 years ago

You are doing great job! this library is very usefull!!! In my office, on another machine following packages get installed successfully but why my machine gives folllowing error, idk 💻 hardware: macbook pro m1 chip

Package.json

{
  "name": "Sample",
  "version": "0.0.1",
  "private": true,
  "scripts": {
    "start": "react-native start",
    "test": "jest",
    "lint": "eslint src/",
    "lint:fix": "eslint --fix src/",
    "postinstall": "jetify",
    "jetify": "npx jetify",
    "run-android": "react-native run-android",
    "run-android:release": "react-native run-android --configuration Release",
    "run-ios": "react-native run-ios",
    "run-ios:release": "react-native run-ios --configuration Release",
    "build:ios": "react-native bundle --entry-file index.js --platform ios --dev false --bundle-output ios/main.jsbundle --assets-dest ios",
    "build:android": "react-native bundle --platform android --dev false --entry-file index.js --bundle-output android/app/src/main/assets/index.android.bundle --assets-dest android/app/src/main/res/"
  },
  "dependencies": {
    "@jumpn/react-native-jetifier": "^0.1.4",
    "@react-native-community/async-storage": "^1.6.1",
    "@react-native-community/datetimepicker": "^3.0.4",
    "@react-native-community/netinfo": "^4.6.1",
    "@react-native-community/toolbar-android": "0.1.0-rc.2",
    "@sentry/react-native": "^1.8.2",
    "@types/react": "^16.9.5",
    "accordion-collapse-react-native": "^0.1.11",
    "axios": "^0.19.0",
    "jetifier": "^1.6.6",
    "lodash": "^4.17.15",
    "moment": "^2.24.0",
    "native-base": "^2.13.8",
    "node": "^10.17.0",
    "opentok-react-native": "^0.14.0",
    "react": "16.8.6",
    "react-native": "0.60.5",
    "react-native-actionsheet": "^2.4.2",
    "react-native-btr": "^1.1.4",
    "react-native-calendar-strip": "^2.0.8",
    "react-native-calendars": "^1.212.0",
    "react-native-check-box": "^2.1.7",
    "react-native-datepicker": "^1.7.2",
    "react-native-device-info": "^5.2.1",
    "react-native-drawer": "^2.5.1",
    "react-native-elements": "^1.2.6",
    "react-native-fast-image": "^8.3.2",
    "react-native-firebase": "5.6.0",
    "react-native-fs": "^2.16.6",
    "react-native-gesture-handler": "^1.4.1",
    "react-native-get-random-values": "^1.3.1",
    "react-native-image-picker": "^2.3.1",
    "react-native-image-placeholder": "^1.0.14",
    "react-native-image-progress": "^1.1.1",
    "react-native-keyboard-aware-scroll-view": "^0.9.2",
    "react-native-keyboard-aware-view": "0.0.14",
    "react-native-linear-gradient": "^2.5.6",
    "react-native-loader": "^1.3.1",
    "react-native-loading-spinner-overlay": "^1.0.1",
    "react-native-material-dropdown": "^0.11.1",
    "react-native-modal": "^11.4.0",
    "react-native-modal-datetime-picker": "^9.0.0",
    "react-native-orientation": "^3.1.3",
    "react-native-pdf": "^5.1.7",
    "react-native-picker-select": "^6.6.0",
    "react-native-popup-menu": "^0.15.9",
    "react-native-progress": "^4.1.2",
    "react-native-progress-circle": "^2.0.1",
    "react-native-raw-bottom-sheet": "^2.2.0",
    "react-native-reanimated": "^1.10.1",
    "react-native-rename": "^2.4.1",
    "react-native-render-html": "^4.2.0",
    "react-native-screens": "^2.10.1",
    "react-native-scrollable-tab-view": "0.10.0",
    "react-native-sectioned-multi-select": "^0.7.1",
    "react-native-simple-radio-button": "^2.7.4",
    "react-native-splash-screen": "^3.2.0",
    "react-native-star-rating": "^1.1.0",
    "react-native-swiper": "^1.5.14",
    "react-native-user-agent": "^2.1.0",
    "react-native-uuid": "^1.4.9",
    "react-native-webview": "^10.3.3",
    "react-native-zip-archive": "^5.0.4",
    "react-navigation": "4.4.0",
    "react-navigation-drawer": "^2.5.0",
    "react-navigation-stack": "^1.7.3",
    "react-navigation-tabs": "^2.9.0",
    "react-redux": "^7.1.1",
    "realm": "^3.0.0",
    "redux": "^4.0.4",
    "redux-form": "^8.2.6",
    "redux-persist": "^6.0.0",
    "redux-thunk": "^2.3.0",
    "rn-fetch-blob": "^0.12.0",
    "toggle-switch-react-native": "^2.1.0"
  },
  "devDependencies": {
    "@babel/core": "7.6.0",
    "@babel/runtime": "7.6.0",
    "@react-native-community/eslint-config": "0.0.3",
    "babel-eslint": "^10.0.3",
    "babel-jest": "24.9.0",
    "eslint": "^6.7.2",
    "eslint-config-airbnb": "^18.0.1",
    "eslint-config-rallycoding": "^3.2.0",
    "eslint-plugin-import": "^2.18.2",
    "eslint-plugin-jsx-a11y": "^6.2.3",
    "eslint-plugin-react": "^7.17.0",
    "jest": "24.9.0",
    "metro-react-native-babel-preset": "0.54.1",
    "react-test-renderer": "16.8.6",
    "reactotron-react-native": "^3.6.5"
  },
  "jest": {
    "preset": "react-native"
  }
}

Image

image

node arch

x64

I installed node-git-hooks globally, but did not worked...

peacechen commented 3 years ago

It might be the length of the path, or the colons : in the path. Try to move the project to the home dir /Users/helixtech.

prahelixtech commented 3 years ago

@peacechen thank you. It resolved now!