Nextjs runtime cant opt in for V5

Hello I cant seem to opt into using the V5 runtime. I keep getting the netlify/plugin-nextjs@4.41.3: latest version is 5.3.3 warning on deploy. I have removed [[plugins]] package = “@netlify/plugin-nextjs” from my netlify.toml. Im using next 14.2.4 and node 20.

I cant see anything my deploys tab to opt in. Is there a way to force it to run on v5?

You should be able to specify v5 in your package.json like so:

"dependencies": {
    "@netlify/plugin-nextjs": "5.3.3"

Can you give that a try and let me know if you’re successful?

@sid.mann I have that in my package.json, and it seems to get ignored on build.

I’ve replied to your ticket in the helpdesk.

I replied to your message @hrishikesh

With help from helpdesk I was able to resolve this issue.

Changing the base directory, and reselecting next as runtime environment fixed my issue

Hi @Graemec23,

Thanks for updating the thread and letting us know how you resolved the issue.