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

latest docker image error #1185

Closed
armgong opened this issue Dec 21, 2024 · 2 comments · Fixed by #1186
Closed

latest docker image error #1185

armgong opened this issue Dec 21, 2024 · 2 comments · Fixed by #1186

Comments

@armgong
Copy link

armgong commented Dec 21, 2024

Describe the bug
use docker compose to selfhost teable, but fail to start

To Reproduce
use the docker compose file in github, when docker compose up it first pull latest teable image ,then show

teable-1             | /app/packages/openapi/dist/openapi-snippet/openapi-to-har.js:363
teable-1             |     if (openApi.paths[path][method].servers)
teable-1             |                            ^
teable-1             |
teable-1             | TypeError: Cannot read properties of undefined (reading 'post')
teable-1             |     at getBaseUrl (/app/packages/openapi/dist/openapi-snippet/openapi-to-har.js:363:28)
teable-1             |     at Object.createHar [as getEndpoint] (/app/packages/openapi/dist/openapi-snippet/openapi-to-har.js:39:21)
teable-1             |     at Object.getEndpointSnippets (/app/packages/openapi/dist/openapi-snippet/index.js:29:31)
teable-1             |     at generateCodeSamples (/app/packages/openapi/dist/generate.schema.js:35:53)
teable-1             |     at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
teable-1             |     at async getOpenApiDocumentation (/app/packages/openapi/dist/generate.schema.js:68:9)
teable-1             |     at async setUpAppMiddleware (/app/apps/nestjs-backend/dist/index.js:44:38)
teable-1             |     at async bootstrap (/app/apps/nestjs-backend/dist/index.js:74:5)
teable-1             |     at async /app/apps/nestjs-backend/dist/index.js:45351:15
teable-1             |
teable-1             | Node.js v20.9.0

@rootforbid
Copy link

I have the same error. Everything was fine prior to this last docker image.

@mykolarudenko
Copy link

Same here

@tea-artist tea-artist linked a pull request Dec 22, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants