# Using new c8ycli to build legacy AngularJS application

**URL:** <https://community.cumulocity.com/t/using-new-c8ycli-to-build-legacy-angularjs-application/3213>\
**Category:** Forum\
**Tags:** cumulocity\
**Created:** [July 24, 2019, 8:42am UTC](https://community.cumulocity.com/t/using-new-c8ycli-to-build-legacy-angularjs-application/3213 "2019-07-24T08:42:26Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Nico\_Franzeck](https://avatars.discourse-cdn.com/v4/letter/n/b4bc9f/32.png) [@Nico\_Franzeck](https://community.cumulocity.com/u/Nico_Franzeck)\
**Post date:** [July 24, 2019, 8:42am UTC](https://community.cumulocity.com/t/using-new-c8ycli-to-build-legacy-angularjs-application/3213/1 "2019-07-24T08:42:26Z")

</div>

Hi there,

is there a way to use the new cli tool to build a legacy AngularJS application?  
I’ve tried to do it with the command “c8ycli build ./cumulocity.json” and it already starts building the application, but then I got the error:

“ERROR in Entry module not found: Error: Can’t resolve ‘@c8y/cli/dist/app-bootstrap’ in”

The defined cumulocity.json is the application manifest of the “old” project structure with all plugin imports. The plugins itself are in the folder plugins with their plugin manifest as described here:

[https://cumulocity.com/guides/web/web-sdk-for-plugins/#concepts](https://cumulocity.com/guides/web/web-sdk-for-plugins/#concepts)

It’s not about building a hybrid application, it is still a pure AngularJS application, but I would love to use ES6 Support with import an export dependencies in our legacy application.

Best regards,  
Nico

---

<div class="post-metadata">

**Author:** ![Michael\_Welsing](https://avatars.discourse-cdn.com/v4/letter/m/3e96dc/32.png) [@Michael\_Welsing](https://community.cumulocity.com/u/Michael_Welsing)\
**Post date:** [September 9, 2019, 1:55pm UTC](https://community.cumulocity.com/t/using-new-c8ycli-to-build-legacy-angularjs-application/3213/2 "2019-09-09T13:55:12Z")

</div>

Hi Nico,

can you provide us the source code of your app and let us know on which tenant you are doing this?

best regards  
Michael

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/system/32/31990_2.png) [@system](https://community.cumulocity.com/u/system)\
**Post date:** [April 2, 2021, 3:43pm UTC](https://community.cumulocity.com/t/using-new-c8ycli-to-build-legacy-angularjs-application/3213/3 "2021-04-02T15:43:11Z")

</div>

Closed on April 2, 2021, 3:43pm UTC


