# Viewing build errors for coded components

**URL:** <https://community.weweb.io/t/viewing-build-errors-for-coded-components/20866>\
**Category:** Developer corner\
**Created:** [March 5, 2026, 9:55pm UTC](https://community.weweb.io/t/viewing-build-errors-for-coded-components/20866 "2026-03-05T21:55:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![SteveW](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@SteveW](https://community.weweb.io/u/SteveW)\
**Post date:** [March 5, 2026, 9:55pm UTC](https://community.weweb.io/t/viewing-build-errors-for-coded-components/20866/1 "2026-03-05T21:55:04Z")

</div>

I am trying to integrate a 3rd party component (Syncfusion Datagrid) by building my own coded component.

I am using VSCode and the component builds successfully if I run “npm run build” it builds successfully but when I commit the changes to Github and WeWeb detects the changes it fails at the building stage and I just see a red line with no error text in it.

Struggling to understand what the build error is if anyone can suggest any troubleshooting steps?

---

<div class="post-metadata">

**Author:** ![Joyce](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/joyce/32/13232_2.png) [@Joyce](https://community.weweb.io/u/Joyce)\
**Post date:** [March 6, 2026, 11:01pm UTC](https://community.weweb.io/t/viewing-build-errors-for-coded-components/20866/2 "2026-03-06T23:01:27Z")

</div>

Hi @SteveW 👋

There are five steps to building a coded component in WeWeb:

1. write code in your preferred code editor (e.g. VSCode), following the structure of a WeWeb component as described in our developer documentation
2. test the coded component in the development environment of the WeWeb editor to ensure it works as you intend
3. push the code of the component to a GitHub repo
4. import the component from GitHub to your WeWeb workspace
5. in a WeWeb project, go to the “Coded” tab in the “Add” menu to drag and drop the component on a page

Is that what you’re doing? From your message, I get the impression you may be missing a step and not importing the GitHub component into WeWeb. If that’s the case, I can recommend [this video](https://youtu.be/s9HwpkSKONM) to walk you through the entire process. It uses Claude Code but the same logic applies.

> [@SteveW](#):
>
> I am using VSCode and the component builds successfully if I run “npm run build” it builds successfully

Does this mean that you can see your component in the WeWeb editor in Development mode?

 ![CleanShot 2026-03-06 at 23.52.30@2x](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/c/ca6d8b2770aaed66cd1499f5ae83836cdab46d24.png)

> [@SteveW](#):
>
> but when I commit the changes to Github and WeWeb detects the changes it fails at the building stage and I just see a red line with no error text in it.

What do you mean by this? Are you still in Development inside the WeWeb editor or have you committed to GitHub and then imported the component from GitHub to WeWeb?

 ![CleanShot 2026-03-06 at 23.54.10@2x](https://us1.discourse-cdn.com/flex016/uploads/weweb/original/2X/e/e0bca0e82c9b40385cf8d6ab598931d5a2aaf27e.png)

---

<div class="post-metadata">

**Author:** ![Profound5753](https://sea2.discourse-cdn.com/flex016/user_avatar/community.weweb.io/profound5753/32/6870_2.png) [@Profound5753](https://community.weweb.io/u/Profound5753)\
**Post date:** [March 11, 2026, 10:11pm UTC](https://community.weweb.io/t/viewing-build-errors-for-coded-components/20866/3 "2026-03-11T22:11:52Z")

</div>

Let me know if you need help on this. I’ve built over 50 custom components. There’s no error log unfortunately.
