-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
TypeError: net.isIP is not a function #1440
Comments
I am facing the same issue when I changed line 3 in redis index.js file to var net = require('net-browserify'); for sure this is not a proper solution or work around but this fixes the issue for now until finding i find a solution |
Which node version are you having this issue on? |
Here it is also fixed by this way. Thanks. |
You're my hero. Thanks a lot! |
how about this Issue? I am facing the same issue!!!!! |
npx create-react-app test_redis_react --typescript yarn add redis I fixed App.tsx like this import React from 'react'; function App() {
} export default App; It's wrong!!! Download the React DevTools for a better development experience: https://fb.me/react-devtools node --version npm --version |
I printed net in App.tsx, net: The net module is the base Module of node.js, BUT it's miss in this tsx file!!! |
Tried but still same issue and also need to add "net" and "tls" to the package.json file since its not present in the library. Thanks in advance |
I had the same problem and found that in the console: |
Thanks for wanting to report an issue you've found in node_redis. Please delete
this text and fill in the template below. Please note that the issue tracker is only
for bug reports or feature requests. If you have a question, please ask that on [gitter].
If unsure about something, just do as best as you're able.
Note that it will be much easier to fix the issue if a test case that reproduces
the problem is provided. It is of course not always possible to reduce your code
to a small test case, but it's highly appreciated to have as much data as possible.
Thank you!
Hi Folks,
I'm trying to create Redis Client using this
var redis = require('redis');
var redisClient = redis.createClient({host:'127.0.0.1', port:6379});
but it throws me this errors
else {
82 | cnx_options.port = +options.port || 6379;
83 | cnx_options.host = options.host || '127.0.0.1';
Please anyone suggest any workaround on this.
Thanks
[gitter]: https://gitter.im/NodeRedis/node_redis?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge
The text was updated successfully, but these errors were encountered: