Skip to content

在使用docker部署的时候运行bun run setup:env报错!!! #3047

@qq1223479499

Description

@qq1223479499

root@pan:~/onlook# bun run setup:env
$ cd packages/scripts && bun run start
$ bun run build && node dist/index.js
$ bun build src/index.ts --outdir=dist --target=node
Bundled 174 modules in 97ms

index.js 0.75 MB (entry point)

🔑 Onlook Environment Setup Script

✔ Docker is running.
🚀 Starting Supabase backend...
⠋ Waiting for Supabase to initialize...(node:120409) [DEP0190] DeprecationWarning: Passing args to a child process with shell option true can lead to security vulnerabilities, as the arguments are not escaped, only concatenated.
(Use node --trace-deprecation ... to show where the warning was created)
✖ Timed out waiting for Supabase keys.
Error creating .env files: Error: Supabase start timeout
at Timeout._onTimeout (file:///root/onlook/packages/scripts/dist/index.js:22971:14)
at listOnTimeout (node:internal/timers:608:17)
at process.processTimers (node:internal/timers:543:7)
error: script "start" exited with code 1
error: script "setup:env" exited with code 1

这个问题怎么解决???

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions