expo / dev-plugins

Out-of-tree Expo devtools plugins for packages that haven't adopted the Expo devtools plugin system yet.
MIT License
154 stars 24 forks source link

How to run examples #25

Closed ddennis closed 8 months ago

ddennis commented 9 months ago

Sorry for being stupid. I can't get the examples to run.

npm ERR! code ERESOLVE npm ERR! ERESOLVE unable to resolve dependency tree
npm ERR!
npm ERR! While resolving: @dev-plugins/apollo-client-webui@0.0.5 npm ERR! Found: react@18.2.0
npm ERR! node_modules/react npm ERR! dev react@"18.2.0" from @dev-plugins/apollo-client-webui@0.0.5 npm ERR! packages/apollo-client/webui npm ERR! @dev-plugins/apollo-client-webui@0.0.5 npm ERR! node_modules/@dev-plugins/apollo-client-webui npm ERR! workspace packages\apollo-client\webui from the root project npm ERR! npm ERR! Could not resolve dependency: npm ERR! peer react@"^17.0.0 || ^16.3.0 || ^15.5.4" from react-json-view@1.21.3 npm ERR! node_modules/react-json-view npm ERR! dev react-json-view@"^1.21.3" from @dev-plugins/apollo-client-webui@0.0.5 npm ERR! packages/apollo-client/webui npm ERR! @dev-plugins/apollo-client-webui@0.0.5 npm ERR! node_modules/@dev-plugins/apollo-client-webui npm ERR! workspace packages\apollo-client\webui from the root project npm ERR! npm ERR! Fix the upstream dependency conflict, or retry npm ERR! this command with --force or --legacy-peer-deps npm ERR! to accept an incorrect (and potentially broken) dependency resolution. npm ERR! npm ERR! npm ERR! For a full report see:

Kudo commented 8 months ago

hi there. this is the steps to run example

$ git clone https://github.com/expo/dev-plugins.git
$ cd dev-plugins
$ yarn
$ cd apps/example
$ yarn ios

i'll also update the readme for running example. thanks!