question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Issue using 'docz' since FastRefresh has been implemented

See original GitHub issue

Description

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

  1. git clone https://github.com/Okazari/yarnissue.git
  2. cd yarnissue
  3. yarn
  4. 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:closed
  • Created 4 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
piehcommented, Apr 25, 2020

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

0reactions
Okazaricommented, Mar 14, 2020

Many thanks for your help 😃 I’ll look further and will make a PR accordingly.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Fast refresh not working properly due to page reload ... - GitHub
I was able to reproduce this, Developer Experience when using middleware is bad, the fast refresh won't work properly (editing a simple ...
Read more >
NextJS with styled-components fast refresh not working
js , I had to manually reload the page to view the changes. If I were to put my generic Input styling into...
Read more >
Fast Refresh | Gatsby
Fast Refresh is an implementation of Hot Reloading with full support from React. It replaces unofficial solutions like react-hot-loader . With Fast Refresh...
Read more >
Gatsby Changelog | 5.3.0
Since the initial release of Gatsby, apps built with Gatsby were always fully hydrated on the client. With Gatsby 5 you now can...
Read more >
Upgrade Guide - Next.js
Upgrade Guide. Upgrading from 12 to 13. To update to Next.js version 13, run the following command using your preferred package manager:
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found