-
Notifications
You must be signed in to change notification settings - Fork 10.3k
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
reactProdInvariant.js:31 Uncaught Error: Minified React error #130; #1885
Comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am learning react-native programming I have an error
I am not sure why this is
reactProdInvariant.js:31 Uncaught Error: Minified React error #130; visit http://facebook.github.io/react/docs/error-decoder.html?invariant=130&args[]=undefined&args[]=%20Check%20the%20render%20method%20of%20%60t%60. for the full message or use the non-minified dev environment for full errors and additional helpful warnings.
at r (reactProdInvariant.js:31)
at o (instantiateReactComponent.js:74)
at r (ReactChildReconciler.js:44)
at i (traverseAllChildren.js:77)
at o (traverseAllChildren.js:172)
at Object.instantiateChildren (ReactChildReconciler.js:74)
at b._reconcilerInstantiateChildren (ReactMultiChild.js:191)
at b.mountChildren (ReactMultiChild.js:224)
at b._createInitialChildren (ReactDOMComponent.js:703)
at b.mountComponent (ReactDOMComponent.js:522)
My package json looks like
"devDependencies": {
"babel-core": "6.25.0",
"babel-eslint": "^7.2.3",
"babel-loader": "^7.1.1",
"babel-plugin-react-remove-prop-types": "^3.0.0",
"babel-polyfill": "^6.3.14",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-0": "^6.24.1",
"bower-webpack-plugin": "^0.1.9",
and .bablrc
{
"presets": [
"es2015",
"stage-0",
"react"
]
}
webpack looks like
const path = require('path');
module.exports = {
entry: {
main: "./src/index.js"
},
output: {
path: path.resolve(__dirname, 'dist/assets'),
filename: 'app.js'
},
devtool: 'source-map',
module: {
rules: [
{
test: /.(js|jsx)$/,
loader: 'babel-loader'
},
{
test: /.scss$/,
use: [{
loader: "style-loader"
}, {
loader: "css-loader"
}, {
loader: "resolve-url-loader"
}, {
loader: "sass-loader"
}]
}]
}
};
react render
render() {
return (
<Form.Input className="input"
{...this.props}
onClick={this.handleClick}/>
);
}
Index.html
<!doctype html>
<title>Application</title> <script type="text/javascript"> var firstPathPart = document.location.pathname.split("/")[1]; if (firstPathPart !== '') { var href; href = '/' + firstPathPart + '/'; document.write(""); // output /dist/ } </script> <style> #loader { position: absolute; top: 50%; left: 50%; margin: 0px; text-align: center; z-index: 1000; -webkit-transform: translateX(-50%) translateY(-50%); transform: translateX(-50%) translateY(-50%); padding-top: 100px; }Please help me why this error is? and where I have to look
The text was updated successfully, but these errors were encountered: