Answers for "Cannot find file: 'react-router-dom.js' does not match the corresponding name on disk: '.\node_modules\React-router-dom\esm\react-router-dom'."

6

Cannot find file: 'index.js' does not match the corresponding name on disk: '.node_modulesReactreact'.

import React from 'React'

should be

import React from 'react'

Module name is case-sensitive, Uppercase 'R' should be written in lowercase.
Posted by: Guest on May-25-2021

Code answers related to "Cannot find file: 'react-router-dom.js' does not match the corresponding name on disk: '.\node_modules\React-router-dom\esm\react-router-dom'."

Browse Popular Code Answers by Language