node.js - 术语“node.exe”未被识别为 cmdlet、函数、脚本文件或可运行程序的名称
问题描述
尝试创建 Angular 项目时出现错误。这是我第一次安装 node.js 并且所有的测试都成功了。
PS D:\ASP.NET Core & Angular\AngularAPI> ng new Angular7
& : The term 'node.exe' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling
of the name, or if a path was included, verify that the path is correct and try again.
At C:\Users\Nahian\AppData\Roaming\npm\ng.ps1:15 char:5
+ & "node$exe" "$basedir/node_modules/@angular/cli/bin/ng" $args
+ ~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (node.exe:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
环境变量也根据指令设置
谁能告诉我我错过了什么?
编辑:
我已经安装了 node.js 和 angular
解决方案
推荐阅读
- python - 如何使用正则表达式函数来提取带有熊猫的欧洲街道名称、房屋号码和形容词?
- jquery - 如何在jQuery中设置文本颜色和添加边框
- django - 无法在 Azure webapp 中删除 Django API 调用中的文件
- angular - 根据页数动态合并 httpClient Observables
- excel - SUMIFS 与 LARGE 相结合
- gradle - NullPointerException when run gradle htmlDependencyReport
- android - 从最近删除应用程序时后台服务停止
- c - 以毫秒为单位的延迟,ARM 处理器,C 代码
- python - 根据同一列的先前值更改python数据框中的列
- google-api - G盘api删除我驱动器文件夹中的文件