当前位置:网站首页>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 :
边栏推荐
- Internal network planning and design of Yingcheng hospital
- 平衡二叉树
- Use of swift basic codable (jsonencoder jsondecoder)
- 基础乐理之音程的度数
- Pymoo学习 (8):Gradients
- 小程序毕设作品之微信校园维修报修小程序毕业设计成品(1)开发概要
- 哈希无向图可视化
- Fearless of high temperature and rainstorm, how can Youfu network protect you from worry?
- FPGA based 1080p 60Hz bt1120 interface debugging process record
- Youfu network was invited to attend the 2022 national CIO conference and won the title of "CIO trusted brand"
猜你喜欢

哪吒 D1-H 测试 microbench

Talk about 11 tips for interface performance optimization

解决Win10账户没有了管理员权限

How to analyze qiime2 after obtaining picrust2 results

Youth, oh, youth

Binary tree visualization

Network packet multi-layer transmission demonstration

KCon 2022 亮点及议程大揭秘!

AAAI 2022 | GAN的结构有“指纹”吗?从伪造图像溯源生成网络结构

SQL Server 2019 installation tutorial
随机推荐
一个函数中写多少行代码比较合适呢? 代码整洁之道
鸿蒙-大喵计算画板-简介
FPGA based 1080p 60Hz bt1120 interface debugging process record
600000 pieces of data are made from March 1 to March 31. Videodate requires starting time from 00:00 to 24:00 on March 1 to 31, which is only for notes
Flutter tips: optimizing the buildcontext you use
Dynamic implementation of wechat applet 27 progress bar and static construction of search box and hot search list
SQL Server 2019 安装教程
Istio exposes applications to the Internet
基础乐理之音程的度数
Wechat campus maintenance and repair applet graduation design finished product (5) assignment of applet completion work
Pymoo学习 (6):终止条件
加州大学|用于未指定环境的可行对抗鲁棒强化学习
Fearless of high temperature and rainstorm, how can Youfu network protect you from worry?
Fearless of high temperature and rainstorm, how can Youfu network protect you from worry?
乐理基础 调式
Huawei recruited "talented teenagers" twice this year; 5.4 million twitter account information was leaked, with a selling price of $30000; Google fired engineers who believed in AI consciousness | gee
常用的开发软件下载地址
Intouch高级报警(报警筛选)
【小程序开发】常用组件及基本使用详解
Binary tree visualization