Address already in use - bind(2) for "127.0.0.1" port 3000 (Errno::EADDRINUSE)
lsof -wni tcp:3000
kill -9 PID_number
Address already in use - bind(2) for "127.0.0.1" port 3000 (Errno::EADDRINUSE)
lsof -wni tcp:3000
kill -9 PID_number
Address already in use - bind(2) for "127.0.0.1" port 3000 (Errno::EADDRINUSE)
sudo fuser -k -n tcp port
react native textinput
import React, { Component } from 'react';
import { TextInput } from 'react-native';
export default function UselessTextInput() {
const [textInputValue, setTextInputValue] = React.useState('');
return (
<TextInput
style={{
height: 40,
borderColor: 'gray',
borderWidth: 1,
placeholderTextColor: 'gray',
}}
onChangeText={text => setTextInputValue(text)}
value={textInputValue}
placeholder="Insert your text!"
/>
);
}
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us