reactjs-basics
reactjs-basics copied to clipboard
Source Code of my ReactJS Basics Series on YouTube (https://www.youtube.com/playlist?list=PL55RiY5tL51oyA8euSROLjMFZbXaV7skS)
ERROR in ./src/app/index.js Module build failed: Error: Cannot find module 'babel-core' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object. (D:\React-project\react-demo\node_modules\babel-loader\lib\index.js:3:13) at Module._compile (module.js:570:32) at...
I think the syntax in onMakeOlder function is wrong and might cause errors with out of sync state data. It doesn't take into the account the asynchronous nature that setState...
Hi! Looks like you have installed '**babel-core**' as global dependency on your machine. Mb you should add it to package.json or add a little message to the video about `npm...
Seems like you have babel-core globally installed, and thus all the projects in here seems to fail. Adding this would ensure compilation of the JSX.
You commented that you'd changed it in next video, but it isn't mentioned here. (FYI: My terminal doesn't run despite changing this - it says "ERROR in ./src/app/index.js" Module build...