react-native-photo-view: can't find podspec in node_module/react-native-photo-view

package version:

{
  "name": "react-native-photo-view",
  "version": "1.5.2",
  "description": "Displaying photos with pinch-to-zoom",
  "main": "index.js",
  "author": {
    "name": "Alexander Pantyukhov",
    "email": "alwxndr@gmail.com"
  },
  "license": "MIT",
  "keywords": [
    "react-native",
    "react-component",
    "ios",
    "android",
    "gallery",
    "lightbox",
    "pinch",
    "pinch-to-zoom",
    "mobile"
  ],
  "homepage": "https://github.com/alwx/react-native-photo-view",
  "bugs": {
    "url": "https://github.com/alwx/react-native-photo-view/issues"
  },
  "repository": {
    "type": "git",
    "url": "git://github.com/alwx/react-native-photo-view.git"
  },
  "dependencies": {
    "prop-types": "^15.5.10"
  }
}

image

About this issue

  • Original URL
  • State: open
  • Created 6 years ago
  • Reactions: 7
  • Comments: 15

Most upvoted comments

directly use git repo like this in your package.json

"dependencies": {
    "react-native-photo-view": "https://github.com/alwx/react-native-photo-view",
}

@alwx still getting this error [!] No podspec found for 'react-native-photo-view' in '../node_modules/react-native-photo-view' could you please update the npm release?

Thanks for your help @GitNiko, i was missing a dot in pod 'react-native-photo-view', path: './node_modules/react-native-photo-view' in this step from the docs.

i change to pod 'react-native-photo-view', path: '../node_modules/react-native-photo-view'

hi @david1820 , manually copy the react-native-photo-view.podspec to `node_modules/react-native-photo-view/’ still get the error?

I have the same problem, i do the same thing @GitNiko but don’t works for me, i’m still getting the error.

I think it requires a release.