Code Monkey home page Code Monkey logo

Comments (8)

seanscal avatar seanscal commented on May 22, 2024

seems to be a react-native 0.14 problem -- facebook/react-native#3817

from google-signin.

devfd avatar devfd commented on May 22, 2024

have a look at the sample app. it has been updated with RN 0.14.2 and everything work just fine

from google-signin.

haydenth avatar haydenth commented on May 22, 2024

Still not having luck using the example here verbatim: https://github.com/apptailor/react-native-google-signin/blob/master/example/index.ios.js

Error:
Invalid directory /Users/node_modules/react-native-google-signin

Let me know if there is info I can provide to help debug!

from google-signin.

haydenth avatar haydenth commented on May 22, 2024

Particularly with 14.2, I am getting this in the bundling step. When I run in XCode, it fires up a shell script and runs this:

Thomass-Air:blueprintNative tom$ react-native bundle --entry-file index.ios.js --platform ios --dev true --bundle-output /Users/tom/Library/Developer/Xcode/DerivedData/blueprintNative-hhiicwesoinmjlejjoukzhrmkivu/Build/Products/Debug-iphonesimulator/blueprintNative.app/main.jsbundle --assets-dest /Users/tom/Library/Developer/Xcode/DerivedData/blueprintNative-hhiicwesoinmjlejjoukzhrmkivu/Build/Products/Debug-iphonesimulator/blueprintNative.app

bundle: Created ReactPackager
uncaught error Error: UnableToResolveError: Unable to resolve module react-native-google-signin from /Users/tom/projects/blueprintNative/index.ios.js: Invalid directory /Users/node_modules/react-native-google-signin
    at /Users/tom/projects/blueprintNative/node_modules/react-native/packager/react-packager/src/DependencyResolver/DependencyGraph/ResolutionRequest.js:323:15
    at tryCallOne (/Users/tom/projects/blueprintNative/node_modules/promise/lib/core.js:37:12)
    at /Users/tom/projects/blueprintNative/node_modules/promise/lib/core.js:103:15
    at flush (/Users/tom/projects/blueprintNative/node_modules/asap/raw.js:50:29)
    at doNTCallback0 (node.js:428:9)
    at process._tickCallback (node.js:357:13)
See logs /var/folders/_v/qdpbdpb53flbftd8q_095_cr0000gn/T/react-packager.log
    at SocketClient._handleMessage (/Users/tom/projects/blueprintNative/node_modules/react-native/packager/react-packager/src/SocketInterface/SocketClient.js:131:23)
    at BunserBuf.<anonymous> (/Users/tom/projects/blueprintNative/node_modules/react-native/packager/react-packager/src/SocketInterface/SocketClient.js:52:42)
    at emitOne (events.js:77:13)
    at BunserBuf.emit (events.js:169:7)
    at BunserBuf.process (/Users/tom/projects/blueprintNative/node_modules/bser/index.js:289:10)
    at /Users/tom/projects/blueprintNative/node_modules/bser/index.js:244:12
    at doNTCallback0 (node.js:428:9)
    at process._tickCallback (node.js:357:13)

from google-signin.

yelled3 avatar yelled3 commented on May 22, 2024

I'm using react-native v0.1.5 with react-native-google-signin v0.2.2
and I'm getting the same issue as @haydenth
uncaught error Error: UnableToResolveError: Unable to resolve module react-native-google-signin

I'm certain this is not related to react-native-google-signin config - since rolling back to 0.1.4 works just fine.

please reopen the issue until it's solved
@Apptailor @devfd /cc

from google-signin.

devfd avatar devfd commented on May 22, 2024

my bad. I forgot to update package.json. @haydenth please update to v0.2.3

from google-signin.

yelled3 avatar yelled3 commented on May 22, 2024

@devfd works great - thanks!

from google-signin.

haydenth avatar haydenth commented on May 22, 2024

Cool, I'm back in business thanks @devfd

from google-signin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.