# First time setup issue

**URL:** <https://jsonforms.discourse.group/t/first-time-setup-issue/229>\
**Category:** General\
**Created:** [June 23, 2020, 8:50pm UTC](https://jsonforms.discourse.group/t/first-time-setup-issue/229 "2020-06-23T20:50:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![discobot](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/discobot/32/3_2.png) [@discobot](https://jsonforms.discourse.group/u/discobot)\
**Post date:** [June 23, 2020, 8:50pm UTC](https://jsonforms.discourse.group/t/first-time-setup-issue/229/1 "2020-06-23T20:50:13Z")

</div>

Hello All, I am new to json forms and trying to do initial setup. I have downloaded Jsonforms-master and performed the steps as given but the npm run build is throwing errors. The following is the error I am getting each time I try to build it. Any suggestions on how to resolve it.

lerna notice cli v3.22.1  
lerna info Executing command in 9 packages: “npm run build”  
lerna ERR! npm run build exited 1 in ‘@jsonforms/core’  
lerna ERR! npm run build stdout:

lerna ERR! npm run build stderr:  
‘…’ is not recognized as an internal or external command,  
operable program or batch file.  
npm ERR! code ELIFECYCLE  
npm ERR! errno 1  
npm ERR! @jsonforms/core@2.4.1-alpha.0 build: `…/…/node_modules/.bin/tsc`  
npm ERR! Exit status 1  
npm ERR!  
npm ERR! Failed at the @jsonforms/core@2.4.1-alpha.0 build script.  
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

lerna ERR! npm run build exited 1 in ‘@jsonforms/core’  
npm ERR! code ELIFECYCLE  
npm ERR! errno 1  
npm ERR! jsonforms-monorepo@ build: `lerna run build && lerna run doc`  
npm ERR! Exit status 1  
npm ERR!  
npm ERR! Failed at the jsonforms-monorepo@ build script.  
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

_[[original thread](https://spectrum.chat/jsonforms/general/first-time-setup-issue~8c74d33b-4a9f-4d1a-9438-bf0647b44265) by Narayan2627]_

---

<div class="post-metadata">

**Author:** ![discobot](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/discobot/32/3_2.png) [@discobot](https://jsonforms.discourse.group/u/discobot)\
**Post date:** [June 24, 2020, 7:02am UTC](https://jsonforms.discourse.group/t/first-time-setup-issue/229/2 "2020-06-24T07:02:32Z")

</div>

_[Roberto Polli]_

Did you try to run [GitHub - eclipsesource/jsonforms-react-seed: React-based JSON Forms Seed App](https://github.com/eclipsesource/jsonforms-react-seed) ← this app?

---

<div class="post-metadata">

**Author:** ![sdirix](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/sdirix/32/1073_2.png) [@sdirix](https://jsonforms.discourse.group/u/sdirix)\
**Post date:** [June 24, 2020, 8:28am UTC](https://jsonforms.discourse.group/t/first-time-setup-issue/229/3 "2020-06-24T08:28:53Z")

</div>

Hi @narayan2627, the [jsonforms repository](https://github.com/eclipsesource/jsonforms) is for developing on JSON Forms itself. Using `npm ci && npm run init && npm run build` should do the trick. Maybe you need to switch to a more recent node to build successfully.

When you only want to consume JSON Forms then you can follow [this tutorial](https://jsonforms.io/docs/tutorial)

---

<div class="post-metadata">

**Author:** ![discobot](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/discobot/32/3_2.png) [@discobot](https://jsonforms.discourse.group/u/discobot)\
**Post date:** [June 24, 2020, 1:48pm UTC](https://jsonforms.discourse.group/t/first-time-setup-issue/229/4 "2020-06-24T13:48:22Z")

</div>

_[Narayan2627]_

HI @sdirix I have already followed the same steps but still not able to build it. My node version is v12.18.0 and npm version is 6.14.4. Please suggest me if I am doing anything wrong here. And let me know if there is any specific version that I need to use for node.

---

<div class="post-metadata">

**Author:** ![discobot](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/discobot/32/3_2.png) [@discobot](https://jsonforms.discourse.group/u/discobot)\
**Post date:** [June 24, 2020, 1:50pm UTC](https://jsonforms.discourse.group/t/first-time-setup-issue/229/5 "2020-06-24T13:50:12Z")

</div>

_[Narayan2627]_

Hi @ioggstream I am successfully able to run the seed app but I am trying to build and develop the Jsonforms itself.

---

<div class="post-metadata">

**Author:** ![discobot](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/discobot/32/3_2.png) [@discobot](https://jsonforms.discourse.group/u/discobot)\
**Post date:** [June 24, 2020, 8:12pm UTC](https://jsonforms.discourse.group/t/first-time-setup-issue/229/6 "2020-06-24T20:12:13Z")

</div>

_[Narayan2627]_

Found out that the latest code is using node.js version 9.11.2 and npm version 6.4.1. I tried using the same and performed npm ci && npm run init && npm run build. Still I see the same error that I mentioned in the post. Got stuck and I am at dead end. Looking for a solution to this.

---

<div class="post-metadata">

**Author:** ![sdirix](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/sdirix/32/1073_2.png) [@sdirix](https://jsonforms.discourse.group/u/sdirix)\
**Post date:** [June 25, 2020, 6:00am UTC](https://jsonforms.discourse.group/t/first-time-setup-issue/229/7 "2020-06-25T06:00:16Z")

</div>

@narayan2627 Are you on Mac/Linux? Sadly our build setup doesn’t work on Windows, see [#752](https://github.com/eclipsesource/jsonforms/issues/752). You could locally edit all the unix-style paths to Windows ones, however I don’t know whether that is enough to get the build running.

---

<div class="post-metadata">

**Author:** ![discobot](https://yyz2.discourse-cdn.com/free1/user_avatar/jsonforms.discourse.group/discobot/32/3_2.png) [@discobot](https://jsonforms.discourse.group/u/discobot)\
**Post date:** [June 25, 2020, 4:34pm UTC](https://jsonforms.discourse.group/t/first-time-setup-issue/229/8 "2020-06-25T16:34:53Z")

</div>

_[Narayan2627]_

@sdirix Unfortunately I am on Windows 10. I will look into the link and see to fix it. Thanks for the Input.
