René's URL Explorer Experiment


Title: bug: Prisma prismaSchemaFolder extension causes trigger.dev deploy to fail · Issue #1565 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: bug: Prisma prismaSchemaFolder extension causes trigger.dev deploy to fail · Issue #1565 · triggerdotdev/trigger.dev

X Title: bug: Prisma prismaSchemaFolder extension causes trigger.dev deploy to fail · Issue #1565 · triggerdotdev/trigger.dev

Description: Provide environment information NextJS 14.2 @prisma/client@6.0.1 @trigger.dev/sdk": "3.3.7 Describe the bug the build also fails if using prismaSchemaFolder extension. If schema.prisma `generator client { provider = "prisma-client-js" pr...

Open Graph Description: Provide environment information NextJS 14.2 @prisma/client@6.0.1 @trigger.dev/sdk": "3.3.7 Describe the bug the build also fails if using prismaSchemaFolder extension. If schema.prisma `generator c...

X Description: Provide environment information NextJS 14.2 @prisma/client@6.0.1 @trigger.dev/sdk": "3.3.7 Describe the bug the build also fails if using prismaSchemaFolder extension. If schema.prisma `g...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/issues/1565

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: Prisma prismaSchemaFolder  extension causes trigger.dev deploy to fail","articleBody":"### Provide environment information\n\nNextJS 14.2\r\n@prisma/client@6.0.1\r\n@trigger.dev/sdk\": \"3.3.7\n\n### Describe the bug\n\nthe build also fails if using prismaSchemaFolder extension.  \r\n\r\nIf schema.prisma\r\n`generator client {\r\n    provider        = \"prisma-client-js\"\r\n    previewFeatures = [\"postgresqlExtensions\", \"prismaSchemaFolder\", \"fullTextSearchPostgres\"]\r\n}\r\n\r\ndatasource db {\r\n    provider = \"postgresql\"\r\n    url      = env(\"DATABASE_URL\")\r\n}\r\n`\r\n\r\nAnd then you create other.prisma and user.prisma.. everything works fine in NextJS.. however trigger.dev build says that schema.prisma is empty and errors out.\r\n\r\nIf all models are thrown into schema.prisma it works.\r\n\r\nTried including additional files in \r\nimport { defineConfig } from '@trigger.dev/sdk/v3';\r\nimport {\r\n   additionalPackages,\r\n   additionalFiles,\r\n} from '@trigger.dev/build/extensions/core';\r\nimport { prismaExtension } from '@trigger.dev/build/extensions/prisma';\r\n\r\n\r\n   build: {\r\n      extensions: [\r\n         additionalFiles({\r\n            files: ['./prisma/schema/**'],\r\n         }),\r\n         prismaExtension({\r\n            schema: 'prisma/schema.prisma',\r\n            clientGenerator: 'client',\r\n         }),\r\n         additionalPackages({\r\n            packages: ['@prisma/client@6.0.1'],\r\n         }),\r\n      ],\r\n   },\n\n### Reproduction repo\n\nNone\n\n### To reproduce\n\nSet up prisma in nextjs with prismaSchemaFolder extension.\r\nCreate schema.prisma with no schemas\r\n`generator client {\r\n    provider        = \"prisma-client-js\"\r\n    previewFeatures = [\"prismaSchemaFolder\"]\r\n}\r\n\r\ndatasource db {\r\n    provider = \"postgresql\"\r\n    url      = env(\"DATABASE_URL\")\r\n}\r\n`\r\nCreate user.prisma with schemas\r\n\r\n`model User {\r\n    id               String                    @id @unique\r\n    email            String                    @unique\r\n    name             String?\r\n\r\n    @@index([email])\r\n}`\r\n\r\nSet up trigger.config.ts\r\nimport { defineConfig } from '@trigger.dev/sdk/v3';\r\nimport {\r\n   additionalPackages,\r\n   additionalFiles,\r\n} from '@trigger.dev/build/extensions/core';\r\nimport { prismaExtension } from '@trigger.dev/build/extensions/prisma';\r\n\r\n\r\n   build: {\r\n      extensions: [\r\n         additionalFiles({\r\n            files: ['./prisma/schema/**'],\r\n         }),\r\n         prismaExtension({\r\n            schema: 'prisma/schema.prisma',\r\n            clientGenerator: 'client',\r\n         }),\r\n         additionalPackages({\r\n            packages: ['@prisma/client@6.0.1'],\r\n         }),\r\n      ],\r\n   },\r\n\r\nTrigger.dev fails to deploy.  With or without additionalFiles.  It does not seem to load in the extension.\r\nError is simply that there are no models in the schema.prisma\r\n\r\nIf all models are thrown into schema.prisma it works.  \n\n### Additional information\n\n_No response_","author":{"url":"https://github.com/RobertHH-IS","@type":"Person","name":"RobertHH-IS"},"datePublished":"2024-12-14T17:44:31Z","url":"https://github.com/triggerdotdev/trigger.dev/issues/1565"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:4f45bf26-0fc4-249c-b299-0875afa03218
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8C88:1C3CF5:605367:8EC096:6AFAEEE5
html-safe-nonce303dbba9a507f205a42d187a57df2541c3edaace5554d9a85edf6e5995d7f564
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4Qzg4OjFDM0NGNTo2MDUzNjc6OEVDMDk2OjZBRkFFRUU1IiwidmlzaXRvcl9pZCI6IjIxODgwNTQxODU3NTA3NTI5OTciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmac33bcd17e2dc8322da260fc352ff86335bc59365c740d71c9c0eb88ef44671f13
hovercard-subject-tagissue:2740019164
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/triggerdotdev/trigger.dev/1565/issue_layout
twitter:imagehttps://opengraph.githubassets.com/2eba070b8d98fe2b5e4531fb2d11896ae3022ae90dfd33c344c0ae972bf0693f/triggerdotdev/trigger.dev/issues/1565
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/2eba070b8d98fe2b5e4531fb2d11896ae3022ae90dfd33c344c0ae972bf0693f/triggerdotdev/trigger.dev/issues/1565
og:image:altProvide environment information NextJS 14.2 @prisma/client@6.0.1 @trigger.dev/sdk": "3.3.7 Describe the bug the build also fails if using prismaSchemaFolder extension. If schema.prisma `generator c...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameRobertHH-IS
hostnamegithub.com
expected-hostnamegithub.com
None0178036d8230524a18422872393ab7e708443ae4c2047f758560a2db870c1913
turbo-cache-controlno-preview
go-importgithub.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git
octolytics-dimension-user_id95297378
octolytics-dimension-user_logintriggerdotdev
octolytics-dimension-repository_id572570113
octolytics-dimension-repository_nwotriggerdotdev/trigger.dev
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id572570113
octolytics-dimension-repository_network_root_nwotriggerdotdev/trigger.dev
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release12fff95459b24b0f882a66698ee6a36a5934d247
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/issues/1565#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2F1565
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2F1565
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/1565
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/1565
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/1565
triggerdotdevhttps://github.com/triggerdotdev
trigger.devhttps://github.com/triggerdotdev/trigger.dev
Codehttps://github.com/triggerdotdev/trigger.dev
Issues203 (203)https://github.com/triggerdotdev/trigger.dev/issues
Pull requests67 (67)https://github.com/triggerdotdev/trigger.dev/pulls
Discussionshttps://github.com/triggerdotdev/trigger.dev/discussions
Actionshttps://github.com/triggerdotdev/trigger.dev/actions
Projectshttps://github.com/triggerdotdev/trigger.dev/projects
Security and quality39 (39)https://github.com/triggerdotdev/trigger.dev/security
Insightshttps://github.com/triggerdotdev/trigger.dev/pulse
https://github.com/triggerdotdev/trigger.dev
New issuehttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/1565
New issuehttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/1565
bug: Prisma prismaSchemaFolder extension causes trigger.dev deploy to failhttps://github.com/triggerdotdev/trigger.dev/issues/1565#top
https://github.com/RobertHH-IS
RobertHH-IShttps://github.com/RobertHH-IS
on Dec 14, 2024https://github.com/triggerdotdev/trigger.dev/issues/1565#issue-2740019164
@idhttps://github.com/id
@uniquehttps://github.com/unique
@uniquehttps://github.com/unique
https://github.com/ericallam
ericallamhttps://github.com/ericallam
on Dec 14, 2024https://github.com/triggerdotdev/trigger.dev/issues/1565#issuecomment-2543348750
@RobertHH-IShttps://github.com/RobertHH-IS
https://github.com/RobertHH-IS
RobertHH-IShttps://github.com/RobertHH-IS
on Dec 15, 2024https://github.com/triggerdotdev/trigger.dev/issues/1565#issuecomment-2543839871
https://github.com/RobertHH-IS/trigger-prismafolderhttps://github.com/RobertHH-IS/trigger-prismafolder
@idhttps://github.com/id
@defaulthttps://github.com/default
@uniquehttps://github.com/unique
https://pris.ly/d/prisma-schemahttps://pris.ly/d/prisma-schema
https://github.com/ericallam
ericallamhttps://github.com/ericallam
on Dec 15, 2024https://github.com/triggerdotdev/trigger.dev/issues/1565#issuecomment-2544074638
@RobertHH-IShttps://github.com/RobertHH-IS
https://private-user-images.githubusercontent.com/534/395897833-30ed9920-2178-4ec2-94ae-59c9897efab5.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3OTQ4MzAzNTQsIm5iZiI6MTc5NDgzMDA1NCwicGF0aCI6Ii81MzQvMzk1ODk3ODMzLTMwZWQ5OTIwLTIxNzgtNGVjMi05NGFlLTU5Yzk4OTdlZmFiNS5wbmc_WC1BbXotQWxnb3JpdGhtPUFXUzQtSE1BQy1TSEEyNTYmWC1BbXotQ3JlZGVudGlhbD1BS0lBVkNPRFlMU0E1M1BRSzRaQSUyRjIwMjYxMTE2JTJGdXMtZWFzdC0xJTJGczMlMkZhd3M0X3JlcXVlc3QmWC1BbXotRGF0ZT0yMDI2MTExNlQxMTU0MTRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT0xODc0OTQ0YTA1YmYxMTIwNTZmZjhiZGQyMjliODI3MzJjY2IyNGJkNmY0NDc2MmI3MjA5M2Q2ZDIyYWIyMTEzJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.NUgcx0b9ORu65ncKBRQCjsKIQN1cgE4BEiQijxhZk38
https://private-user-images.githubusercontent.com/534/395897916-55649bf9-1439-457b-a808-ee5e724462fb.png?jwt=eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6Imt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XVlc3QmWC1BbXotRGF0ZT0yMDI2MTExNlQxMTU0MTRaJlgtQW16LUV4cGlyZXM9MzAwJlgtQW16LVNpZ25hdHVyZT04YmQ5MTcxOTlkZDRiZWNiNGU1MzU3YTI4MThkZjNhMWZhMjY2MDk5ODYxNmUwNGIzMTJjZjM2Y2M5ZTI1OTcyJlgtQW16LVNpZ25lZEhlYWRlcnM9aG9zdCZyZXNwb25zZS1jb250ZW50LXR5cGU9aW1hZ2UlMkZwbmcifQ.orjoHwRvCvucG_g8v1l8pIQsJ5p7zXmRi6unPpx-FuM
https://github.com/RobertHH-IS
RobertHH-IShttps://github.com/RobertHH-IS
on Dec 15, 2024https://github.com/triggerdotdev/trigger.dev/issues/1565#issuecomment-2544095112
ericallamhttps://github.com/ericallam
completedhttps://github.com/triggerdotdev/trigger.dev/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on Dec 16, 2024https://github.com/triggerdotdev/trigger.dev/issues/1565#event-15670934338
Sign up for freehttps://github.com/signup?return_to=https://github.com/triggerdotdev/trigger.dev/issues/1565
Sign in to commenthttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/1565
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.