gpt4 book ai didi

jquery - 为什么我在 Assets 安装时无法解析 'jQuery=jquery'?

转载 作者:行者123 更新时间:2023-12-04 07:44:09 25 4
gpt4 key购买 nike

运行时 php bin/console oro:assets:build ,我有 11 个这样的错误:

ERROR in ../node_modules/jquery-form/src/jquery.form.js 2:20-44
Module not found: Error: Can't resolve 'jQuery=jquery' in '/var/www/node_modules/jquery-form/src'
@ ./bundles/oroui/js/widget/abstract-widget.js 26:2-24
@ ./bundles/oroui/js/widget/block-widget.js
@ ./build/admin/dynamic-imports.js 63:11-65:23
@ ./bundles/oroui/js/app/services/load-modules.js 1:16-42
@ ./bundles/oroui/js/polyfills.js 1:0-61 5:17-28
@ ./bundles/oroui/js/app.js 8:29-59
你知道是什么问题吗?
谢谢你的帮助。

最佳答案

看起来您已经从不稳定的主分支安装了应用程序,永远不应在生产中使用。
相反,您可以安装最新的稳定长期支持版本,即 4.2 LTS。为此,请遵循官方文档:
https://doc.oroinc.com/backend/setup/installation/#install-oro-application
在您的情况下,重要的一步是第一个命令,它下载应用程序的最新稳定版本:

# OroCRM Community Edition
composer create-project oro/crm-application my_project_name --repository=https://satis.oroinc.com
或者,如果你想使用 git 克隆它,你可以运行
git clone -b 4.2.3 https://github.com/oroinc/crm-application my_project_name
克隆标签很重要 4.2.3那是最新的稳定版。

关于jquery - 为什么我在 Assets 安装时无法解析 'jQuery=jquery'?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/67285395/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com