You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
I am using the @decorators/server in my repo and I got this issue when using swagger.
To Reproduce
Just install the decorator and enable swagger on your app module: SwaggerModule.forRoot({ description: 'Rifas Example App', title: '@decorators/server', }),
Expected behavior
No errors
The solution
The file swagger-dark.css wasn`t added to node_modules to fix this just do it:
npm install --save-dev copyfiles
and substitute the build script in package.json file:
Describe the bug
I am using the @decorators/server in my repo and I got this issue when using swagger.
To Reproduce
Just install the decorator and enable swagger on your app module:
SwaggerModule.forRoot({ description: 'Rifas Example App', title: '@decorators/server', }),
Expected behavior
No errors
The solution
The file swagger-dark.css wasn`t added to node_modules to fix this just do it:
npm install --save-dev copyfiles
and substitute the build script in package.json file:
"build": "rimraf ./lib && tsc && copyfiles -u 1 ./src/platforms/swagger/**/*.css ./lib"
I tried making a pull request, but I don't have the permission to do it.
The text was updated successfully, but these errors were encountered: