i18next / i18next-http-backend

i18next-http-backend is a backend layer for i18next using in Node.js, in the browser and for Deno.
MIT License
453 stars 70 forks source link

ERROR in ./node_modules/i18next-http-backend/cjs/request.js Module not found: Error: Can't resolve 'exports-loader' in '..\node_modules\i18next-http-backend\cjs' #81

Closed RajeshPaycor closed 3 years ago

RajeshPaycor commented 3 years ago

am trying to build my app, it is getting error like below shown image but it is working for another application, can anyone please help me on this error

Versions: node = 14.17.0 and "i18next": "^21.4.2", "react-i18next": "^11.14.2", "i18next-browser-languagedetector": "^6.1.2", "i18next-http-backend": "^1.3.1",

image

adrai commented 3 years ago

Can you please create a reproducible example?

RajeshPaycor commented 3 years ago

i can't reproduce this why because in my machine there is another project is there in that its working file, am not sure why its not working in this App

adrai commented 3 years ago

Sorry, without a reproducible example I can't help. It might be some issue with your webpack configuration... You may ask at stackoverflow. Sorry.

RajeshPaycor commented 3 years ago

i found the issue why its happenning that is because of in my webpack file if i comment below snippet its working new webpack.ProvidePlugin({ fetch: "exports-loader?self.fetch!isomorphic-fetch", }),