gatsbyjs / gatsby

The best React-based framework with performance, scalability and security built in.
https://www.gatsbyjs.com
MIT License
55.28k stars 10.31k forks source link

reactProdInvariant.js:31 Uncaught Error: Minified React error #130; #1885

Closed testingjune closed 6 years ago

testingjune commented 7 years ago

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>

Application
Loading Application

Please help me why this error is? and where I have to look

benjaminhoffman commented 6 years ago

hi @testingjune is this issue resolved? Closing for now but feel free to re open if I am mistaken.