1. Reason for error reporting
element-ui version: 2.15.9
Screenshot is as follows:
2. Cause analysis
After element-ui was upgraded to version 2.15.6 or higher, a line of code was added inside the date-picker component to directly modify the placement (you can check it out)
A screenshot of the viewing address is as follows.
3. Solution
- Go to the project package.json file to check the element-ui version, if it is higher than 2.15.6, uninstall the current version directly
- Type npm install [email protected] -S to install version 2.15.6, and then remove the ^ sign in front of the version (if you don’t know the version symbol in front of it, you can look at it on Google)
- Remove the node_modules package
- Type npm install to install the dependencies
4. Screenshot of element-ui version
Read More:
- Vue ElementUI el-pagination Error: Invalid prop: custom validator check failed for prop “pagerCount“
- ElementUI Error in callback for watcher “data”: “Error: [ElTable] prop row-key is required”
- Module build failed: Error: Node Sass version 6.0.0 is incompatible with ^4.0.0
- Some problems encountered in the initial construction of Ant Design Pro project, such as cross Env, webpack and so on
- [Solved] Vite Project jenkins Auto Package Error: failed to load config from ../vite.config.js You installed esbuild on
- [Solved] element-plus Error: Failed to resolve component
- How to Fix Webpack run error webpack dev server
- [Solved] This is probably not a problem with npm. There is likely additional logging output above.
- Can’t read property ‘push’ of undefined [How to Solve]
- Vue Report Error #NULL! :no such file or directory,chmod….. [email protected] **\css- Beautify.js
- [Solved] Vue cli version is @ Vue/cli 4.5.13, and sass is used to report an error
- Vue require Error: node_modules/babel-loader/lib
- Error: env [NODE_ENV] is not set (How to Solve)
- Module not found: Error: Can‘t resolve ‘sass-loader‘
- How to Solve Macbookm1 pod error
- Mybatis Error: Cause: java.sql.SQLException: sql injection violation, syntax error: syntax error, expect EQ
- Oracle prompt text does not match format string
- [Solved] NPM Error: gyp: No Xcode or CLT version detected!
- [Solved] Error: Cannot find module ‘webpack-cli/package.json‘
- The use of vue-echarts and compilation error solutions