-
Preliminary Checks
DescriptionI'm trying to make a starter and a theme using React95 but I ran into a weird error when running The issue just appears when I'm using Gatsby v3 and works fine on v2. Besides all other packages into React95 project, the structure for Gatsby thing is separated into:
You could notice that the starter uses the theme as a dependency but the error persists even without this relation. Reproduction Linkhttps://github.com/React95/React95/tree/feat/gatsby-theme-v3 Steps to Reproducev2 - Working steps
v3 - Not working steps
Expected ResultThe same as running with v2:
Actual Result
EnvironmentSystem:
OS: macOS 11.5.1
CPU: (8) x64 Apple M1
Shell: 5.8 - /bin/zsh
Binaries:
Node: 14.17.4 - /var/folders/vs/z_hhlb9n3tgdng9tz9_w7bmc0000gq/T/yarn--1629934561283-0.6959975362269055/node
Yarn: 1.22.1 - /var/folders/vs/z_hhlb9n3tgdng9tz9_w7bmc0000gq/T/yarn--1629934561283-0.6959975362269055/yarn
npm: 6.14.14 - /usr/local/bin/npm
Languages:
Python: 2.7.16 - /usr/bin/python
Browsers:
Chrome: 92.0.4515.159
Safari: 14.1.2 Config FlagsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
tried to add resolutions to each package but it didn't work as well
|
Beta Was this translation helpful? Give feedback.
-
I fixed it by adjusting @react95/core, which uses storybook, to use webpack 5, adding resolutions to the root package.json file, and updating Gatsby version from v2 to v3 in @react95/explorer and @react95/gatsby-theme packages. All changes are in this commit |
Beta Was this translation helpful? Give feedback.
I fixed it by adjusting @react95/core, which uses storybook, to use webpack 5, adding resolutions to the root package.json file, and updating Gatsby version from v2 to v3 in @react95/explorer and @react95/gatsby-theme packages.
All changes are in this commit