首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >sylius纱线构建失败

sylius纱线构建失败
EN

Stack Overflow用户
提问于 2020-06-22 11:50:23
回答 1查看 401关注 0票数 0

我设置了sylius项目,并使用error.Please帮助我运行yarn构建。:((

代码语言:javascript
复制
yarn v1.22.4 
sylius v1.7.0
node v12.18.1

[03:48:26] 'buildAdmin' errored after 4.02 min
[03:48:26] Error in plugin 'gulp-chug'
Message:
    Gulpfile /var/www/custore/vendor/sylius/sylius/src/Sylius/Bundle/AdminBundle/gulpfile.babel.js exited with an error :(
Details:
    domainEmitter: [object Object]
    domain: [object Object]
    domainThrown: false
[03:48:26] 'build' errored after 4.02 min
[03:48:26] The following tasks did not complete: buildShop
[03:48:26] Did you forget to signal async completion?
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
EN

回答 1

Stack Overflow用户

发布于 2020-12-09 19:40:13

我知道这是一个老问题,但对我来说,切换到Sylius版本1.6.9解决了这个问题。

我建议你首先尝试他们的github问题页面上提供的解决方案,比如删除node_modules并重新安装,使用npm而不是yarn,或者删除node_modulespackage-lock.json,然后运行npm cache clean --force,然后运行npm install,然后运行npm run build,或者可能将NodeJs的版本切换到使用10.19。

这些解决方案对我不起作用,但是切换到1.6.9就行了。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/62507156

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档