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

fs, net, and tls error #58

Closed
jbhatab opened this issue Jan 25, 2016 · 7 comments
Closed

fs, net, and tls error #58

jbhatab opened this issue Jan 25, 2016 · 7 comments

Comments

@jbhatab
Copy link

jbhatab commented Jan 25, 2016

I installed this on my project and have been getting this weird random error. I have verified that removing this npm module is what fixes it. Here's the errors I get.

screen shot 2016-01-24 at 9 37 33 pm

I assume this has to do with some peer dependencies. Any ideas?

@KittyGiraudel
Copy link

Same problem here.

@hanspagel
Copy link

hanspagel commented Aug 22, 2016

+1

Module not found: Error: Cannot resolve module 'fs'
Module not found: Error: Cannot resolve module 'net'
Module not found: Error: Cannot resolve module 'tls'

@hanspagel
Copy link

$ npm install --save net tls fs fixed the issue for me.

@jerradpatch
Copy link

I am getting the the FS package doesnt exist on npm. https://www.npmjs.com/package/fs

@actuallymentor
Copy link

$ npm install --save net tls fs fixed the issue for me.

Did not work for me. Using the module with webpack and babel-loader.

@jtillmann
Copy link
Member

I do not have in-depth knowledge of Webpack or Babel. Feel free to provide a Pull Request if you solve this.

@josephreisinger
Copy link

I also ran into this. Solved via adding

node: {
    console: true,
    fs: 'empty',
    net: 'empty',
    tls: 'empty'
  }

to my webpack config. See request/request#1529

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

7 participants