Prismic api-renderer requires node 20

Hello,

I am trying to upgrade our slicemachine from v2.2.1 to v2.3.0 but encountered some issues upon installing the latest packages.

Based on the error message, it looks like the @prismicio/api-renderer@3.2.1 requires Node 20.

For some reason, we have to use Node 18 for now. What other options do we have aside from not updating the slicemachine?

Thanks

Hey @n.belandres
Thanks for submitting this issue. Indeed that's a good catch. We're currently fixing it. I'll come back here when it's done.

Best,

Côme

Hey @n.belandres , a fix has been deployed. You would only need to install the @latest version of slicemachine.

Thank you @come.sabran, tried to upgrade just now, but still got the error. Also tried fresh package install my removing my lock file but issue still persist. Looks like the package still using the api-render v.3.2.1.

Did you delete your node_modules folder?

yes tried it also, but still no luck.

In case it helps, this is the the api-renderer details in my lock file that is working fine

OK, the team is investigating

1 Like

Hi,

Can you delete your node_modules folder, also if necessary your lock file and retry?
We released a new internal version of the package that may have fixed your bug.

Thanks

It is now working fine. Thanks you

2 Likes