构建项目失败插件 Build Failed: Error: ReferenceError: language is not defined

LanguageData 里面的
if (CC_EDITOR) {
Editor.Profile.load(‘profile://project/i18n.json’, (err, profile) => {
window.i18n.curLang = profile[‘default_language’];
if (polyInst) {
data = loadLanguageData(language); 这行报错
initPolyglot(data);
}
});
}
来个大神帮忙看下呢。

请问是什么版本

1.4.0 版本构建 web Mobile

1.4.0 版本构建 web Mobile 111111

有调用堆栈吗?我这边都搜不到你提供的那些代码在哪……

已经解决了 不好意思 看错了