-
Notifications
You must be signed in to change notification settings - Fork 288
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
Module not found: Can't resolve 'fs' #25
Comments
I'll check this out today. There are some upcoming changes to go out, and f there's an issue I'll release a fix with that. Thanks for the report! |
For further detail can you give me your build command? It's very likely you're building for the web and need to exclude node specific modules. |
You're right, I'm using this on my web app. Not sure what you mean by build command. I get the said error when I run |
You probably used a boilerplate generator that created this for you, but did not include commonly used configurations for building clientside versions of serverside modules. likely you just need to tell it to not include |
Did this get sorted? |
I'm going to call this good, reopen if there are issues. |
I did a
yarn add ascii-art
in my project, addedwindow.art = require('ascii-art');
and tried to build usingnpm run build
but it gives the following error:Module not found: Can't resolve 'fs' in 'C:....\node_modules\ascii-art-image'
I am not so great with these tools so it can be something at my end that I am doing wrong.
The text was updated successfully, but these errors were encountered: