typebot.io
typebot.io copied to clipboard
Manual instalation stuck
I doing a manual installation at ubuntu 24, 4gb ram vps and get installation stuck, the log bellow:
root@srv582143:/opt/typebot.io# pnpm run build:apps
[email protected] build:apps /opt/typebot.io turbo run build --filter=builder... --filter=viewer...
sh: 1: turbo: not found βELIFECYCLEβ Command failed. βWARNβ Local package.json exists, but node_modules missing, did you mean to install? root@srv582143:/opt/typebot.io# pnpm install Scope: all 46 workspace projects Lockfile is up to date, resolution step is skipped Packages: +2390 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Downloading @tolgee/[email protected]: 11.13 MB/11.13 MB, done Progress: resolved 2390, reused 2328, downloaded 36, added 2390, done
devDependencies:
- @tolgee/cli 2.1.5
- cross-env 7.0.3
- cz-emoji 1.3.2-canary.2
- husky 8.0.3
- prettier 2.8.8
- turbo 2.0.5
. prepare$ husky install β husky - Git hooks installed ββ Done in 45ms Done in 11.2s root@srv582143:/opt/typebot.io# pnpm run build:apps
[email protected] build:apps /opt/typebot.io turbo run build --filter=builder... --filter=viewer...
β’ Packages in scope: @typebot.io/ai, @typebot.io/anthropic-block, @typebot.io/billing, @typebot.io/bot-engine, @typebot.io/cal-com-block, @typebot.io/chat-node-block, @typebot.io/db-rules, @typebot.io/dify-ai-block, @typebot.io/elevenlabs-block, @typebot.io/emails, @typebot.io/env, @typebot.io/forge, @typebot.io/forge-repository, @typebot.io/js, @typebot.io/lib, @typebot.io/logic, @typebot.io/migrations, @typebot.io/mistral-block, @typebot.io/nextjs, @typebot.io/nocodb-block, @typebot.io/open-router-block, @typebot.io/openai-block, @typebot.io/playwright, @typebot.io/prisma, @typebot.io/qrcode-block, @typebot.io/radar, @typebot.io/react, @typebot.io/results, @typebot.io/schemas, @typebot.io/telemetry, @typebot.io/theme, @typebot.io/together-ai-block, @typebot.io/tsconfig, @typebot.io/variables, bot-engine, builder, eslint-config-custom, typebot-js, viewer
β’ Running build in 39 packages
β’ Remote caching disabled
@typebot.io/prisma:db:generate: cache bypass, force executing 750e78ce46696f90
@typebot.io/prisma:db:generate:
@typebot.io/prisma:db:generate: > @typebot.io/[email protected] db:generate /opt/typebot.io/packages/prisma
@typebot.io/prisma:db:generate: > dotenv -e ./.env -e ../../.env -- tsx scripts/db-generate.ts
@typebot.io/prisma:db:generate:
@typebot.io/prisma:db:generate: Executing for PostgreSQL schema
@typebot.io/prisma:db:generate: Prisma schema loaded from postgresql/schema.prisma
@typebot.io/prisma:db:generate:
@typebot.io/prisma:db:generate: β Generated Prisma Client (v5.12.1) to ./../../node_modules/.pnpm/@[email protected][email protected]/node_modules/@prisma/client in 395ms
@typebot.io/prisma:db:generate:
@typebot.io/prisma:db:generate: Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
@typebot.io/prisma:db:generate: @typebot.io/prisma:db:generate: import { PrismaClient } from '@prisma/client' @typebot.io/prisma:db:generate: const prisma = new PrismaClient() @typebot.io/prisma:db:generate:
@typebot.io/prisma:db:generate: or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)
@typebot.io/prisma:db:generate: @typebot.io/prisma:db:generate: import { PrismaClient } from '@prisma/client/edge' @typebot.io/prisma:db:generate: const prisma = new PrismaClient() @typebot.io/prisma:db:generate:
@typebot.io/prisma:db:generate:
@typebot.io/prisma:db:generate: See other ways of importing Prisma Client: http://pris.ly/d/importing-client
@typebot.io/prisma:db:generate:
@typebot.io/prisma:db:generate: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
@typebot.io/prisma:db:generate: β Supercharge your Prisma Client with global database caching, β
@typebot.io/prisma:db:generate: β scalable connection pooling and real-time database events. β
@typebot.io/prisma:db:generate: β Explore Prisma Accelerate: https://pris.ly/cli/-accelerate β
@typebot.io/prisma:db:generate: β Explore Prisma Pulse: https://pris.ly/cli/-pulse β
@typebot.io/prisma:db:generate: ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
@typebot.io/prisma:db:generate:
@typebot.io/prisma:db:generate:
typebot-js:build: cache miss, executing 6eca207a3f91aee6
@typebot.io/env:build: cache miss, executing 06ff40d869488bc5
@typebot.io/env:build:
@typebot.io/env:build: > @typebot.io/[email protected] build /opt/typebot.io/packages/env
@typebot.io/env:build: > esbuild env.ts --bundle --packages=external --format=esm --outfile=dist/env.mjs
@typebot.io/env:build:
typebot-js:build:
typebot-js:build: > [email protected] build /opt/typebot.io/packages/deprecated/typebot-js
typebot-js:build: > tsup
typebot-js:build:
@typebot.io/env:build:
@typebot.io/env:build: dist/env.mjs 13.6kb
@typebot.io/env:build:
@typebot.io/env:build: β‘ Done in 8ms
@typebot.io/js:build: cache miss, executing f97cb8a45dd56439
typebot-js:build: CLI Building entry: src/index.ts
typebot-js:build: CLI Using tsconfig: tsconfig.json
typebot-js:build: CLI tsup v6.5.0
typebot-js:build: CLI Using tsup config: /opt/typebot.io/packages/deprecated/typebot-js/tsup.config.js
typebot-js:build: CLI Target: node14
typebot-js:build: ESM Build start
typebot-js:build: CJS Build start
typebot-js:build: IIFE Build start
typebot-js:build: IIFE dist/index.global.js 11.48 KB
typebot-js:build: IIFE dist/index.global.js.map 36.89 KB
typebot-js:build: IIFE β‘οΈ Build success in 164ms
typebot-js:build: ESM dist/index.mjs 10.99 KB
typebot-js:build: ESM dist/index.mjs.map 36.51 KB
typebot-js:build: ESM β‘οΈ Build success in 221ms
typebot-js:build: CJS dist/index.js 11.62 KB
typebot-js:build: CJS dist/index.js.map 36.92 KB
typebot-js:build: CJS β‘οΈ Build success in 223ms
@typebot.io/js:build: βWARNβ Issue while reading "/opt/typebot.io/packages/embeds/js/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
@typebot.io/js:build:
@typebot.io/js:build: > @typebot.io/[email protected] build /opt/typebot.io/packages/embeds/js
@typebot.io/js:build: > rollup --config rollup.config.js
@typebot.io/js:build:
typebot-js:build: DTS Build start
typebot-js:build: DTS β‘οΈ Build success in 2299ms
typebot-js:build: DTS dist/index.d.ts 2.95 KB
bot-engine:build: cache miss, executing fbf2b7197a6fb964
@typebot.io/js:build:
@typebot.io/js:build: ./src/index.ts β dist/index.js...
bot-engine:build:
bot-engine:build: > [email protected] build /opt/typebot.io/packages/deprecated/bot-engine
bot-engine:build: > tsup
bot-engine:build:
bot-engine:build: CLI Building entry: src/index.ts
bot-engine:build: CLI Using tsconfig: tsconfig.json
bot-engine:build: CLI tsup v6.5.0
bot-engine:build: CLI Using tsup config: /opt/typebot.io/packages/deprecated/bot-engine/tsup.config.js
bot-engine:build: CLI Target: es6
bot-engine:build: ESM Build start
bot-engine:build: CJS Build start
bot-engine:build: CJS dist/index.js 158.69 KB
bot-engine:build: CJS dist/index.js.map 472.87 KB
bot-engine:build: CJS β‘οΈ Build success in 2152ms
bot-engine:build: ESM dist/index.mjs 155.24 KB
bot-engine:build: ESM dist/gtag-37GMA4K6.mjs 129.00 B
bot-engine:build: ESM dist/chunk-SGAXM4DC.mjs 1.43 KB
bot-engine:build: ESM dist/index.mjs.map 473.24 KB
bot-engine:build: ESM dist/gtag-37GMA4K6.mjs.map 71.00 B
bot-engine:build: ESM dist/chunk-SGAXM4DC.mjs.map 2.02 KB
bot-engine:build: ESM β‘οΈ Build success in 2191ms
@typebot.io/js:build: created dist/index.js in 16.7s
@typebot.io/js:build:
@typebot.io/js:build: ./src/web.ts β dist/web.js...
@typebot.io/js:build: created dist/web.js in 22.3s
@typebot.io/react:build: cache miss, executing 0da4d14e43385b37
@typebot.io/react:build: βWARNβ Issue while reading "/opt/typebot.io/packages/embeds/react/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
@typebot.io/react:build:
@typebot.io/react:build: > @typebot.io/[email protected] build /opt/typebot.io/packages/embeds/react
@typebot.io/react:build: > rollup --config rollup.config.js
@typebot.io/react:build:
@typebot.io/react:build:
@typebot.io/react:build: ./src/index.ts β ./dist/index.js...
@typebot.io/react:build: (!) Unresolved dependencies
@typebot.io/react:build: https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
@typebot.io/react:build: @typebot.io/js/dist/web (imported by "src/Standard.tsx", "src/Bubble.tsx" and "src/Popup.tsx")
@typebot.io/react:build: created ./dist/index.js in 12.9s
@typebot.io/nextjs:build: cache miss, executing a83eb152a2eaeffe
@typebot.io/nextjs:build: βWARNβ Issue while reading "/opt/typebot.io/packages/embeds/nextjs/.npmrc". Failed to replace env in config: ${NPM_TOKEN}
@typebot.io/nextjs:build:
@typebot.io/nextjs:build: > @typebot.io/[email protected] build /opt/typebot.io/packages/embeds/nextjs
@typebot.io/nextjs:build: > rollup --config rollup.config.js
@typebot.io/nextjs:build:
@typebot.io/nextjs:build:
@typebot.io/nextjs:build: ./src/index.ts β ./dist...
@typebot.io/nextjs:build: (!) Unresolved dependencies
@typebot.io/nextjs:build: https://rollupjs.org/troubleshooting/#warning-treating-module-as-external-dependency
@typebot.io/nextjs:build: @typebot.io/js/dist/web (imported by "../react/src/Standard.tsx", "../react/src/Popup.tsx" and "../react/src/Bubble.tsx")
@typebot.io/nextjs:build: created ./dist in 12.8s
builder:build: cache miss, executing 76b1ae546dc218e7
viewer:build: cache miss, executing f8e79adef916a5ed
viewer:build:
viewer:build: > [email protected] build /opt/typebot.io/apps/viewer
viewer:build: > dotenv -e ./.env -e ../../.env -- next build
viewer:build:
builder:build:
builder:build: > [email protected] build /opt/typebot.io/apps/builder
builder:build: > dotenv -e ./.env -e ../../.env -- next build
builder:build:
builder:build: - event [next-runtime-env] read environment variables prefixed with 'NEXT_PUBLIC_' from process.env.
builder:build: - ready [next-runtime-env] wrote browser runtime environment variables to '/opt/typebot.io/apps/builder/public/_ENV.js'.
viewer:build: - event [next-runtime-env] read environment variables prefixed with 'NEXT_PUBLIC' from process.env.
viewer:build: - ready [next-runtime-env] wrote browser runtime environment variables to '/opt/typebot.io/apps/viewer/public/__ENV.js'.
viewer:build: β² Next.js 14.1.0
viewer:build: - Experiments (use at your own risk):
viewer:build: Β· outputFileTracingRoot
viewer:build:
builder:build: β² Next.js 14.1.0
builder:build: - Experiments (use at your own risk):
builder:build: Β· outputFileTracingRoot
builder:build:
viewer:build: Creating an optimized production build ...
viewer:build: β Compiled successfully
viewer:build: β Linting and checking validity of types
viewer:build: β Collecting page data
viewer:build: β Collecting build traces
viewer:build: β Finalizing page optimization
viewer:build:
viewer:build: Route (app) Size First Load JS
viewer:build: β Ξ» /api/integrations/openai/streamer 0 B 0 B
viewer:build: β Ξ» /api/v1/sessions/[sessionId]/streamMessage 0 B 0 B
viewer:build: β Ξ» /api/v2/sessions/[sessionId]/streamMessage 0 B 0 B
viewer:build: + First Load JS shared by all 0 B
viewer:build:
viewer:build: Route (pages) Size First Load JS
viewer:build: β /_app 0 B 83.8 kB
viewer:build: β Ξ» /[[...publicId]] 3.13 kB 218 kB
viewer:build: β Ξ» /404 6.29 kB 90.1 kB
viewer:build: β Ξ» /api/[...trpc] 0 B 83.8 kB
viewer:build: β Ξ» /api/health 0 B 83.8 kB
viewer:build: β Ξ» /api/integrations/google-sheets/spreadsheets/[spreadsheetId]/sheets/[sheetId] 0 B 83.8 kB
viewer:build: β Ξ» /api/integrations/stripe/createPaymentIntent 0 B 83.8 kB
viewer:build: β Ξ» /api/mock/fail 0 B 83.8 kB
viewer:build: β Ξ» /api/mock/success 0 B 83.8 kB
viewer:build: β Ξ» /api/publicTypebots/[typebotId] 0 B 83.8 kB
viewer:build: β Ξ» /api/typebots 0 B 83.8 kB
viewer:build: β Ξ» /api/typebots/[typebotId]/blocks/[blockId]/executeWebhook 0 B 83.8 kB
viewer:build: β Ξ» /api/typebots/[typebotId]/integrations/email 0 B 83.8 kB
viewer:build: β Ξ» /api/typebots/[typebotId]/results 0 B 83.8 kB
viewer:build: β Ξ» /api/typebots/[typebotId]/results/[resultId] 0 B 83.8 kB
viewer:build: β Ξ» /api/typebots/[typebotId]/results/[resultId]/answers 0 B 83.8 kB
viewer:build: β Ξ» /api/typebots/[typebotId]/webhookBlocks 0 B 83.8 kB
viewer:build: β Ξ» /api/typebots/[typebotId]/webhookSteps 0 B 83.8 kB
viewer:build: β Ξ» /api/users/me 0 B 83.8 kB
viewer:build: β Ξ» /old/[[...publicId]] 382 B 215 kB
viewer:build: + First Load JS shared by all 83.9 kB
viewer:build: β chunks/framework-544e890f2f568b75.js 45.2 kB
viewer:build: β chunks/main-3646e5a6b0f65e02.js 36.4 kB
viewer:build: β other shared chunks (total) 2.28 kB
viewer:build:
viewer:build: Ξ» (Dynamic) server-rendered on demand using Node.js
viewer:build:
viewer:build:
Have you configured your postgres URL correctly
yes, I did a test.
Most likely forgot to run pnpm install?
Yes, I did, without pnpm install is not possible to start build
Can you tell me how I can reproduce the error?
Closing, feel free to re-open