Question T20104
Visible to All Users

Page Crashes on "Loading Survey"

created 3 months ago

Hi I have a multi page application. I am using React 18 with the following

Code
"survey-core": "^1.9.33", "survey-react": "^1.9.66", "survey-react-ui": "^1.9.33", "surveyjs-widgets": "^1.9.34",

I am using vite for bundling the react app.

It works fine on my localhost version but when I deploy it on a server the survey crashes. The rest of the website works perfectly only the surveyJS part crashes and the whole website becomes unresponsive. It gives a "Page not Responding error"

Can you provide any guidance on this?

Answers approved by surveyjs Support

created 3 months ago

Hello,
Unfortunately, you're using incompatible versions of SurveyJS packages.
The version of all SurveyJS libraries should be the same.
Also, the survey-react package is outdated. Please update your package list and remove the survey-react package. For best results, consider upgrading your SurveyJS Form Library to the most recent version (v1.12.4).

JSON
"survey-core": "1.12.4", "survey-react-ui": "1.12.4", "surveyjs-widgets": "1.12.4",

For more information on how to integrate a form library within a React application, please visit React Form Library.

Let me know if you require further assistance.