当我尝试使用Angular CLI创建新项目时,请执行以下操作:
ng n app
我收到此错误:
fs.js:640返回binding.open(pathModule._makeLong(path),stringToFlags(flags),mode); ^ TypeError:路径必须是TypeError(本地)处的字符串或Buffer
如何升级或卸载Angular CLI?
npm uninstall -g @angular/cli
(stackoverflow.com/questions/43070441/...)
npm uninstall -g angular-cli