網上找到的: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
angular-cli 6.0 怎樣設置淘寶鏡像?
白豬掌柜的
2018-07-23 21:53:14