Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

怎样阻止cnpm通过在node_modules里面添加快捷方式的方式来安装包? #191

Closed
xiangnanscu opened this issue Apr 20, 2017 · 2 comments

Comments

@xiangnanscu
Copy link

不知在什么时候起, 比如你安装bootstrap, npm会在node_modules里面放一个bootstrap的软连接, 真实安装地址是._bootstrap@3.3.7@bootstrap

初心是好的, 但是在我的工程中这种软连接不太方便. 有什么可以阻止这种行为吗

@XGHeaven
Copy link

cnpm i --by=npm

@fengmk2
Copy link
Member

fengmk2 commented Jun 12, 2017

@XGHeaven Thanks.

@fengmk2 fengmk2 closed this as completed Jun 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants