Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
Litemall
Commits
11587af9
Commit
11587af9
authored
Jun 12, 2019
by
Junling Bu
Browse files
doc
parent
edce9ec2
Changes
2
Hide whitespace changes
Inline
Side-by-side
doc/FAQ.md
View file @
11587af9
...
...
@@ -265,13 +265,15 @@ IDEA导入项目时,非常耗时间,或者卡断,或者一直疯狂运行
原因:
应该是litemall-admin模块的node_modules文件夹导致的。
node_modules是litemall-admin所依赖的项目库,可能有近200M的文件。
应该是litemall-admin模块
和litemall-vue模块
的node_modules文件夹导致的。
node_modules是litemall-admin
和litemall-vue模块
所依赖的项目库,可能有近200M的文件。
而IDEA如果没有设置,则可能尝试对该文件夹进行解析索引,从而导致卡断。
解决方案:
先关闭IDEA,然后删除node_modules文件夹,然后重新打开IDEA,设置node_modules文件夹Excluded状态。
1.
先关闭IDEA,然后删除litemall-admin和litemall-vue模块内的node_modules文件夹;
2.
然后分别创建空的node_modules文件夹;
3.
重新打开IDEA,分别设置litemall-admin模块和litemall-vue模块的node_modules文件夹Excluded状态。

...
...
doc/project.md
View file @
11587af9
...
...
@@ -373,8 +373,8 @@ flush privilege
> 但是建议开发者开发阶段采用IDEA。
> 2. 上述步骤只是一种实践方式,开发者可不拘泥于这些步骤,多实践。
> 当然,如果开发者不采用这里步骤而出现问题,请自行解决。
> 3. 开发者使用IDEA导入项目或者运行项目时可能会出现**软件卡顿**的现象,这通常是litemall-admin的
> node_modules文件夹内自动下载了大量的
litemall-admin的
依赖库,当IDEA尝试索引该文件夹内的大量文件时
> 3. 开发者使用IDEA导入项目或者运行项目时可能会出现**软件卡顿**的现象,这通常是litemall-admin
或者litemall-vue
的
> node_modules文件夹内自动下载了大量的依赖库,当IDEA尝试索引该文件夹内的大量文件时
> 则出现IDEA卡顿的现象,具体解决方式可以参见[FAQ](./FAQ.md)
### 1.4.3 微信小程序开发环境
...
...
Write
Preview
Supports
Markdown
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