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

Fix nextjs-keystone example deploy to Vercel #8454

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

borisno2
Copy link
Member

@borisno2 borisno2 commented Apr 4, 2023

Fixes #8430

The Deploy to Vercel button for the nextjs-keystone example just clones that one folder and therefore when deployed does not have access to files outside that directory. To simplify the solution this PR just sets the prismaClientPath in the config directly instead of importing example-utils.ts

@changeset-bot
Copy link

changeset-bot bot commented Apr 4, 2023

⚠️ No Changeset found

Latest commit: 4332f65

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@codesandbox-ci
Copy link

codesandbox-ci bot commented Apr 4, 2023

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 4332f65:

Sandbox Source
@keystone-6/sandbox Configuration

@dcousens dcousens changed the title Fix nextjs-keystone Deploy to Vercel Fix nextjs-keystone deploy to Vercel Apr 4, 2023
@dcousens dcousens enabled auto-merge (squash) April 4, 2023 23:57
@dcousens dcousens disabled auto-merge April 4, 2023 23:58
@dcousens dcousens enabled auto-merge (squash) April 4, 2023 23:58
@dcousens dcousens changed the title Fix nextjs-keystone deploy to Vercel Fix nextjs-keystone example deploy to Vercel Apr 4, 2023
@dcousens dcousens disabled auto-merge April 4, 2023 23:58
@dcousens dcousens enabled auto-merge (squash) April 4, 2023 23:58
@dcousens dcousens merged commit 600d8cb into main Apr 4, 2023
@dcousens dcousens deleted the fix-nextjs-keystone-vercel branch April 4, 2023 23:58
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

Successfully merging this pull request may close these issues.

nextjs example build error when deploying to Vercel
2 participants