# Error building UI

**URL:** <https://community.openems.io/t/error-building-ui/1083>\
**Category:** Software-Development\
**Created:** [September 12, 2022, 12:52pm UTC](https://community.openems.io/t/error-building-ui/1083 "2022-09-12T12:52:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![hansenelectric](https://community.openems.io/user_avatar/community.openems.io/hansenelectric/32/438_2.png) [@hansenelectric](https://community.openems.io/u/hansenelectric)\
**Post date:** [September 12, 2022, 12:52pm UTC](https://community.openems.io/t/error-building-ui/1083/1 "2022-09-12T12:52:09Z")

</div>

Hi all

After fetching the new release 2022.9.0 I can’t build the UI. I get the following error;

[error] Error: Configuration ‘edge’ is not set in the workspace.  
at Object.getOptions (C:\Users\lh\Documents\git\openems\2022.9.0\ui\node\_modules@angular-devkit\architect\node\node-modules-architect-host.js:76:31)  
at WorkspaceNodeModulesArchitectHost.getOptionsForTarget (C:\Users\lh\Documents\git\openems\2022.9.0\ui\node\_modules@angular-devkit\architect\node\node-modules-architect-host.js:162:50)  
at async BuildCommandModule.runSingleTarget (C:\Users\lh\Documents\git\openems\2022.9.0\ui\node\_modules@angular\cli\src\command-builder\architect-base-command-module.js:40:17)  
at async BuildCommandModule.run (C:\Users\lh\Documents\git\openems\2022.9.0\ui\node\_modules@angular\cli\src\command-builder\architect-command-module.js:68:27)  
at async BuildCommandModule.handler (C:\Users\lh\Documents\git\openems\2022.9.0\ui\node\_modules@angular\cli\src\command-builder\command-module.js:109:24)

Anybody know what can be wrong?

Ps. I’m doing it from VS Code and installed the newest “npm install”  
Br. Lars

---

<div class="post-metadata">

**Author:** ![stefan.feilmeier](https://community.openems.io/user_avatar/community.openems.io/stefan.feilmeier/32/2585_2.png) [@stefan.feilmeier](https://community.openems.io/u/stefan.feilmeier)\
**Post date:** [September 19, 2022, 9:33am UTC](https://community.openems.io/t/error-building-ui/1083/2 "2022-09-19T09:33:13Z")

</div>

Hi Lars,

there does not seem to be a general problem in the Release. I can build it successfully on my local machine and also the Continuous Integration builds are working properly.

Thorsten suggested in another thread to run `npm ci`. Does that help?

> [@Probleme bei 1.Installation laut "Getting Started"](https://community.openems.io/t/probleme-bei-1-installation-laut-getting-started/1061/3):
>
> Ich würde zusätzlich im Verzeichnis noch ein npm ci machen, damit wirklich alles auf dem neusten Stand ist. Wenn ich es richtig sehe, dann ist die OpenEMS Codebase in der package.json auch hinter der aktuellen version. D.h. vorher auch gern einmal ein npm update ausführen.

Regards,  
Stefan

---

<div class="post-metadata">

**Author:** ![hansenelectric](https://community.openems.io/user_avatar/community.openems.io/hansenelectric/32/438_2.png) [@hansenelectric](https://community.openems.io/u/hansenelectric)\
**Post date:** [September 25, 2022, 12:34pm UTC](https://community.openems.io/t/error-building-ui/1083/3 "2022-09-25T12:34:11Z")

</div>

Hi Stefan

I tried the npm ci however this didn’t help. It seems to be a problem with the Node.js. I’ll try to reinstall it and try again.

Br. Lars
