Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Swagger App won't build #10023

Closed
berts83231 opened this issue Jul 9, 2023 · 0 comments · Fixed by #13639
Closed

Swagger App won't build #10023

berts83231 opened this issue Jul 9, 2023 · 0 comments · Fixed by #13639
Labels
🐛 bug Something isn't working ci area: CI, DX, pipeline, github actions Low priority Created by Linear-GitHub Sync Stale

Comments

@berts83231
Copy link

berts83231 commented Jul 9, 2023

Found a bug? Please fill out the sections below. 👍

Issue Summary

Swagger App won't build.

My goal is to build and deploy swagger on a staging server.

Steps to Reproduce

  1. Open in Gitpod (from Main. Last commit 09027a5c9776debb3f54177989842024152a55e2)
  2. Wait for yarn dx to complete
  3. cd apps/swagger
  4. yarn install
  5. yarn build

Error

calcom-calcom-fkzpb11q3tm% yarn build
- info Linting and checking validity of types ..Failed to compile.

./lib/snippets.ts:1:33
Type error: Could not find a declaration file for module 'openapi-snippet'. '/workspace/cal.com/node_modules/openapi-snippet/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/openapi-snippet` if it exists or add a new declaration (.d.ts) file containing `declare module 'openapi-snippet';`

> 1 | import * as OpenAPISnippet from "openapi-snippet";
    |                                 ^
  2 | 
  3 | export const requestSnippets = {
  4 |   generators: {

yarn dev works fine. Just not yarn build

Technical details

  • Gitpod environment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐛 bug Something isn't working ci area: CI, DX, pipeline, github actions Low priority Created by Linear-GitHub Sync Stale
Projects
None yet
2 participants