首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >TS6053构建Swashbuckle.AspNetCore

TS6053构建Swashbuckle.AspNetCore
EN

Stack Overflow用户
提问于 2020-09-12 16:10:15
回答 1查看 76关注 0票数 0

我克隆了Swashbuckle.AspNetCore并尝试构建它,但是缺少node_modules文件夹

我运行npm i redoc并得到以下输出

代码语言:javascript
复制
npm WARN saveError ENOENT: no such file or directory, open 'C:\Windows\System32\package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open 'C:\Windows\System32\package.json'
npm WARN redoc@2.0.0-rc.40 requires a peer of mobx@^4.2.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN redoc@2.0.0-rc.40 requires a peer of react@^16.8.4 but none is installed. You must install peer dependencies yourself.
npm WARN redoc@2.0.0-rc.40 requires a peer of react-dom@^16.8.4 but none is installed. You must install peer dependencies yourself.
npm WARN redoc@2.0.0-rc.40 requires a peer of styled-components@^4.1.1 but none is installed. You must install peer dependencies yourself.
npm WARN mobx-react@6.3.0 requires a peer of mobx@^5.15.4 || ^4.15.4 but none is installed. You must install peer dependencies yourself.
npm WARN mobx-react@6.3.0 requires a peer of react@^16.8.0 || 16.9.0-alpha.0 but none is installed. You must install peer dependencies yourself.
npm WARN react-tabs@3.1.1 requires a peer of react@^16.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN @redocly/react-dropdown-aria@2.0.11 requires a peer of react@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @redocly/react-dropdown-aria@2.0.11 requires a peer of react-dom@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @redocly/react-dropdown-aria@2.0.11 requires a peer of styled-components@^5.1.1 but none is installed. You must install peer dependencies yourself.
npm WARN mobx-react-lite@2.2.1 requires a peer of mobx@^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN mobx-react-lite@2.2.1 requires a peer of react@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN System32 No description
npm WARN System32 No repository field.
npm WARN System32 No README data
npm WARN System32 No license field.

我应该如何继续?

EN

回答 1

Stack Overflow用户

发布于 2020-09-13 07:41:11

在运行该命令之前,我需要位于Swashbuckle.AspNetCore.ReDoc文件夹中

代码语言:javascript
复制
npm i redoc
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/63858266

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档