surveyjs / surveyjs_react_quickstart

SurveyJS + React Quickstart Template
http://surveyjs.io
138 stars 73 forks source link

TypeError: Cannot read property 'subscribe' of undefined #10

Open nirajkaushal opened 5 years ago

nirajkaushal commented 5 years ago

Note: I want to implement SurveyJS Builder in my React project.

I am getting errors while running this demo. I followed steps mentions here but unfortunately, it's not working in my setup.

surveyjs-error

Any idea how to solve this issue??

tsv2013 commented 5 years ago

Probably you need to add the knockout js library. SurveyJS Creator (ex-Builder) depends on the survey-knockout library. You can reference this file for more details - https://github.com/surveyjs/surveyjs_react_quickstart/blob/master/src/SurveyCreator.js