当前位置:网站首页>NPM semantic version control, solution console prop being mutated: "placement" error
NPM semantic version control, solution console prop being mutated: "placement" error
2022-07-25 19:25:00 【@I don't know you】
Preface
Sorting out this knowledge point can only be said to be a coincidence , Due to the continuous iteration of the project, the project volume is too large , Caused a memory overflow , See solution :vue Solution of project memory overflow . Because deleted node_modules and package-lock.json After downloading the dependency again, the console gives the following warning 
solve
Baidu inquired , as a result of :
When elementUi Automatically upgrade to 2.15.6 In the above version , This error will appear on the browser console .
Now see gitlab There are also many people who encounter this problem , It's all in 2.15.8 Errors appear around the version
because elementUi Upgrade to 2.15.6 The above version was in date-picker A line of direct modification has been added to the component placement Code for
After all, the solution is simple, just don't use 2.15.6 Above version , Then open your own package.json At first glance ^2.13.0 , As a result, the console still reported an error , Later, I learned that I still need to ^ Just remove it . See the following for specific reasons npm Semantic version control of
npm Semantic version control of
Reference resources ( Plagiarism ):http://nodejs.cn/learn/semantic-versioning-using-npm
Semantic version control
The concept of semantic versioning is simple : All versions have 3 A digital :x.y.z.
- The first number is the main version .
- The second number is the second version .
- The third number is the patch version .
When a new version is released , It's not just about adding numbers at will , Also follow the following rules :
- When incompatible API When changes , Upgrade the main version .
- When adding features in a backward compatible way , Then upgrade to the next version .
- When performing backward compatible defect repair , Upgrade the patch version .
This Convention is adopted in all programming languages , Every npm Software packages must comply with this Convention , This is very important , Because the whole system depends on it .
because npm Set some rules , Can be used in package.json Select the version you want to update the package to ( When running npm update when ).
Symbol 
Details of these rules are as follows :
边栏推荐
- JS learning notes 17: DOM query exercise
- [applet development] common components and basic usage details
- [iniparser] simple use of the project configuration tool iniparser
- Empire CMS whole station | mobile number /qq lianghao mall source code | suitable for mobile terminal
- i3-status 配置
- Flutter tips: optimizing the buildcontext you use
- Pymoo learning (5): convergence analysis
- ERROR: role “admin“ cannot be dropped because some objects depend on itDETAIL:
- 基础乐理之音程的度数
- 高端旗舰投影仪选购指南:当贝X3 Pro、当贝F5观影更沉浸!
猜你喜欢

Improvement of wechat applet 26 playing music page ②
![[hdlbits questions] Verilog language (3) modules: hierarchy section](/img/35/ccdbb55aa0aff7e9dec2bf9e64c4e2.png)
[hdlbits questions] Verilog language (3) modules: hierarchy section

Basic music theory -- configuring chords

虹科分享|如何解决勒索软件安全漏洞

Small program completion work wechat campus maintenance application small program graduation design finished product (2) small program function

How to ensure the consistency of double write between database and cache?

网上商城系统MySql数据库设计项目实战

KCon 2022 亮点及议程大揭秘!

哪吒 D1-H 测试 microbench

Dynamic implementation of wechat applet 27 progress bar and static construction of search box and hot search list
随机推荐
CLIP还能做分割任务?哥廷根大学提出一个使用文本和图像prompt,能同时作三个分割任务的模型CLIPSeg,榨干CLIP能力...
Basic music theory -- configuring chords
Binary tree visualization
Wechat campus maintenance and repair applet graduation design finished product (7) Interim inspection report
【阅读笔记】《深度学习》第一章:引言
telnet安装以及telnet(密码正确)无法登录!
[iniparser] simple use of the project configuration tool iniparser
Based on easycv to reproduce Detr and dab-detr, the correct opening method of object query
Real estate enterprises have launched a "war of guarantee"
Leetcode skimming: dynamic programming 07 (different binary search trees)
微信小程序 28 热搜榜的完善①
modelsim和quartus联合仿真PLL FIFO等IP核
Fearless of high temperature and rainstorm, how can Youfu network protect you from worry?
Wechat campus maintenance and repair application applet graduation design finished product of applet completion work (6) opening defense ppt
leetcode刷题:动态规划07(不同的二叉搜索树)
前夕 - 0day威胁情报
某公司网络设计与规划
Full scale and Xuan of C key
二叉树可视化
How to change the chords after the tune of the song is changed