# @getflywheel/local Errors during build

**URL:** <https://community.localwp.com/t/getflywheel-local-errors-during-build/20439>\
**Category:** Local Add-ons\
**Created:** [June 24, 2020, 6:43pm UTC](https://community.localwp.com/t/getflywheel-local-errors-during-build/20439 "2020-06-24T18:43:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![brandondove](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/brandondove/32/10767_2.png) [@brandondove](https://community.localwp.com/u/brandondove)\
**Post date:** [June 24, 2020, 6:43pm UTC](https://community.localwp.com/t/getflywheel-local-errors-during-build/20439/1 "2020-06-24T18:43:17Z")

</div>

We recently built an add-on for Local for VSCode and XDebug. When including @getflywheel/local in our code, we get the following errors on build -

node\_modules/@getflywheel/local/main.d.ts:870:16 - error TS2304: Cannot find name ‘ConnectDirection’.  
870 direction: ConnectDirection,

node\_modules/@getflywheel/local/main.d.ts:871:21 - error TS2304: Cannot find name ‘FlywheelSite’.  
871 flywheelSiteID: FlywheelSite[‘id’],

node\_modules/@getflywheel/local/main.d.ts:872:18 - error TS2304: Cannot find name ‘flywheelSiteEnvironment’.  
872 environment: flywheelSiteEnvironment,

I searched through all of the included node modules (same ones as the Phpstorm + XDebug add-on that @clay made) and couldn’t find reference to ConnectDirection, FlywheelSite, or flywheelSiteEnvironment. Has anyone else run into this issue?

---

<div class="post-metadata">

**Author:** ![brandondove](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/brandondove/32/10767_2.png) [@brandondove](https://community.localwp.com/u/brandondove)\
**Post date:** [July 1, 2020, 12:38am UTC](https://community.localwp.com/t/getflywheel-local-errors-during-build/20439/2 "2020-07-01T00:38:11Z")

</div>

Looks like running `yarn upgrade` fixed the issue. The add-on is up-to-date and working fine now. Yay!
