Replies: 4 comments
-
I ran these: turbo build --filter='@dub/tailwind-config'
turbo build --filter='@dub/ui'
turbo build --filter='@dub/utils'
turbo build Then finally
|
Beta Was this translation helpful? Give feedback.
-
@snirego @snirego Is this still an issue you're experiencing? |
Beta Was this translation helpful? Give feedback.
-
Hey, I ran the turbo commands and then ran
Tasks: 0 successful, 3 total ERROR run failed: command exited (1)` I am executing this command in root and there is the directory named app but it's still showing this error, how can I fix this? |
Beta Was this translation helpful? Give feedback.
-
hey @snirego @jaiswalshash and any other party concerned, who is facing the issue of getting the application up locally
|
Beta Was this translation helpful? Give feedback.
-
Hey,
First of all thank you for this great community and useful open source project.
So I added all the required .env variables and I am trying to run it locally for few days now. I keep getting error messages when I try to build the project so for now I am stuck on this error:
web:build: cache miss, executing 9093f012917e360d
web:build:
web:build: > web@ build MY_LONG_PATH_TO_DIRECTORY\dub\apps\web
web:build: > prisma generate & next build
web:build:
web:build: Environment variables loaded from .env
web:build: Prisma schema loaded from prisma\schema.prisma
web:build:
web:build: ✔ Generated Prisma Client (v5.2.0) to .....\node_modules.pnpm@prisma+client@5.2.0_prisma@5.2.0\node_modules@prisma\client in 370ms
web:build: Start using Prisma Client in Node.js (See: https://pris.ly/d/client)
web:build:
web:build: import { PrismaClient } from '@prisma/client' web:build: const prisma = new PrismaClient() web:build:
web:build: or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)
web:build:
web:build: import { PrismaClient } from '@prisma/client/edge' web:build: const prisma = new PrismaClient() web:build:
web:build:
web:build: See other ways of importing Prisma Client: http://pris.ly/d/importing-client
web:build:
web:build: unhandledRejection ReferenceError: Headers is not defined
web:build: at MY_LONG_PATH_TO_DIRECTORY\dub\node_modules.pnpm\next@14.0.0_@babel+core@7.17.8_@opentelemetry+api@1.4.1_react-dom@18.2.0_react@18.2.0\node_modules\next\dist\compiled\next-server\app-route.runtime.prod.js:14:8846
web:build: at MY_LONG_PATH_TO_DIRECTORY\dub\node_modules.pnpm\next@14.0.0_@babel+core@7.17.8_@opentelemetry+api@1.4.1_react-dom@18.2.0_react@18.2.0\node_modules\next\dist\compiled\next-server\app-route.runtime.prod.js:14:41308
web:build: at Object. (MY_LONG_PATH_TO_DIRECTORY\dub\node_modules.pnpm\next@14.0.0_@babel+core@7.17.8_@opentelemetry+api@1.4.1_react-dom@18.2.0_react@18.2.0\node_modules\next\dist\compiled\next-server\app-route.runtime.prod.js:14:41329)
web:build: at Module._compile (node:internal/modules/cjs/loader:1103:14)
web:build: at Object.Module.extensions..js (node:internal/modules/cjs/loader:1155:10)
web:build: at Module.load (node:internal/modules/cjs/loader:981:32)
web:build: at Function.Module.load (node:internal/modules/cjs/loader:822:12)
web:build: at Module.require (node:internal/modules/cjs/loader:1005:19)
web:build: at Module.mod.require (MY_LONG_PATH_TO_DIRECTORY\dub\node_modules.pnpm\next@14.0.0@babel+core@7.17.8@opentelemetry+api@1.4.1_react-dom@18.2.0_react@18.2.0\node_modules\next\dist\server\require-hook.js:64:28)
web:build: at require (node:internal/modules/cjs/helpers:102:18)
web:build: ELIFECYCLE Command failed with exit code 1.
web:build: ERROR: command finished with error: command (MY_LONG_PATH_TO_DIRECTORY\dub\apps\web) pnpm run build exited (1)
web#build: command (MY_LONG_PATH_TO_DIRECTORY\dub\apps\web) pnpm run build exited (1)
Tasks: 2 successful, 3 total
Cached: 0 cached, 3 total
Time: 25.717s
Failed: web#build
ERROR run failed: command exited (1)
ELIFECYCLE Command failed with exit code 1.
Is anybody knows what to do next?
Beta Was this translation helpful? Give feedback.
All reactions