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

Error building #7

Open
ludufre opened this issue May 13, 2024 · 0 comments
Open

Error building #7

ludufre opened this issue May 13, 2024 · 0 comments

Comments

@ludufre
Copy link

ludufre commented May 13, 2024

When I try to build I get error:

ludufre@iMac-de-Luan pnpm-turborepo-boilerplate % pnpm build         

> turborepo-base@0.1.1 build /Users/ludufre/Desktop/REPOs/pnpm-turborepo-boilerplate
> pnpm with-env turbo run build --cache-dir="./.turbo_cache"


> turborepo-base@0.1.1 with-env /Users/ludufre/Desktop/REPOs/pnpm-turborepo-boilerplate
> dotenv -e .env -- "turbo" "run" "build" "--cache-dir=./.turbo_cache"

╭───────────────────────────────────────────────────────────────────────╮
│                                                                       │
│                   Update available v1.9.3 ≫ v1.13.3                   │
│    Changelog: https://github.com/vercel/turbo/releases/tag/v1.13.3    │
│               Run "npx @turbo/codemod update" to update               │
│                                                                       │
│     Follow @turborepo for updates: https://twitter.com/turborepo      │
╰───────────────────────────────────────────────────────────────────────╯
• Packages in scope: @retconned/config, @retconned/drizzle, @retconned/eslint-config-custom, @retconned/prisma-orm, @retconned/tsconfig, @retconned/ui, @retconned/utils, my-t3-app, my-t3-drizzle, web
• Running build in 10 packages
• Remote caching disabled
my-t3-app:build: cache miss, executing 7c93d4b075d98713
my-t3-drizzle:build: cache miss, executing 566c088e03d6eac9
web:build: cache miss, executing 8577a72e53439c14
my-t3-app:build: 
my-t3-app:build: > my-t3-app@0.1.0 build /Users/ludufre/Desktop/REPOs/pnpm-turborepo-boilerplate/apps/my-t3-app
my-t3-app:build: > next build
my-t3-app:build: 
my-t3-drizzle:build: 
my-t3-drizzle:build: > my-t3-drizzle@0.1.1 build /Users/ludufre/Desktop/REPOs/pnpm-turborepo-boilerplate/apps/my-t3-drizzle
my-t3-drizzle:build: > next build
my-t3-drizzle:build: 
web:build: 
web:build: > web@0.1.0 build /Users/ludufre/Desktop/REPOs/pnpm-turborepo-boilerplate/apps/web
web:build: > next build
web:build: 
web:build: - warn You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env
my-t3-drizzle:build: - warn You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env
my-t3-app:build: warn  - You are using a non-standard "NODE_ENV" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env
web:build: - warn You have enabled experimental feature (serverActions) in next.config.js.
web:build: - warn Experimental features are not covered by semver, and may cause unexpected or broken application behavior. Use at your own risk.
web:build: 
web:build: - info Creating an optimized production build...
my-t3-drizzle:build: - info Linting and checking validity of types...
my-t3-app:build: info  - Linting and checking validity of types...
my-t3-app:build: error - ESLint: Plugin "@next/next" was conflicted between ".eslintrc.cjs » eslint-config-next/core-web-vitals » plugin:@next/next/core-web-vitals" and "../../.eslintrc.js » @retconned/eslint-config-custom » eslint-config-next/core-web-vitals » plugin:@next/next/core-web-vitals".
my-t3-drizzle:build: - error ESLint: Plugin "@next/next" was conflicted between ".eslintrc.cjs » eslint-config-next/core-web-vitals » plugin:@next/next/core-web-vitals" and "../../.eslintrc.js » @retconned/eslint-config-custom » eslint-config-next/core-web-vitals » plugin:@next/next/core-web-vitals".
my-t3-app:build: Failed to compile.
my-t3-app:build: 
my-t3-app:build: ./src/server/api/root.ts:9:14
my-t3-app:build: Type error: The inferred type of 'appRouter' cannot be named without a reference to '.pnpm/@prisma+client@4.11.0_prisma@4.11.0/node_modules/.prisma/client'. This is likely not portable. A type annotation is necessary.
my-t3-app:build: 
my-t3-app:build:    7 |  * All routers added in /api/routers should be manually added here.
my-t3-app:build:    8 |  */
my-t3-app:build: >  9 | export const appRouter = createTRPCRouter({
my-t3-app:build:      |              ^
my-t3-app:build:   10 |   example: exampleRouter,
my-t3-app:build:   11 | });
my-t3-app:build:   12 | 
my-t3-app:build:  ELIFECYCLE  Command failed with exit code 1.
my-t3-app:build: ERROR: command finished with error: command (/Users/ludufre/Desktop/REPOs/pnpm-turborepo-boilerplate/apps/my-t3-app) pnpm run build exited (1)
command (/Users/ludufre/Desktop/REPOs/pnpm-turborepo-boilerplate/apps/my-t3-app) pnpm run build exited (1)

 Tasks:    0 successful, 3 total
Cached:    0 cached, 3 total
  Time:    2.671s 

 ERROR  run failed: command  exited (1)
 ELIFECYCLE  Command failed with exit code 1.
 ELIFECYCLE  Command failed with exit code 1.
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

No branches or pull requests

1 participant