survey-creator icon indicating copy to clipboard operation
survey-creator copied to clipboard

Need guidance to clone the repo, as being facing the issues

Open babaralishah opened this issue 3 years ago • 10 comments

I would not call it a bug but need a little guidance...

I just want to run this repo for understanding its workflow, so the framework would doesn't matter to me. Any of these below frameworks would be accepted:

  • Angular
  • React
  • Vue

Currently when I am running it in the angular environment, on running the 'ng serve' command after the 'npm i' command I get this below error: This repo is not of angular, command should run in angular directory image image

On running in React Environment: After Npm i and npm start: I get the error: all the errors are related to the webpack versioning issues

image image image

babaralishah avatar Jun 29 '22 10:06 babaralishah

@babaralishah Our repo do not have angular code right now. You will need to compile survey-creator-core and then survey-creatir-knokout packages and use them in your angular application. We are working on Angular version, but it will take a time.

Thank you, Andrew

andrewtelnov avatar Jun 30 '22 06:06 andrewtelnov

@babaralishah Our repo does not have angular code right now. You will need to compile survey-creator-core and then survey-creator-knockout packages and use them in your angular application. We are working on the Angular version, but it will take time.

Thank you, Andrew

@andrewtelnov Thank you so much for your response, can you please tell me what steps should i follow to run this as a react project?

babaralishah avatar Jun 30 '22 10:06 babaralishah

For react project you can use packages: survey-creator-core and survey-creator-react.

Thank you, Andrew

andrewtelnov avatar Jun 30 '22 10:06 andrewtelnov

@andrewtelnov Okay! And am I supposed to use this same repo for react by adding the above-mentioned packages?

babaralishah avatar Jun 30 '22 10:06 babaralishah

All packages are located here

Thank you, Andrew

andrewtelnov avatar Jun 30 '22 10:06 andrewtelnov

You need to clone the https://github.com/surveyjs/survey-library and the https://github.com/surveyjs/survey-creator repositories side by side and then run the https://github.com/surveyjs/survey-creator/blob/master/run-dev-server-react.bat batch file

tsv2013 avatar Jun 30 '22 10:06 tsv2013

You need to clone the https://github.com/surveyjs/survey-library and the https://github.com/surveyjs/survey-creator repositories side by side and then run the https://github.com/surveyjs/survey-creator/blob/master/run-dev-server-react.bat batch file

@tsv2013 Is there some easy scenario for this? without running the two repos.

babaralishah avatar Jun 30 '22 13:06 babaralishah

You need to clone the https://github.com/surveyjs/survey-library and the https://github.com/surveyjs/survey-creator repositories side by side and then run the https://github.com/surveyjs/survey-creator/blob/master/run-dev-server-react.bat batch file

I have cloned the two Repos but unable to run them, getting error when running this command npm start image

babaralishah avatar Jun 30 '22 14:06 babaralishah

@andrewtelnov The survey-library is running fine with the react environment, but survey creator is not running in the react. i am getting the following error, can u please guide...

image

babaralishah avatar Jul 01 '22 06:07 babaralishah

@babaralishah survey-creator repo requires survey-library repo to be cloned aside. Also before the "npm start" command you almost always need to run "npm i" command. All these commands are listed in the https://github.com/surveyjs/survey-creator/blob/master/run-dev-server-react.bat file

tsv2013 avatar Jul 01 '22 10:07 tsv2013