Hi ser, thanks for the help! Got one question, when will this version can publish inside netlify plugins ?
Or I just need to do the settings inside my project manually ?
I’ve just now tried with a brand new site created solely for this testing purpose: Create Next App (62b8aaea17631275e598e6a0–testing-ipx-22-6-2022.netlify.app)
The issue is still the same unfortunately, this time using the plugin version 4.9.3 and building from cli with command netlify deploy --build --prod
The contents of my netlify.toml file are as follows:
Your error is not related to the problem that occurred a few days back. That was about an upstream dependency and your problem is the one that;s being discussed in this thread. You actually have a solution - deploy via Git or from a Linux-based machine.
@fool@hrishikesh this is still not resolved with @netlify/plugin-nextjs@4.41.3 when using "type": "module" (ESM) with Next.js projects, users talking about that over here:
Opt-in the Next.js Runtime v5 (@netlify/plugin-nextjs@5.0.0-rc.4) resolved the issue.
Re-deploying your Next.js application on Netlify
Opt-In to Next.js Runtime v5
After the re-deployment, navigate to the Deploys Section on Netlify
Look for the Opt-In button related to Next.js Runtime v5 and click it
During the deployment, you may encounter a warning about outdated plugins
1:56:31 PM: ❯ Outdated plugins
1:56:31 PM: - @netlify/plugin-nextjs@4.41.3: latest version is 5.0.0-rc.4
1:56:31 PM: To upgrade this plugin, please uninstall and re-install it from the Netlify plugins directory (https://app.netlify.com/plugins)
Remove and re-add Next.js Runtime under site configuration → Build & deploy → Build settings → Configure → Remove (next to Next.js) → Save → Configure → Select → Next.js
Trigger another re-deployment and the @netlify/plugin-nextjs@5.0.0-rc.4 was added