Cannot resolve language files from ../lang/fr.json (react-intl) #3527
Unanswered
spacejamjim
asked this question in
Troubleshooting
Replies: 1 comment
-
The full error code:
Nodejs: 14.17.1 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have a LanguageWrapper component taken directly from a react-intl document example
With a basic App,js (added only for context)
and a basic index.jsx (added only for context)
Now the problem here is that I have:
but when I run
npm run build
I get:UnhandledPromiseRejectionWarning: Error: Can't resolve '../lang/fr.json' in '/Users/me/workSpace/apps/testWebApp/test-ui/build/dist'
I have absolutely no idea what I'm doing wrong but I feel it's small... Can anyone assist me?
Beta Was this translation helpful? Give feedback.
All reactions