Not sure if this option is obsolete. Please clarify. #13047
Unanswered
knightswatch3
asked this question in
Q&A
Replies: 1 comment 4 replies
-
|
Please install |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
-
My whole project's migrated to v5 of webpack. But when I am trying to import any libraries in my react code, I get the following:
Field 'browser' doesn't contain a valid alias configuration
/root/Myproj/src/node_modules/react-bootstrap doesn't exist
.js
Field 'browser' doesn't contain a valid alias configuration
/root/Myproj/src/node_modules/react-bootstrap.js doesn't exist
.json
Field 'browser' doesn't contain a valid alias configuration
/root/Myproj/src/node_modules/react-bootstrap.json doesn't exist
.wasm
Field 'browser' doesn't contain a valid alias configuration
/root/Myproj/src/node_modules/react-bootstrap.wasm doesn't exist
as directory
/root/Myproj/src/node_modules/react-bootstrap doesn't exist
Most of the online resources suggest the fix in the path in resolve and entry-points. But everything looks fine. The code throws the error only when importing them in the my react components.
Eg:
Beta Was this translation helpful? Give feedback.
All reactions