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

failed build after updating to next 13.5.1 #83

Closed
loudmu opened this issue Sep 20, 2023 · 8 comments
Closed

failed build after updating to next 13.5.1 #83

loudmu opened this issue Sep 20, 2023 · 8 comments
Labels
bug Something isn't working

Comments

@loudmu
Copy link

loudmu commented Sep 20, 2023

No description provided.

@loudmu loudmu added the bug Something isn't working label Sep 20, 2023
@github-actions
Copy link

This issue has been labeled as a bug since it was created using the 🚨 Bug Report Template.

Hi there, thank you so much for the report!

Following our Maintenance Process, we will review your bug report and get back to you next Wednesday. To ensure a smooth review of your issue and avoid unnecessary delays, please make sure your issue includes the following:

  • Information about your environment and packages you use (Node.js version, package names and their versions, etc.)
    Feel free to attach a copy of your package.json file.
  • Any troubleshooting steps you already went through
  • A minimal reproduction of the issue, and/or instructions on how to reproduce it

If you have identified the cause of the bug described in your report and know how to fix it, you're more than welcome to open a pull request address it. Check out our quick start guide for a simple contribution process.

If you think your issue is a question (not a bug) and would like quicker support, please close this issue and forward it to an appropriate section on our community forum: https://community.prismic.io

- The Prismic Open-Source Team

@angeloashmore
Copy link
Member

Hi @loudmu, could you share details about the failed build? What error are you seeing?

@angeloashmore
Copy link
Member

Duplicate of #84.

@loudmu
Copy link
Author

loudmu commented Sep 22, 2023

I updated to @prismicio/next": "^1.3.5" and I still have the same failed build problem. when remove Preview/route.ts and exit-preview./route the build works .

package.txt
prismic build.txt

@jere-co
Copy link

jere-co commented Sep 25, 2023

I updated to @prismicio/next": "^1.3.5" and I still have the same failed build problem. when remove Preview/route.ts and exit-preview./route the build works .

package.txt prismic build.txt

Make sure to return:

-  await redirectToPreviewURL({ client, request });
+  return await redirectToPreviewURL({ client, request });

@loudmu
Copy link
Author

loudmu commented Sep 25, 2023

the problem occurs only in windows10 environment . I moved my dev environment to Ubuntu and everything works perfectly.

@angeloashmore
Copy link
Member

@loudmu Could you confirm that you have the latest @prismicio/next by deleting your node_modules folder and re-installing?

@loudmu
Copy link
Author

loudmu commented Sep 25, 2023

problem solved after updating to next 13.5.3!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants