Help with React Accelerator

Hi guys, i have created the MVC app and it works flawless. But when i try to add the reactaccelerator to the backend i get this error code. I have been trying for 5 days now but but cant figure it out.

Best Regards / Ermin

Litium version: 8

npm run dev

litium-headless-accelerator@0.1.0 predev
yarn generate-possible-types

yarn run v1.22.22
warning …......\package.json: No license field
$ node scripts/generate-possible-types.js
(node:1868) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to ‘0’ makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use node --trace-warnings … to show where the warning was created)
Fragment types successfully extracted!
Done in 0.20s.

litium-headless-accelerator@0.1.0 dev
next dev

▲ Next.js 14.2.10

✓ Starting…
(node:14460) Warning: Setting the NODE_TLS_REJECT_UNAUTHORIZED environment variable to ‘0’ makes TLS connections and HTTPS requests insecure by disabling certificate verification.
(Use node --trace-warnings … to show where the warning was created)
✓ Ready in 1689ms
○ Compiling /_not-found …
Browserslist: caniuse-lite is outdated. Please run:
npx update-browserslist-db@latest
Why you should do it regularly: GitHub - browserslist/update-db: CLI tool to update caniuse-lite to refresh target browsers from Browserslist config
✓ Compiled /_not-found in 2.9s (1257 modules)
:warning: Fast Refresh had to perform a full reload due to a runtime error.
⨯ [Error] { name: undefined }
GET /_next/static/webpack/bd6601c3a83ad6ae.webpack.hot-update.json 404 in 3243ms
⨯ [Error] { name: undefined }
○ Compiling /_error …
⨯ [Error] { name: undefined }
✓ Compiled /_error in 1188ms (1062 modules)
GET / 404 in 4ms
:warning: Fast Refresh had to perform a full reload due to a runtime error.
⨯ [Error] { name: undefined }
GET /_next/static/webpack/bd6601c3a83ad6ae.webpack.hot-update.json 404 in 930ms
⨯ [Error] { name: undefined }
GET / 404 in 2ms

On the web:
1 of 1 error
Next.js (14.2.10) is outdated (learn more)

Unhandled Runtime Error
Error: {“source”:“edge-server”,“message”:“”}

Call Stack
Next.js
getProperError
node_modules\next\dist\lib\is-error.js (41:1)
error
webpack:/src/client/index.tsx

What’s the reason you need to run the Mvc and React in the same installation?

From the Get started

Note : Installation based on Litium Mvc Accelerator have conflicting fields, field templates and settings and can’t be run in the same installation without manual modification of templates to contain fields and settings for both the Mvc Accelerator and React Accelerator as well that all field template that exist for Mvc Accelerator also need to exist in React if the page should work. This setup is not recommended for easy maintenance

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.