doczjs / docz

✍ It has never been so easy to document your things!
https://docz.site
MIT License
23.6k stars 1.46k forks source link

React Native gatsby configuration. #1614

Open joaogn opened 3 years ago

joaogn commented 3 years ago

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.

leongdev commented 3 years ago

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

murilogok commented 3 years ago

+1