You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ yarn create razzle-app --no-install typescript-razzle-require-unsound
$ cd typescript-razzle-require-unsound
$ yarn set version berry
$ yarn install
$ yarn razzle start
A couple dependencies seem to be missing:
Error: @pmmmwh/react-refresh-webpack-plugin tried to access webpack, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.
Error: razzle tried to access postcss-load-config, but it isn't declared in its dependencies; this makes the require call ambiguous and unsound.
These can be resolved by adding these in .yarnrc.yml:
🐛 Bug report
Current Behavior
This is from a fresh app created by:
A couple dependencies seem to be missing:
These can be resolved by adding these in
.yarnrc.yml
:Expected behavior
Should work out of the box.
Reproducible example
https://github.com/icyrockcom/typescript-razzle-require-unsound
Suggested solution(s)
Upgrading to this release might fix the first one https://github.com/pmmmwh/react-refresh-webpack-plugin/releases/tag/v0.4.3.
Additional context
N/A.
Your environment
The text was updated successfully, but these errors were encountered: