TS6053 Building Swashbuckle.AspNetCore

139 Views Asked by At

I cloned Swashbuckle.AspNetCore and am trying to build it However the node_modules folder is missing

node modules

I ran npm i redoc and got the following output

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 [email protected] requires a peer of mobx@^4.2.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react@^16.8.4 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of react-dom@^16.8.4 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of styled-components@^4.1.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of mobx@^5.15.4 || ^4.15.4 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] 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 [email protected] requires a peer of react@^16.3.0 but none is installed. You must install peer dependencies yourself.
npm WARN @redocly/[email protected] requires a peer of react@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @redocly/[email protected] requires a peer of react-dom@^16.8.0 but none is installed. You must install peer dependencies yourself.
npm WARN @redocly/[email protected] requires a peer of styled-components@^5.1.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] requires a peer of mobx@^4.0.0 || ^5.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] 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.

How should I proceed?

1

There are 1 best solutions below

0
On

I needed to be in the Swashbuckle.AspNetCore.ReDoc folder before running the command

npm i redoc