Giter VIP home page Giter VIP logo

Comments (9)

slorber avatar slorber commented on June 15, 2024 2

Hi, just wanted to let you know that latest beta is likely more stable and you should not need to configure anything on your side.

from gatsby-plugin-react-native-web.

felippepuhle avatar felippepuhle commented on June 15, 2024 1

Thanks guys, you're amazing! 😄

from gatsby-plugin-react-native-web.

felippepuhle avatar felippepuhle commented on June 15, 2024

it seems to be working on 2.0.0-beta.0

from gatsby-plugin-react-native-web.

ONeill45 avatar ONeill45 commented on June 15, 2024

I encountered this error and was able to bypass using a blank index.js file in the project root. However I am now getting:

Error: It appears like Gatsby is misconfigured. Gatsby related graphql calls are supposed to only be evaluated at compile time, and then compiled away. Unfortunately, something went wrong and the query was left in the compiled code.

Has anyone seen this issue using this plugin?

from gatsby-plugin-react-native-web.

ONeill45 avatar ONeill45 commented on June 15, 2024

Solved it using the solution offered by @slorber in #23

from gatsby-plugin-react-native-web.

slorber avatar slorber commented on June 15, 2024

yeah sorry about that, I can't really make this automatic for now, need some modifications in expo webpack config

from gatsby-plugin-react-native-web.

slorber avatar slorber commented on June 15, 2024

@felippepuhle 2.0 is more stable but has not the Expo webpack config so you'll have to hack yourself to make the project work if you are using external RNW compatible dependencies. Will try to make 3.0 more stable soon so that everything works fine out of the box.

from gatsby-plugin-react-native-web.

felippepuhle avatar felippepuhle commented on June 15, 2024

In fact I'm using 3.0.0-beta.0 and it's working with babel-preset-expo

from gatsby-plugin-react-native-web.

EvanBacon avatar EvanBacon commented on June 15, 2024

I can work on a fix. What is the main entry point that Webpack should resolve to?

from gatsby-plugin-react-native-web.

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.