Comments (7)
Hey @elliottsj - thanks for raising this.
We've seen a few issues with Next 13.5+ and our runtime which we're trying to sort out.
Once this PR is merged and released, can you try building again?
Also, we're working on some major improvements to the runtime which should make future Next.js version support on Netlify much better. ππ»
from next-runtime.
The team at Netlify have now released the new v5
Next.js runtime which has support for both pages and app router, on-demand and time-based revalidation, automatic fine-grained cache control, and automatic image optimization using Netlify's image CDN.
You can find the documentation and additional information on the new runtime here:Β Next.js on Netlify
TheΒ v4
Β runtime is now in the maintenance support phase with no new features being added. Occasional bug fixes and security patches will be applied when needed.
Thanks!
from next-runtime.
Related: #1834
I have tried with and without public-hoist-pattern[] = follow-redirects
in .npmrc
, and the same result occurs.
from next-runtime.
This issue affects Next.js 13.4 as well.
Commit: elliottsj/nextjs-netlify-follow-redirects-issue@669b8ad
Deploy job: https://github.com/elliottsj/nextjs-netlify-follow-redirects-issue/actions/runs/6477034686/job/17586616872
Site URL: https://6526020579509c6f02acbbc9--nextjs-follow-redirects-docs.netlify.app
Update: deployed again here, with logs showing the version number:
Commit: elliottsj/nextjs-netlify-follow-redirects-issue@0c5bdd5
Deploy job: https://github.com/elliottsj/nextjs-netlify-follow-redirects-issue/actions/runs/6600138361/job/17929857387
Site URL: https://653458ab9c63b34d3835ac3d--nextjs-follow-redirects-docs.netlify.app
from next-runtime.
Tried downgrading to netlify-cli@^15.11.0
. Same result:
Commit: elliottsj/nextjs-netlify-follow-redirects-issue@8bded9d
Deploy job: https://github.com/elliottsj/nextjs-netlify-follow-redirects-issue/actions/runs/6721993516/job/18268962647
Site URL: https://65427638489c30182dc810ad--nextjs-follow-redirects-docs.netlify.app
from next-runtime.
Hey @elliottsj - thanks for raising this. We've seen a few issues with Next 13.5+ and our runtime which we're trying to sort out. Once this PR is merged and released, can you try building again?
Also, we're working on some major improvements to the runtime which should make future Next.js version support on Netlify much better. ππ»
Hi @MarcL, #2313 has been merged. But the Runtime.ImportModule error still persists in my project. I'm using [email protected]
from next-runtime.
Ayy! Great work! π
from next-runtime.
Related Issues (20)
- [Bug]: API Routes return 502 due to Headers reference error HOT 1
- [Bug]: @netlify/plugin-nextjs is messing up everything HOT 2
- [Bug]: ENOENT internal error with monorepo setup HOT 7
- [Bug]: Plugin "@netlify/plugin-nextjs" internal error: ENOENT: no such file or directory with runtime 5.0.0-beta.7 HOT 9
- [Bug]: Issue with data revalidation after new build HOT 3
- [Bug]: NETLIFY_NEXT_PLUGIN_SKIP no longer works in v5 HOT 7
- Nonce not automatically set in script tags when using CSP
- Middleware on sites with i18n cannot rewrite to static files
- Middleware should not add trailing slashes to non-data requests in static dir
- Pages router middleware should return 302 status for redirected data requests
- Server error pages return encoded data without `content-encoding` header if `accept-encoding` is `gzip`
- Fetch action prefetch cache test failing
- Appending `set-cookie` header in middleware leads to duplicate header
- Pages router data requests returning 404 when middleware is used
- Middleware does not match when using basePath and default locale
- Middleware matching is too broad when using i18n
- Does not correctly handle user middleware that redirects to path with canonical locale casing when app enables `skipMiddlewareUrlNormalize` and path contains locale slug with non-canonical casing
- 5.3.3 build error HOT 5
- cancel
- Local builds: `netlify build` followed by `netlify deploy` doesn't work with Next.js sites HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. πππ
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google β€οΈ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next-runtime.