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

Module not found: Error: Can't resolve 'fs' #4

Open
adarshks opened this issue Nov 6, 2017 · 13 comments
Open

Module not found: Error: Can't resolve 'fs' #4

adarshks opened this issue Nov 6, 2017 · 13 comments

Comments

@adarshks
Copy link

adarshks commented Nov 6, 2017

Hi,

when running the project after installing the package, i am getting this error. from the installed package. I have installed npm fs and npm file-system but i am still getting this error, can anybody help me?

@charbonnier666
Copy link

me too

@ar7casper
Copy link

@adarshks @charbonnier666
Are you using webpack-dev-server?

@adarshks
Copy link
Author

yes

@afilp
Copy link

afilp commented Mar 5, 2018

Me too (using webpack-dev-server)

@Cheng007
Copy link

Cheng007 commented Apr 2, 2018

我也遇到了,怎么解决,请问

@LucasZheng
Copy link

Me too (using webpack-dev-server)

@CarlosAyala
Copy link

Hi,
I tried to use this library with Ionic3.

But i have this error:

vendor.js:1823 ERROR Error: Uncaught (in promise): TypeError: fs.readFile is not a function TypeError: fs.readFile is not a function

It's the same error you have?

@Rehan1579
Copy link

Hi,
I tried to use this library with Ionic3.

But i have this error:

vendor.js:1823 ERROR Error: Uncaught (in promise): TypeError: fs.readFile is not a function TypeError: fs.readFile is not a function

It's the same error you have?

I'm also getting the same error, did you find any solution ?

@consciouscoder
Copy link

Same error.... any fix for this?

@xuetengfei
Copy link

me too. Same error

@shawn-ycx
Copy link

If anyone still needs help, check this link out https://github.com/nodejs/help/issues/1280#issuecomment-390113372. I had the same problem and switching var fs = require('file-system) to var fs = require(browserify-fs) resolved this issue.

@VonJie
Copy link

VonJie commented Dec 25, 2019

me too

1 similar comment
@morteza-jamali
Copy link

me too

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