当前位置:网站首页>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 :
边栏推荐
- 帝国CMS整站|手机号/QQ靓号商城源码|适配移动端
- 这种动态规划你见过吗——状态机动态规划之股票问题(上)
- Youfu force supercomputing provides customized high-performance computing services for customers
- How to ensure the consistency of double write between database and cache?
- modelsim和quartus联合仿真PLL FIFO等IP核
- Website construction of information exchange platform for China Africa South South cooperation based on PHP
- How to analyze qiime2 after obtaining picrust2 results
- 网络数据包多层传输演示
- C 调的满级和玄
- 微信小程序10-微搭模板
猜你喜欢

基础乐理之音程的度数
![[web technology] 1391 page visualization building tool, previous life and present life](/img/59/a4efd1a703f5d876b170908ed0053c.png)
[web technology] 1391 page visualization building tool, previous life and present life

新瓶装老酒--近期APT32(海莲花)组织攻击活动样本分析

Wechat campus maintenance and repair applet graduation design finished product of applet completion work (4) opening report

网络数据包多层传输演示

Modelsim and quartus jointly simulate PLL FIFO and other IP cores

英诚医院内部网络规划与设计

Swift 基础 Codable(JSONEncoder JSONDecoder)的使用

C# 合并集合

Website construction of information exchange platform for China Africa South South cooperation based on PHP
随机推荐
How to ensure the consistency of double write between database and cache?
基于PHP的中非南南合作信息交流平台网站建设
[Detr for 3D object detection] 3detr: an end to end transformer model for 3D object detection
Based on easycv to reproduce Detr and dab-detr, the correct opening method of object query
Flutter tips: optimizing the buildcontext you use
ERROR: role “admin“ cannot be dropped because some objects depend on itDETAIL:
这种动态规划你见过吗——状态机动态规划之股票问题(上)
Wechat campus maintenance and repair applet graduation design finished product of applet completion work (4) opening report
微信小程序 26 播放音乐页的完善②
Flutter 小技巧之优化你使用的 BuildContext
【DETR用于3D目标检测】3DETR: An End-to-End Transformer Model for 3D Object Detection
【DETR用于3D目标检测】DETR3D: 3D Object Detection from Multi-view Images via 3D-to-2D Queries
英诚医院内部网络规划与设计
【阅读笔记】《深度学习》第一章:引言
高效生成接口文档好方法
微信小程序开发之全局配置与页面配置
Introduction of this course (Introduction to machine learning)
What is the application value of MES management system
Youfu force supercomputing provides customized high-performance computing services for customers
Clip can also do segmentation tasks? The University of Gottingen proposed a model clipseg that uses text and image prompt and can do three segmentation tasks at the same time, squeezing out the clip a