Next.js Visual Editor not starting

So the Netlify Create Visual Editor won’t start, otherwise the website runs just fine, reading through the errors it looks like it could be a code issue, but I cant find anything, I’m running on a template and I’m not super familiar with html/css so I could just be missing something, but I haven’t changed any code (I did mess around with the main.css trying to add a font, but I reverted the changes so I don’t see how it could be an issue), just screwed with the template in the visual editor. Below is my site link and the error logs, I can send the entire log too if you need it.

onk.netlify.app
onk.one

  • error logs: (after this it just spams “TIME: [debug] [nextjs]: GET / 500 in <5-15>ms” every couple seconds or so. occasionally swapping GET with HEAD like 1 in 20/30 times)

9:24:55 AM: [debug] [nextjs]: ○ Compiling /[[…slug]] …

9:25:01 AM: [debug] [nextjs]: ⨯ ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[6].oneOf[14].use[1]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[6].oneOf[14].use[2]!./src/css/main.css

9:25:01 AM: [debug] [nextjs]: Error: Unexpected ‘/’. Escaping special characters with \ may help.

9:25:01 AM: [debug] [nextjs]: Import trace for requested module:

9:25:01 AM: [debug] [nextjs]: ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[6].oneOf[14].use[1]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[6].oneOf[14].use[2]!./src/css/main.css

9:25:01 AM: [debug] [nextjs]: ./src/css/main.css

9:25:04 AM: [debug] [nextjs]: HEAD / 500 in 9473ms

9:25:05 AM: [debug] [nextjs]: GET / 500 in 9691ms

9:25:16 AM: [debug] [nextjs]: [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename ‘/home/appuser/app/.next/cache/webpack/client-development-fallback/0.pack.gz_’ → ‘/home/appuser/app/.next/cache/webpack/client-development-fallback/0.pack.gz’

9:25:16 AM: [debug] [nextjs]: [webpack.cache.PackFileCacheStrategy] Caching failed for pack: Error: ENOENT: no such file or directory, rename ‘/home/appuser/app/.next/cache/webpack/client-development-fallback/0.pack.gz_’ → ‘/home/appuser/app/.next/cache/webpack/client-development-fallback/0.pack.gz’

9:25:19 AM: [debug] [nextjs]: ⨯ ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[6].oneOf[14].use[1]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[6].oneOf[14].use[2]!./src/css/main.css

9:25:19 AM: [debug] [nextjs]: Error: Unexpected ‘/’. Escaping special characters with \ may help.

9:25:19 AM: [debug] [nextjs]: Import trace for requested module:

9:25:19 AM: [debug] [nextjs]: ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[6].oneOf[14].use[1]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[6].oneOf[14].use[2]!./src/css/main.css

9:25:19 AM: [debug] [nextjs]: ./src/css/main.css

9:25:19 AM: [debug] [nextjs]: GET / 500 in 19396ms

9:25:22 AM: [debug] [nextjs]: GET / 500 in 12ms

9:25:24 AM: [debug] [nextjs]: GET / 500 in 9ms

9:25:27 AM: [debug] [nextjs]: GET / 500 in 11ms

9:25:30 AM: [debug] [nextjs]: GET / 500 in 8ms

9:25:33 AM: [debug] [nextjs]: GET / 500 in 10ms

9:25:36 AM: [debug] [nextjs]: GET / 500 in 14ms

9:25:39 AM: [debug] [nextjs]: HEAD / 500 in 10ms

9:25:39 AM: [debug] [nextjs]: GET / 500 in 10ms

9:25:42 AM: [debug] [nextjs]: GET / 500 in 10ms

9:25:45 AM: [debug] [nextjs]: GET / 500 in 10ms

9:25:47 AM: [debug] [nextjs]: GET / 500 in 12ms

Thanks for your patience here! Could you provide the stackbit.config.ts file for your project?