在全局安装 Nest 后,我尝试创建一个新项目,但出现此错误Failed to execute command: npm install --silent。
nest new new_project
Run Code Online (Sandbox Code Playgroud)
同样在这里。没有答案对我有帮助。我得到它的工作:
nest new test-project
cd test-project
npm install @types/jest@27.0.1
npm install
Run Code Online (Sandbox Code Playgroud)
小智 7
Urix 模块存在问题https://github.com/lydell/urix#deprecated
尝试:
npm cache clean --force
npm i -g source-map-resolve
npm i -g @nestjs/cli
nest new project_name
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
3717 次 |
| 最近记录: |