Cannot find module react-refresh
when running app for Chromecast.
#1850
Labels
bug
Something isn't working
react-refresh
when running app for Chromecast.
#1850
Describe the bug
Cannot find module
react-refresh
when running app for Chromecast.To Reproduce
Steps to reproduce the behavior:
npx rnv run -p chromecast
Expected behavior
Build for Chromecast to succeed.
Screenshots or copy&paste
Desktop (please complete the following information):
Additional context
The issue seems to be caused by
injectRefreshLoader
trying to look for the module from the project root, in this casernv-starter-prototype
.react-refresh
isn't defined as a dependency in the projects'package.json
file, thus the error.Current Workaround
Install
react-refresh
in the project as a dev dependency.The text was updated successfully, but these errors were encountered: