我正在尝试从https://www.positronx.io/build-angular-crud-application-with-nodejs-and-express-rest-api/中获取角度12的教程,无法执行以下命令:
npm install express cors body-parser mongoose
以下是代码:
PS D:\VArdhan\projects\node-angular\test> npm init
This utility will walk you through creating a package.json file.
It only covers the most common items, and tries to guess sensible defaults.
See `npm help init` for definitive documentation on these fields
and exactly what they do.
Use `npm install <pkg>` afterwards to install a package and
save it as a dependency in the package.json file.
Press ^C at any time to quit.
package name: (test) npm install express cors body-parser mongoose
Sorry, name can only contain URL-friendly characters.
发布于 2022-04-15 15:25:04
这实际上是请求确认。您所看到的失败可以通过按返回/输入并确认名称来解决。完成此操作后,您将看到需要确认的多个细节。(test)确实是一个对url友好的名称。
https://stackoverflow.com/questions/68563743
复制相似问题