surveyjs / survey-library

Free JavaScript form builder library with integration for React, Angular, Vue, jQuery, and Knockout.
https://surveyjs.io/form-library
MIT License
4.18k stars 808 forks source link

component survey is already registered #1833

Closed dan8901 closed 4 years ago

dan8901 commented 5 years ago

Are you requesting a feature, reporting a bug or asking a question?

Reporting a bug.

What is the current behavior?

I am trying to use the react quickstart boilerplate code, but to build survey-creator and survey-library from source. What I have done is forked the two repos, I haven't changed them, and I haven't changed the quickstart code either, I just added a prepare script in each package.json which runs the build scripts. So in the quickstart package.json dependencies instead of depending on the prebuilt code, it depends on the forked repos. When I do this with survey creator everything works as usual. However when I do it with survey library as well, I receive: "Error: Component survey is already registered". I have been stuck trying to fix this for a couple of days now, what is the fix? Thanks alot. Dan

Screenshot from 2019-09-18 15-08-19

What is the expected behavior?

How would you reproduce the current behavior (if this is a bug)?

Provide the test code and the tested page URL (if applicable)

Tested page URL:

Test code

your_code_here

Specify your

tsv2013 commented 5 years ago

You've loaded survey-knockout on a web page twice

senter-logistics commented 3 years ago

Happening on react's example Link

dmitry-kurmanov commented 3 years ago

Hello,

I've opened the link and didn't see such an error message in the developer console or somewhere else. It looks ok to me. Could you please specify your problems in greater detail?

Thanks, Dmitry SurveyJS Team