You need to enable JavaScript to run this app.
优惠活动
大模型
产品
解决方案
定价
更多

Shopware 6.5.3.3调用watch-administration时缺失functions.sh问题求助

问题:Shopware 6.4升级至6.5.3.3后执行watch-administration.sh报错

将店铺从6.4版本升级至6.5.3.3版本,采用Symfony Flex模板。在Flex体系中,原开发/生产模板的脚本已拆分至食谱(recipes)中。调用watch administration时出现如下报错:

$ bin/watch-administration.sh 
bin/watch-administration.sh: line 9: bin/functions.sh: No such file or directory
bin/watch-administration.sh: line 13: load_dotenv: command not found

当前环境

项目未安装shopware/platform(此为正常情况),已安装的Shopware组件版本如下:

"shopware/administration": "6.5.3.3",
        "shopware/core": "6.5.3.3",
        "shopware/elasticsearch": "6.5.3.3",
        "shopware/storefront": "6.5.3.3",

尝试操作及问题

找到functions.sh属于shopware/platform的6.4版本食谱,但尝试执行以下命令安装该食谱失败:

$ composer recipes:install shopware/platform
Run command with -v to see more details

Cannot update: some packages are not installed: shopware/platform

疑问

  • 应如何添加functions.sh文件?
  • 这是Flex食谱的bug还是操作有误?

内容的提问来源于stack exchange,提问作者Alex

相关产品推荐
方舟 Agent Plan

超全模态模型 × Harness 升级,最新支持 Deepseek-V4.1-Flash、GLM-5.3 系列、Doubao-Seedream-5.0-pro、Kimi-K3 (部分), 限时 9.9 元起

最近更新时间:2026.07.10 04:08:09