#Sanity Next js blog error: Attempted import error: './index.cjs'
1 messages · Page 1 of 1 (latest)
Does this project have sanity studio embedded in a Nextjs project?
yeah
Have you double checked your version of node locally vs the version that is run when its deployed?
It's the same version node 18x. on both servers.
I'm also getting this same warning on the local env too. But it runs the build command successfully and everything works fine.