网上找到的:ng set --global packageManager=cnpm不行。命令行提示:ng config <jsonPath> value options这个 jsonPath 应该是什么?我在这里 链接找到说明:ng config
Overview
ng config [key] [value] Get/set configuration values. [key] should be in JSON path format. Example: a[3].foo.bar[2]. If only the [key] is provided it will get the value. If both the [key] and [value] are provided it will set the value.
Optionsglobal--global (alias: -g)Get/set the value in the global configuration (in your home directory).我的理解是:ng config packageManager cnpm -g但仍然提示:Invalid Path
添加回答
举报
0/150
提交
取消