electron-store icon indicating copy to clipboard operation
electron-store copied to clipboard

ERROR in ./node_modules/atomically/dist/utils/fs.js 4:11-24

Open OldManMeta opened this issue 2 years ago • 1 comments

Hi there,

This started popping up as soon as I installed - have tried everything to get to the bottom of the issue, changing webpack configs etc.

ERROR in ./node_modules/atomically/dist/utils/fs.js 4:11-24 Module not found: Error: Can't resolve 'fs' in 'C:\Users\mrbre\source\repos\SHARED\IMAuthReactSample\node_modules\atomically\dist\utils' Did you mean './fs'? Requests that should resolve in the current directory need to start with './'. Requests that start with a name are treated as module requests and resolve within module directories (node_modules). If changing the source code is not an option there is also a resolve options called 'preferRelative' which tries to resolve these kind of requests in the current directory too. @ ./node_modules/atomically/dist/index.js 7:13-34 @ ./node_modules/conf/dist/source/index.js 25:19-40 @ ./node_modules/electron-store/index.js 4:13-28 @ ./src/app/IMAuthFlow/authFlowPresenter.tsx 2:0-35 7:22-27 @ ./src/app/presentation.tsx 2:0-64 4:32-50 @ ./src/index.tsx 4:0-46 23:24-36

Any pointers?

"react": "^18.2.0", "electron-store": "^8.1.0",

OldManMeta avatar Sep 20 '22 13:09 OldManMeta