Error: Cannot find file: 'index.js' does not match the corresponding name on disk: './node_modules/React/react'
import React from 'React'
should be
import React from 'react'
You are trying to import React
instead of react
. Case matters for modules names