npm install 并没有根据package-lock.json锁版本 #600
hello-sunbaixin
started this conversation in
San CLI
Replies: 1 comment
-
这是因为 san-cli 默认是用 yarn 来安装依赖的。解决办法有俩,任选其一即可:
// meta.js
module.exports = {
useYarn: false
} |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
san init template demo
进行到最后一步install时,npm install 并没有根据package-lock.json锁版本,而是直接根据package.json安装最新版。。。
Beta Was this translation helpful? Give feedback.
All reactions