# Error when trying to update to Forge CLI 1.30

**URL:** <https://community.developer.atlassian.com/t/error-when-trying-to-update-to-forge-cli-1-30/46720>\
**Category:** Forge\
**Tags:** forge-cli\
**Created:** [April 1, 2021, 9:47am UTC](https://community.developer.atlassian.com/t/error-when-trying-to-update-to-forge-cli-1-30/46720 "2021-04-01T09:47:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![tien.dang](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/tien.dang/32/37480_2.png) [@tien.dang](https://community.developer.atlassian.com/u/tien.dang)\
**Post date:** [April 1, 2021, 9:47am UTC](https://community.developer.atlassian.com/t/error-when-trying-to-update-to-forge-cli-1-30/46720/1 "2021-04-01T09:47:05Z")

</div>

Hi,  
I try to deploy my forge app and got this error.

 ![Screen Shot 2021-04-01 at 16.50.15](https://global.discourse-cdn.com/atlassiandeveloper/original/3X/a/a/aa95535bc0b6faf206eb7249e9e2bfa1fb5d4e86.png)

Then try to upgrade new forge-cli version, but I got another error

 ![image](https://global.discourse-cdn.com/atlassiandeveloper/original/3X/e/8/e8319ed0bc99c8c277a3b338b4a4527cf15425c4.png)

Follow this post, [Error when trying to update to Forge CLI 1.2.0](https://community.developer.atlassian.com/t/error-when-trying-to-update-to-forge-cli-1-2-0/46411)

I tried to reinstall the node by homebrew and install forge-cli again, but it still didn’t work.

Looking forward to your help.  
Cheer,

---

<div class="post-metadata">

**Author:** ![tien.dang](https://sea1.discourse-cdn.com/atlassiandeveloper/user_avatar/community.developer.atlassian.com/tien.dang/32/37480_2.png) [@tien.dang](https://community.developer.atlassian.com/u/tien.dang)\
**Post date:** [April 1, 2021, 10:24am UTC](https://community.developer.atlassian.com/t/error-when-trying-to-update-to-forge-cli-1-30/46720/2 "2021-04-01T10:24:37Z")

</div>

I fixed the problem by the way: delete the old forge-cli, and try to install it again

```auto
npm uninstall -g @forge/cli
npm install -g @forge/cli

```

Cheer,

---

<div class="post-metadata">

**Author:** ![anon21029823](https://avatars.discourse-cdn.com/v4/letter/a/7ea924/32.png) [@anon21029823](https://community.developer.atlassian.com/u/anon21029823)\
**Post date:** [April 1, 2021, 12:47pm UTC](https://community.developer.atlassian.com/t/error-when-trying-to-update-to-forge-cli-1-30/46720/3 "2021-04-01T12:47:21Z")

</div>

Thanks for sharing @tien.dang ! In that case it would be cool to mark your own answer as the solution. 🙂

Cheers,  
Sven
