node.js - “抱歉,名称只能包含 URL 友好字符”的问题。
问题描述
我正在尝试来自https://www.positronx.io/build-angular-crud-application-with-nodejs-and-express-rest-api/的 Angular 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.
解决方案
推荐阅读
- c# - 在 2D 横向滚动 Unity 项目中,我的弹丸不会与我的敌人发生碰撞?
- reactjs - onSubmit 省略渲染日期(但仅在第一次提交时)
- php - 如何在 ARRAY 中创建 ARRAY
- python - 从 python 交互模式导入
- reactjs - 开发时如何将Apollo GraphQL端点设置为本地IP?
- javascript - EventListener arraylength 或 childElementCount
- powershell - Ansible command wont output as playbook
- uiviewcontroller - 使用intrinsicContentsize嵌入UIViewController
- c# - 不工作的侦听器不要统一销毁加载对象
- c# - 如何在统一 3D 中将宇宙飞船从 y 轴向左旋转