当前位置:网站首页>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 :
边栏推荐
- Openresty Lua resty mlcache multi-level cache
- 小程序毕设作品之微信校园维修报修小程序毕业设计成品(6)开题答辩PPT
- Youfu force supercomputing provides customized high-performance computing services for customers
- iMeta | Sangerbox: 交互式整合临床生信分析平台
- 新瓶装老酒--近期APT32(海莲花)组织攻击活动样本分析
- Intouch高级报警(报警筛选)
- Why learn service grid istio
- How to analyze qiime2 after obtaining picrust2 results
- JS learning notes 16: switching pictures small project practice
- [server data recovery] a data recovery case of a brand ProLiant server raid paralysis, database file loss, and database file backup damage
猜你喜欢

KCon 2022 亮点及议程大揭秘!

Internal network planning and design of Yingcheng hospital

阿里云免费SSL证书申请详细流程

微信小程序 29 热搜榜的完善②

Alibaba cloud free SSL certificate application detailed process
![[reading notes] deep learning Chapter 1: Introduction](/img/b3/58f71b032cd8f04ecf95d48281a41a.png)
[reading notes] deep learning Chapter 1: Introduction

Improvement of wechat applet 29 hot search list ②

Network design and planning of a company

微信小程序 26 播放音乐页的完善②

小程序毕设作品之微信校园维修报修小程序毕业设计成品(5)任务书
随机推荐
阿里云免费SSL证书申请详细流程
Telnet installation and telnet (correct password) cannot log in!
这种动态规划你见过吗——状态机动态规划之股票问题(上)
JS learning notes 17: DOM query exercise
CLIP还能做分割任务?哥廷根大学提出一个使用文本和图像prompt,能同时作三个分割任务的模型CLIPSeg,榨干CLIP能力...
Improvement of wechat applet 28 hot search list ①
Pymoo学习 (6):终止条件
【阅读笔记】《深度学习》第一章:引言
[server data recovery] a data recovery case of a brand ProLiant server raid paralysis, database file loss, and database file backup damage
leetcode刷题:动态规划07(不同的二叉搜索树)
Leetcode skimming: dynamic programming 07 (different binary search trees)
Youfu network was invited to attend the 2022 national CIO conference and won the title of "CIO trusted brand"
高端旗舰投影仪选购指南:当贝X3 Pro、当贝F5观影更沉浸!
“未来杯”第二届知识图谱锦标赛正式启动
【小程序开发】宿主环境详解
【DETR用于3D目标检测】3DETR: An End-to-End Transformer Model for 3D Object Detection
虹科分享|如何解决勒索软件安全漏洞
重磅!《几何深度学习》新书发布,帝国理工/DeepMind等图ML大牛共同撰写,160页pdf阐述几何DL基础原理和统一框架
The degree of interval of basic music theory
What is the application value of MES management system