Issue using 'docz' since FastRefresh has been implemented
See original GitHub issueDescription
I’ve got an issue that i believe is related to yarn but just in case i want to point it to you as it affect gatsby/docz users using react-native.
It’s due to this committ https://github.com/gatsbyjs/gatsby/commit/205847b833c5f7783182ea54a3ddd72f6369ee47 adding @pmmmwh/react-refresh-webpack-plugin
as a dependency.
see https://github.com/yarnpkg/yarn/issues/7987 see also https://github.com/doczjs/docz/issues/1418
Steps to Reproduce
- git clone https://github.com/Okazari/yarnissue.git
- cd yarnissue
- yarn
- yarn start
Expected result
see https://github.com/yarnpkg/yarn/issues/7987
Actual result
see https://github.com/yarnpkg/yarn/issues/7987
Environment
System: OS: Linux 5.3 Ubuntu 19.10 (Eoan Ermine) CPU: (12) x64 Intel® Core™ i7-8750H CPU @ 2.20GHz Shell: 5.0.3 - /bin/bash Binaries: Node: 12.16.0 - /tmp/yarn–1584111821045-0.9563755931787925/node Yarn: 1.22.4 - /tmp/yarn–1584111821045-0.9563755931787925/yarn npm: 6.13.4 - ~/.nvm/versions/node/v12.16.0/bin/npm Languages: Python: 2.7.17 - /usr/bin/python Browsers: Chrome: 73.0.3683.75 Firefox: 72.0.1
Issue Analytics
- State:
- Created 4 years ago
- Comments:5 (3 by maintainers)
I opened https://github.com/gatsbyjs/gatsby/pull/23456 which I tested against your repository and it fixed the problem for me, will just need to wait for another maintainer to review
Many thanks for your help 😃 I’ll look further and will make a PR accordingly.