slorber / gatsby-plugin-react-native-web

react-native-web plugin for Gatsby

Home Page:https://sebastienlorber.com/using-expo-in-gatsby

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Generating development SSR bundle failed

jorgeorejas opened this issue · comments

I followed the Expo guide in the documentation. Click here.
I've already checked just running a pure Gatsby project and there is no problem.

I use a M1 MacBook Pro.

While trying to run gatsby develop for the first time in the project it shows this in the VScode terminal:

warn Plugin gatsby-plugin-react-native-web is not compatible with your gatsby version 3.2.1 - It requires gatsby@^2.0.0
warn Plugin gatsby-plugin-react-native-web is not compatible with your gatsby version 3.2.1 - It requires gatsby@^2.0.0
success load plugins - 0.614s
success onPreInit - 0.010s
success initialize cache - 0.009s
success copy gatsby files - 0.042s
success onPreBootstrap - 0.009s
success createSchemaCustomization - 0.001s
success Checking for changed pages - 0.001s
success source and transform nodes - 0.024s
success building schema - 0.105s
info Total nodes: 20, SitePage nodes: 1 (use --verbose for breakdown)
success createPages - 0.002s
success Checking for changed pages - 0.000s
success createPagesStatefully - 0.016s
success update schema - 0.021s
success write out redirect data - 0.001s
success onPostBootstrap - 0.001s
info bootstrap finished - 2.203s
success onPreExtractQueries - 0.001s
success extract queries from components - 0.056s
success write out requires - 0.003s
success run page queries - 0.013s - 1/1 78.76/s

 ERROR 

(node:10467) [DEP_WEBPACK_EXTERNALS_FUNCTION_PARAMETERS] DeprecationWarning: The externals-function should be defined like ({context, request}, cb) => { ... }
(Use `node --trace-deprecation ...` to show where the warning was created)


 ERROR #98123  WEBPACK

Generating development SSR bundle failed

getResolve is not a function


 ERROR #98123  WEBPACK

Generating development SSR bundle failed

getResolve is not a function


 ERROR #98123  WEBPACK

Generating development SSR bundle failed

getResolve is not a function


 ERROR #98123  WEBPACK

Generating development SSR bundle failed

getResolve is not a function


 ERROR #98123  WEBPACK

Generating development SSR bundle failed

getResolve is not a function


 ERROR #98123  WEBPACK

Generating development SSR bundle failed

getResolve is not a function

not finished Building development bundle - 0.618s

I'll close this issue, error was caused by the Gatsby version. Does someone know when will the plugin be compatible with Gatsby 3.0?