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
@DanWizard reported having trouble installing dependencies with Yarn v1 on Windows. Yarn v2 can install everything fine, but yarn start-dev-frontend has trouble loading some modules.
Failed to load config "react-app" to extend from.
Referenced from: C:\Users\***\liquity\packages\dev-frontend\package.json
After deleting eslintConfig from package.json:
C:/Users/***/liquity/.yarn/$$virtual/@emotion-react-virtual-cb0b3bb86b/0/cache/@emotion-react-npm-11.1.4-e22adbc3be-a75d76ba0b.zip/node_modules/@emotion/react/dist/emotion-element-4fbd89c5.browser.esm.js
Module not found: @emotion/react tried to access react (a peer dependency) but it isn't provided by its ancestors; this makes the require call ambiguous and unsound.
It seems whoever depends on @emotion/react is not providing its react peer-dependency. Yarn v2 is stricter about dependency loading, and won't load modules that are installed (indirectly) but not declared in package.json.
@DanWizard reported having trouble installing dependencies with Yarn v1 on Windows. Yarn v2 can install everything fine, but
yarn start-dev-frontend
has trouble loading some modules.After deleting
eslintConfig
frompackage.json
:It seems whoever depends on
@emotion/react
is not providing itsreact
peer-dependency. Yarn v2 is stricter about dependency loading, and won't load modules that are installed (indirectly) but not declared in package.json.Yarnrc can be used to work around such bugs until they are fixed upstream: https://yarnpkg.com/configuration/yarnrc#packageExtensions.
The text was updated successfully, but these errors were encountered: