Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Y
yifu-study-front-share
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
yifu-study
front
yifu-study-front-share
Commits
11d34b83
Commit
11d34b83
authored
Apr 27, 2022
by
liyan
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://git.yifucenter.com/yifu-study/front/yifu-study-front-share
parents
bdf3cd90
d373826e
Pipeline
#15713
canceled with stage
Changes
3
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
0 deletions
+23
-0
Map 和 Object.md
source/_posts/Map 和 Object.md
+0
-0
软件包管理.md
source/_posts/软件包管理.md
+23
-0
软件包管理.pdf
source/_posts/软件包管理.pdf
+0
-0
No files found.
source/_posts/Map 和 Object.md
0 → 100644
View file @
11d34b83
This diff is collapsed.
Click to expand it.
source/_posts/软件包管理.md
0 → 100644
View file @
11d34b83
---
title: 软件包管理
date: 2022/4/25 10:00:00
tags:
-
node.js
-
npm
-
package.json
author: 王许晓
---
# 背景
近期维护《安庆项目》(基于React.js实现的管理后台)时遭遇到与之前开发测试运行结果不同的问题。这次维护是从gitlab上重新clone下来的,没有缓存node_modules。使用npm命令下载依赖包,期间有过几次同步失败,重新尝试后项目可以运行起来。然后各种坑来了,首先是 KeepAlive 和 connect 一起使用时,props属性不能传递到组件中,然后 AntDesign的ProTable中的columns配置的属性order会影响table的列的排序,按文档说明看这个属性影响的应该是search项的排序,然后我检查了ProTable的更新日志并没有修复此bug的记录,这么严重的问题他们没有记录那么问题就出在我的代码里,暴力解决办法是删除node_modules重新下载,结果全好了。
# 软件包管理器
-
npm:npm是一个软件包管理器,主要进行JAVAScript的包管理。通过npm,我们可以很方便地进行JavaScript包的下载、升级。
-
cnpm:CNPM 是中国 npm 镜像的客户端。
-
yarn:yarn 并行执行下载安装任务,在性能上有显著的提高。yarn 和 npm 都使用加密哈希算法来确保包的完整性
-
tyarn: yarn的国内镜像
-
npmmirror 中国镜像站
> Web 站点:https://npmmirror.com
> Registry Endpoint:https://registry.npmmirror.com
\ No newline at end of file
source/_posts/软件包管理.pdf
deleted
100644 → 0
View file @
bdf3cd90
File deleted
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment