# How to run the rest based grid widget in local

**URL:** <https://community.cumulocity.com/t/how-to-run-the-rest-based-grid-widget-in-local/7532>\
**Category:** Forum\
**Tags:** cumulocity\
**Created:** [April 25, 2023, 1:21pm UTC](https://community.cumulocity.com/t/how-to-run-the-rest-based-grid-widget-in-local/7532 "2023-04-25T13:21:03Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![kbmanojkumar](https://avatars.discourse-cdn.com/v4/letter/k/6de8d8/32.png) [@kbmanojkumar](https://community.cumulocity.com/u/kbmanojkumar)\
**Post date:** [April 25, 2023, 1:21pm UTC](https://community.cumulocity.com/t/how-to-run-the-rest-based-grid-widget-in-local/7532/1 "2023-04-25T13:21:04Z")

</div>

#### _Product/components used and version/fix level are you on:_

yes

#### _Detailed explanation of the problem:_

First i clone the grid based widget and run the command npm install after i want to run the widget I gave npm start -u “tenant url”  
but it showing this error

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/7/1/7119bc7082e151c96ebddd2d5c4bd9c023a81b50.png)

#### _Error messages / **full error** message screenshot / log fileL_

#### _Is your question related to the free trial, or to a production (customer) instance?_

production

#### _Have you installed all the latest fixes for the products and systems you are using?_

yes

---

<div class="post-metadata">

**Author:** ![Kai\_Sieben](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/kai_sieben/32/5541_2.png) [@Kai\_Sieben](https://community.cumulocity.com/u/Kai_Sieben)\
**Post date:** [April 25, 2023, 1:43pm UTC](https://community.cumulocity.com/t/how-to-run-the-rest-based-grid-widget-in-local/7532/2 "2023-04-25T13:43:06Z")

</div>

Try

```auto
npm start -- -u <<url>>

```

---

<div class="post-metadata">

**Author:** ![kbmanojkumar](https://avatars.discourse-cdn.com/v4/letter/k/6de8d8/32.png) [@kbmanojkumar](https://community.cumulocity.com/u/kbmanojkumar)\
**Post date:** [April 25, 2023, 1:45pm UTC](https://community.cumulocity.com/t/how-to-run-the-rest-based-grid-widget-in-local/7532/3 "2023-04-25T13:45:51Z")

</div>

![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/7/4/74060f7416f178e5c82764a67933d05c5e38f925.png)  
No error

---

<div class="post-metadata">

**Author:** ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)\
**Post date:** [April 25, 2023, 1:48pm UTC](https://community.cumulocity.com/t/how-to-run-the-rest-based-grid-widget-in-local/7532/4 "2023-04-25T13:48:09Z")

</div>

Can your remove the “/” in the end of your URL and try again with

```auto
npm start -u https://management.factoryvisual.eu

```

---

<div class="post-metadata">

**Author:** ![kbmanojkumar](https://avatars.discourse-cdn.com/v4/letter/k/6de8d8/32.png) [@kbmanojkumar](https://community.cumulocity.com/u/kbmanojkumar)\
**Post date:** [April 25, 2023, 1:49pm UTC](https://community.cumulocity.com/t/how-to-run-the-rest-based-grid-widget-in-local/7532/5 "2023-04-25T13:49:15Z")

</div>

> [@Stefan\_Witschel](#):
>
> `npm start -u https://management.factoryvisual.eu`

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/6/d/6de08e9d38b7f274e83358216f3836ea745d348d.png)

---

<div class="post-metadata">

**Author:** ![Stefan\_Witschel](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/stefan_witschel/32/31955_2.png) [@Stefan\_Witschel](https://community.cumulocity.com/u/Stefan_Witschel)\
**Post date:** [April 25, 2023, 2:01pm UTC](https://community.cumulocity.com/t/how-to-run-the-rest-based-grid-widget-in-local/7532/6 "2023-04-25T14:01:13Z")

</div>

Are you using this:

> **[GitHub - Cumulocity-IoT/cumulocity-rest-based-grid-widget-plugin: The Rest Based Grid Widget helps you to display...](https://github.com/Cumulocity-IoT/cumulocity-rest-based-grid-widget-plugin)**
>
> The Rest Based Grid Widget helps you to display API data in Grid view with configurable columns and headings. This widget also supports Nested lists, search and server side pagination, etc.. Created by Global Presales.

or this

> **[GitHub - Cumulocity-IoT/cumulocity-rest-based-grid-widget: The Cumulocity Rest Based Grid Widget help you to...](https://github.com/Cumulocity-IoT/cumulocity-rest-based-grid-widget)**
>
> The Cumulocity Rest Based Grid Widget help you to display API data in Grid view with configurable columns and headings. This widget also supports Nested lists, search and server side pagination, etc.. Runtime installation is available. Created by Global Presales.

I would strongly suggest to use the plugin. There `npm start -u` is working. For the second one it isn’t but just `npm start`

---

<div class="post-metadata">

**Author:** ![kbmanojkumar](https://avatars.discourse-cdn.com/v4/letter/k/6de8d8/32.png) [@kbmanojkumar](https://community.cumulocity.com/u/kbmanojkumar)\
**Post date:** [April 25, 2023, 2:51pm UTC](https://community.cumulocity.com/t/how-to-run-the-rest-based-grid-widget-in-local/7532/7 "2023-04-25T14:51:11Z")

</div>

> [@Stefan\_Witschel](#):
>
> npm start -u

Hello Now i used the first one plugin but now this issue could you please help me

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/2/8/2862bdf0cec0cc41749cdf8bd06bea22ba27d310.png)

## Text

---

<div class="post-metadata">

**Author:** ![Tristan\_Bastian](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tristan_bastian/32/18259_2.png) [@Tristan\_Bastian](https://community.cumulocity.com/u/Tristan_Bastian)\
**Post date:** [April 25, 2023, 7:13pm UTC](https://community.cumulocity.com/t/how-to-run-the-rest-based-grid-widget-in-local/7532/8 "2023-04-25T19:13:18Z")

</div>

Hi,

please try either `npm start -- -u https://<your-tenant>` or directly `c8ycli server -u https://<your-tenant>`

---

<div class="post-metadata">

**Author:** ![kbmanojkumar](https://avatars.discourse-cdn.com/v4/letter/k/6de8d8/32.png) [@kbmanojkumar](https://community.cumulocity.com/u/kbmanojkumar)\
**Post date:** [April 26, 2023, 8:16am UTC](https://community.cumulocity.com/t/how-to-run-the-rest-based-grid-widget-in-local/7532/9 "2023-04-26T08:16:25Z")

</div>

Yes, thank you; it is now operational, but there is a new issue.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/cumulocity/original/3X/4/c/4c5116a0c2290941e820f341c273a8c3985ebbf1.png)

Keep on loading …

---

<div class="post-metadata">

**Author:** ![Tristan\_Bastian](https://dub1.discourse-cdn.com/flex005/user_avatar/community.cumulocity.com/tristan_bastian/32/18259_2.png) [@Tristan\_Bastian](https://community.cumulocity.com/u/Tristan_Bastian)\
**Post date:** [April 26, 2023, 9:01am UTC](https://community.cumulocity.com/t/how-to-run-the-rest-based-grid-widget-in-local/7532/10 "2023-04-26T09:01:15Z")

</div>

Please try using `http://localhost:9000/apps/sag-ps-pkg-rest-based-grid-widget/index.html`

---

<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:** [October 23, 2023, 9:01am UTC](https://community.cumulocity.com/t/how-to-run-the-rest-based-grid-widget-in-local/7532/11 "2023-10-23T09:01:19Z")

</div>

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.
