How to fix the «Can't resolve './node_modules@magento♂enia-uilibRootComponentsCMSindex.js'» PWA Studio error in Windows?

To fix the issue, replace the line

with the following one:

).replace(/\\/g, '/')}')}`;
1 Like

See also:

ERROR in (webpack)-inject-plugin/dist/webpack-inject-plugin.loader.js?id=webpack-inject-module-2
Module not found: Error: Can’t resolve ‘D:Projects♂eniapwa-studiopackages♂enia-concepten_US.json’ in ‘D:\Projects\venia\pwa-studio\packages\venia-concept’

do you know about this ?

ERROR in (webpack)-inject-plugin/dist/webpack-inject-plugin.loader.js?id=webpack-inject-module-2
Module not found: Error: Can’t resolve ‘C:Usersjai.narayaneclipse-workspacePWApwa-studiopackages♂enia-concepten_US.json’ in ‘C:\Users\jai.narayan\eclipse-workspace\PWA\pwa-studio\packages\venia-concept’

any solution for the above issue I’m also facing the same issue @dmitry_fedyuk @mokshik_trivedi