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

How to run the surveyjs-creator repo

Open babaralishah opened this issue 3 years ago • 9 comments

hi all can anyone please guide me about the surveyjs creator repo, how can i run this on my system locally.

i am trying to run this on the react environment

i have installed the node modules then i ran the command npm start but gives me this error:

image

Please help me out, it will be a great favor to me

regards babar ali shah

babaralishah avatar Jul 01 '22 06:07 babaralishah

@babaralishah You should go to survey-creator/packages/survey-creator-react/

Thank you, Andrew

andrewtelnov avatar Jul 01 '22 07:07 andrewtelnov

@andrewtelnov Alright, Andrew! As you said. Lemme do that... Thank you!

babaralishah avatar Jul 01 '22 07:07 babaralishah

@andrewtelnov i have installed the node mudules, now I am getting this while running npm start

image

babaralishah avatar Jul 01 '22 07:07 babaralishah

On installing npm install -g webpack-dev-server i am getting this

image

babaralishah avatar Jul 01 '22 07:07 babaralishah

image

babaralishah avatar Jul 01 '22 07:07 babaralishah

@andrewtelnov I've gone to survey-creator/packages/survey-creator-vue/ and run it, it stuck there vue-err

err

Saqib-Sattar avatar Jul 01 '22 07:07 Saqib-Sattar

@babaralishah As @tsv2013 wrote in another your ticket you will need to clone survey-library and survey-creator into the same directory. Then go to survey-library and in console run: npm install npm run build_core npm run build_react_ui After that go to survey-creator/package/survey-creator-core and run: npm install npm run build After that you can go into survey-creator/package/survey-creator-react and run: npm install npm run build npm run start

Thank you, Andrew

andrewtelnov avatar Jul 01 '22 10:07 andrewtelnov

We haven't implemented survey-creator-vue, it's just a stub @Saqib-Sattar

tsv2013 avatar Jul 01 '22 10:07 tsv2013

@babaralishah As @tsv2013 wrote in another your ticket you will need to clone survey-library and survey-creator into the same directory. Then go to survey-library and in console run: npm install npm run build_core npm run build_react_ui After that go to survey-creator/package/survey-creator-core and run: npm install npm run build After that you can go into survey-creator/package/survey-creator-react and run: npm install npm run build npm run start

Thank you, Andrew

@andrewtelnov firstly, I go to survey-library and then run all the commands that you've written here and it's working fine, after that, I go to survey-creator/package/survey-creator-core and run the commands that you've mentioned above but when I go into survey-creator/package/survey-creator-react and run the command npm run build, it throws me this error error

Saqib-Sattar avatar Jul 01 '22 12:07 Saqib-Sattar