Closed tbdteam closed 5 years ago
It looks like survey-knockout library has been loaded twice. You can set a break point at the component registration ("survey.ko.js:6958") or in the start of the "survey.ko.js" file and find what causes the multiple loading of the "survey.ko.js" file.
I've got the same from 1.0.44 to 1.0.46. I am using npm, not building from source.
For me, the above error is fixed after I ran "npm outdated" and update those identified to the "Wanted" version. Hope this help.
I got this error knockout-latest.js:90 Uncaught Error: Component survey is already registered
after updated the survey-knockout
version to 1.8.11
same issue here
Are you requesting a feature, reporting a bug or asking a question?
I'm asking a question.
What is the current behavior?
I'm currently using Angular 6.1.1 with SurveyJS version 1.0.37. I am trying to update to version 1.0.39 (to apply the bug fixed). There was no error in the "ng serve", but the application didn't run and show this error:
. Can you please guide me how can I resolve this error?
Edited: I found that if I removed everything below "import" section until "@Component({" (of the code below), the application loaded without error.
Provide the test code and the tested page URL (if applicable)
This is how I use the SurveyEditor:
This is my package.json before update
This is my package.json after update
Specify your