Magento 2:无法分析主题静态文件

Magento 2:无法分析主题静态文件,magento,magento2,Magento,Magento2,我正在尝试覆盖magento/module-configurable-product/view/frontend/web/js/configurable.js,但一旦覆盖,我会得到: Could not parse theme static file 'app/design/frontend/XXX/XXX/Magento_Configurable_Product/web/js/configurable.js' 我对这可能是什么感到困惑,我已经三次检查了名称和目录,我99%确定它们是正确的,并

我正在尝试覆盖magento/module-configurable-product/view/frontend/web/js/configurable.js,但一旦覆盖,我会得到:

Could not parse theme static file 'app/design/frontend/XXX/XXX/Magento_Configurable_Product/web/js/configurable.js'
我对这可能是什么感到困惑,我已经三次检查了名称和目录,我99%确定它们是正确的,并且遵循正确的流程。覆盖文件的路径为:

app/design/frontend/XXX/XXX/Magento_Configurable_Product/web/js/configurable.js
我四处搜索,没有发现任何类似的东西,所以任何建议都非常感谢


谢谢

结果证明正确的文件夹名是Magento_ConfigurableProduct,这是我在检查requirejs-config.js后发现的