From 55ab6ad41c543da33bd569a585af0fa3b348cc5a Mon Sep 17 00:00:00 2001 From: Christopher Van <203725+cvan@users.noreply.github.com> Date: Wed, 6 Dec 2023 00:06:14 -0800 Subject: [PATCH] fix Netlify bug with "styled-jsx" SSR upon clicking on horizontal carousel anchor link Runtime.ImportModuleError - Error: Cannot find module 'styled-jsx/style' upgrade Next.js to latest (v14) per https://answers.netlify.com/t/error-cannot-find-module-styled-jsx-style/104563/11 tracked here also: https://github.com/netlify/next-runtime/issues/2330 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 735fc5e..0d1aa22 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "@mdx-js/react": "^3.0.0", "@next/mdx": "^14.0.3", "lottie-react": "^2.4.0", - "next": "13.5.6", + "next": "14.0.3", "react": "18.2.0", "react-dom": "18.2.0", "styletron-engine-atomic": "^1.6.2",