docz icon indicating copy to clipboard operation
docz copied to clipboard

React Native gatsby configuration.

Open joaogn opened this issue 3 years ago • 2 comments

Question

Description I installed the docz on my react-native project following the official example, but I got some issues when I try to run, follow the issues

 ERROR #11321  PLUGIN

"gatsby-source-filesystem" threw an error while running the sourceNodes lifecycle:

ENFILE: file table overflow, open '/Users/joao/Documents/Projects/DevMap2/ios/Pods/boost-for-react-native/boost/log/expressions/formatters/date_time.hpp'



  Error: ENFILE: file table overflow, open '/Users/joao/Documents/Projects/DevMap2/ios/Pods/boost-for-react-native/boost/log/expressions/formatters/date_time.hpp'
 ERROR 

ENFILE: file table overflow, open '/Users/joao/Documents/Projects/DevMap2/.docz/app/db.json'



  Error: ENFILE: file table overflow, open '/Users/joao/Documents/Projects/DevMap2/.docz/app/db.json'
 ERROR #11321  PLUGIN

"gatsby-plugin-mdx" threw an error while running the onCreatePage lifecycle:

Property value expected type of string but got null



  TypeError: Property value expected type of string but got null
 ERROR #11321  PLUGIN

"gatsby-plugin-mdx" threw an error while running the onCreatePage lifecycle:

/Users/joao/Documents/Projects/DevMap2/ios/Pods/Flipper-RSocket/README.md: Expected corresponding JSX closing tag for <img> (9:130)
shell
 ERROR #11321  PLUGIN

"gatsby-plugin-mdx" threw an error while running the onCreatePage lifecycle:

/Users/joao/Documents/Projects/DevMap2/ios/Pods/MapboxMobileEvents/readme.md: Unexpected token, expected "}" (78:13)
 ERROR #11321  PLUGIN

"gatsby-plugin-mdx" threw an error while running the onCreatePage lifecycle:

/Users/joao/Documents/Projects/DevMap2/ios/Pods/Flipper-RSocket/rsocket/README.md: Expected corresponding JSX closing tag for <img> (9:130)

In the first look, I think it looking at files it shouldn't, I am not familiarized with gatsby config but I tried the 'gatsby-plugin-exclude' to avoid 'ios' folder but I hadn't a success. I will try to rewrite the 'gatsby-plugin-mdx' config. If everybody had a tip I accept.

joaogn avatar Mar 08 '21 19:03 joaogn

I had the same issue, so I just deleted the Pods folder inside ios and... just worked.

leongdev avatar Jun 17 '21 18:06 leongdev

+1

murilogok avatar Jul 30 '21 17:07 murilogok