Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to solve ./node_modules/handlebars/lib/index.js:15:11-24 - Error: Module not found: Error: Can't resolve 'fs' in module federation config? #16128

Closed
prisia opened this issue Aug 9, 2022 · 1 comment

Comments

@prisia
Copy link

prisia commented Aug 9, 2022

./node_modules/handlebars/lib/index.js:15:11-24 - Error: Module not found: Error: Can't resolve 'fs' in '/Users/dino/Documents/puro/node_modules/handlebars/lib

Hello, i got this error when -> npm start my application
can anyone help me with this?
tried this approach
handlebars-lang/handlebars.js#1174
but it seems not working on my case
Thank you 😄

@prisia prisia closed this as completed Aug 9, 2022
@MohammedAshikKP
Copy link

in webpack config add resolve: { fallback: { fs:false }, },

this might solve the isse

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants