[英]My Angular isn't working and I have downloaded the right things for it
deji150@Dejis-MBP ~ % npm install -g @angular/cli@9 npm WARN deprecated debug@4.1.1: Debug versions >=3.2.0 <3.2.7 || >=4 <4.3.1 在 Node.js 环境中使用时具有低严重性 ReDos 回归。 建议您升级到 3.2.7 或 4.3.1。 ( https://github.com/visionmedia/debug/issues/797 ) ^[[B⸨░░░░░░░░░░░░░░░░░░⸩ ⠏ debug WAR fetchMetadata.: 1:调试版本^[[B⸨░░░░░░░░░░░░░░░░░░⸩⠸ fetchMetadata: sill resolveWithNewModule @schematics/^[[B⸨░░░░░░░░░░░░░░ ░░░░░░░░░⸩ ⠸ fetchMetadata: sill resolveWithNewModule @schematics/^[[B⸨░░░░░░░░░░░░░░░░░░░schematics/With NewModule fetch npm WARN 已弃用 request@2.88.2:request 已弃用,请参阅 https://github.com/request/request/issues/3142 npm WARN 已弃用 har-validator@5s/1 不再支持此库: deji150/.npm-global/bin/ng -> /Users/deji150/.npm-global/lib/node_modules/@angular/cli/bin/ng
@angular/cli@9.1.15 postinstall /Users/deji150/.npm-global/lib/node_modules/@angular/cli node./bin/postinstall/script.js
npx ng version
有效吗?
最有可能的是,您的全局节点/bin 路径的路径未添加到您的系统路径变量中。 然后按照这个,它应该做的伎俩https://stackoverflow.com/a/15623632/2046263
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.