02-26-2022 20:53
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-26-2022 20:53
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I am trying to test out the new 6.0 weather API found here: https://dev.fitbit.com/build/reference/companion-api/weather/
But when I try to build, I'm getting the following error:
TypeError: Cannot create property 'code' on boolean 'true'
- Details: watchFiles: /project/app/index.js,/project/common/utils.js
It seems someone else is having a similar issue when pulling a 'working' github repo.
Might be something broke on a new update?
02-26-2022 20:56
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-26-2022 20:56
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
I'm wondering if this is an issue with the companion as I am able to get the HRM working

02-26-2022 21:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


02-26-2022 21:16
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Are you sure the repo you're trying to build is up-to-date and complete?
Gondwana Software

02-26-2022 21:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-26-2022 21:19
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Hello. I'm not trying to build an existing repo. I created a new project and was copy/pasting code directly from the docs to check responses before implementing something. Nothing custom out of the box.

02-26-2022 21:57
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


02-26-2022 21:57
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Sorry; I was thrown by the 'project/common/utils.js' message in the original post.
Gondwana Software

02-26-2022 22:05
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-26-2022 22:05
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Ah, no worries! Yeah a bit confusing especially since the utils only contains what was already there when I created the project..

02-27-2022 00:41
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post


02-28-2022 17:37
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post

02-28-2022 17:37
- Mark as New
- Bookmark
- Subscribe
- Permalink
- Report this post
Turns out this is happening with any code that I'm writing. I had some code work, but moved to another file for organization, and now all of a sudden I'm getting the same error. I'm not quite sure this looks like my fault. It's bizarre that I'm not hearing more about other people with issues.

