1. Error information
./src/components/Header/index.jsx 2.42 KiB [built] [code generated]
ERROR in ./src/components/Header/index.jsx 5:0-35
Module not found: Error: Cannot find file: 'index.js' does not match the corresponding name on disk: '.\node_modules\prop-Types\prop-types'.
@ ./src/App.js 5:0-41 104:40-46
@ ./src/index.js 6:0-24 8:38-41
webpack 5.65.0 compiled with 1 error in 193 ms
2. Problem
Error introducing proptypes
import PropTypes from 'prop-Types' =>>>>>>> import PropTypes from 'prop-types'
Similar Posts:
- export ‘default’ (imported as ‘mod’) was not found in ‘-!../../../../node_module .vue?vue&type=script&lang=ts&’ (possible exports: __esModule)
- [Solved] TypeError: Property value expected type of string but got null
- Causes and solutions of error reporting in require setting dynamic path
- [Solved] VUE Error: Component template should contain exactly one root element. If you are using v-if on mu…
- After NPM downloads a vuelazload, swipwe reports an error [Solved]
- Spring Boot UrlResource loading classpath error: unknown protocol: classpath
- How to Solve ReferenceError: internalBinding is not defined
- [Solved] Module build failed: Error: Cannot find module ‘node-sass’
- JQuery Error: TypeError: jQuery.curCSS is not a function [How to Solve]
- When vue3 introduces element plus, index.css cannot be found. Solve the problem