---
title: Build 报错
order: 9
---

## 问题

使用最新版 G6，build 时候报如下错误：

<img src='https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*kNGtS6GiOHUAAAAAAAAAAABkARQnAQ' width=500 alt='img'/>

<img src='https://gw.alipayobjects.com/mdn/rms_f8c6a0/afts/img/A*Y_MvRrVfU4kAAAAAAAAAAABkARQnAQ' width=500 alt='img'/>

## 解决方案

参考 <a href='https://github.com/antvis/G6/issues/960' target='_blank'>#issues 960</a>。
