[英]Trying to create my first Angular project using Visual Studio 2022
I have installed npm and Angular CLI, which created the package.json file in folder "C:\Users\meast\source\repos\angularproject1". I have installed npm and Angular CLI, which created the package.json file in folder "C:\Users\meast\source\repos\angularproject1". However, when I try to create a new Angular project in Visual Studio I keep getting the error "Could not find file C:\Users\meast\source\repos* angularproject2 *\package.json", or when I try to extend the project I get "Could not find file C:\Users\meast\source\repos* angularproject1 *\package.json" even though it is there.但是,当我尝试在 Visual Studio 中创建新的 Angular 项目时,我不断收到错误消息“找不到文件 C:\Users\meast\source\repos* angularproject2 *\package.json”,或者当我尝试扩展项目我得到“找不到文件 C:\Users\meast\source\repos* angularproject1 *\package.json”,即使它在那里。
This was my fault, instead of choosing "ASP.NET Core with Angular" I chose the wrong project type.这是我的错,我没有选择“ASP.NET Core with Angular”,而是选择了错误的项目类型。 This can be closed.这可以关闭。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.