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
error Failed to load configuration of your project.
Error [ERR_PACKAGE_PATH_NOT_EXPORTED]: Package subpath './package.json' is not defined by "exports"in***/node_modules/@svgr/webpack/package.json
at new NodeError (node:internal/errors:372:5)
at throwExportsNotFound (node:internal/modules/esm/resolve:472:9)
at packageExportsResolve (node:internal/modules/esm/resolve:753:3)
at resolveExports (node:internal/modules/cjs/loader:482:36)
at Function.Module._findPath (node:internal/modules/cjs/loader:522:31)
at Function.Module._resolveFilename (node:internal/modules/cjs/loader:919:27)
at Function.resolve (node:internal/modules/cjs/helpers:108:19)
at resolveNodeModuleDir (***/node_modules/@react-native-community/cli-tools/build/resolveNodeModuleDir.js:24:42)
at ***/node_modules/@react-native-community/cli-config/build/loadConfig.js:93:76
at Array.reduce (<anonymous>)
The text was updated successfully, but these errors were encountered:
Hi! 👋
Firstly, thanks for your work on this project! 🙂
Today I used patch-package to patch
@svgr/webpack@6.2.1
for the project I'm working on.Here is the diff that solved my problem:
This solves my issue with react-native project
The text was updated successfully, but these errors were encountered: