CRXDE 不允许我 upload/download 捆绑
CRXDE doesn't allow me to upload/download bundles
版本AEM 6.3,这是我的本地实例。
每次我进入 AEM 在我的本地安装一个包时,它说 exec.json 丢失,我发现了一个手动覆盖的问题,但它使我集成包的时间增加了一倍。
错误
创建包
Failed to load resource: the server responded with a status of 404 (Not Found)
service/exec.json?cmd=create:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Dialog.js:191 Uncaught TypeError: Cannot read property 'msg' of undefined
at constructor.CRX.ide.Dialog.DEFAULT_ERROR_HANDLER (Dialog.js:191)
at Object.callback (ext-base-debug.js:1443)
at Ext.form.BasicForm.afterAction (ext-all-debug.js:56465)
at Ext.form.Action.Submit.failure (ext-all-debug.js:58865)
at Ext.data.Connection.handleFailure (ext-all-debug.js:8564)
at handleTransactionResponse (ext-base-debug.js:2517)
at ext-base-debug.js:2552
安装包
ext-all-debug.js:8665 POST http://localhost:4502/crx/packmgr/service/exec.json?cmd=upload&jsonInTextarea=true 404 (Not Found)
doFormUpload @ ext-all-debug.js:8665
request @ ext-all-debug.js:8853
(anonymous) @ ext-base-debug.js:751
run @ ext-all-debug.js:59008
(anonymous) @ ext-base-debug.js:831
setTimeout (async)
defer @ ext-base-debug.js:864
doAction @ ext-all-debug.js:56328
submit @ ext-all-debug.js:56384
doSubmit @ UploadPackageDialog.js:56
submit @ Dialog.js:128
onClick @ ext-all-debug.js:41008
h @ ext-all-debug.js:2463
VM420:2 Uncaught SyntaxError: Unexpected token <
at doDecode (ext-all-debug.js:11527)
at Object.decode (ext-all-debug.js:11649)
at Ext.form.Action.Submit.handleResponse (ext-all-debug.js:59055)
at Ext.form.Action.Submit.processResponse (ext-all-debug.js:58876)
at Ext.form.Action.Submit.success (ext-all-debug.js:59024)
at runCallback (ext-all-debug.js:8652)
at Ext.data.Connection.cb (ext-all-debug.js:8656)
at HTMLIFrameElement.h (ext-all-debug.js:2463)
您可以尝试从 console/bundles
安装它吗?
我通过找到一个旧博客解决了这个问题:https://aemgeeks.wordpress.com/2017/08/25/install-crx-packages-bundles-automatically-on-server-startup/
步骤
在 crx-quickstart 文件夹的根目录下创建一个 install
文件夹。
将您要安装的包放在 install
文件夹中。
- 重新启动本地 AEM。
- 为我的回答点赞。
版本AEM 6.3,这是我的本地实例。
每次我进入 AEM 在我的本地安装一个包时,它说 exec.json 丢失,我发现了一个手动覆盖的问题,但它使我集成包的时间增加了一倍。
错误
创建包
Failed to load resource: the server responded with a status of 404 (Not Found)
service/exec.json?cmd=create:1 Failed to load resource: the server responded with a status of 404 (Not Found)
Dialog.js:191 Uncaught TypeError: Cannot read property 'msg' of undefined
at constructor.CRX.ide.Dialog.DEFAULT_ERROR_HANDLER (Dialog.js:191)
at Object.callback (ext-base-debug.js:1443)
at Ext.form.BasicForm.afterAction (ext-all-debug.js:56465)
at Ext.form.Action.Submit.failure (ext-all-debug.js:58865)
at Ext.data.Connection.handleFailure (ext-all-debug.js:8564)
at handleTransactionResponse (ext-base-debug.js:2517)
at ext-base-debug.js:2552
安装包
ext-all-debug.js:8665 POST http://localhost:4502/crx/packmgr/service/exec.json?cmd=upload&jsonInTextarea=true 404 (Not Found)
doFormUpload @ ext-all-debug.js:8665
request @ ext-all-debug.js:8853
(anonymous) @ ext-base-debug.js:751
run @ ext-all-debug.js:59008
(anonymous) @ ext-base-debug.js:831
setTimeout (async)
defer @ ext-base-debug.js:864
doAction @ ext-all-debug.js:56328
submit @ ext-all-debug.js:56384
doSubmit @ UploadPackageDialog.js:56
submit @ Dialog.js:128
onClick @ ext-all-debug.js:41008
h @ ext-all-debug.js:2463
VM420:2 Uncaught SyntaxError: Unexpected token <
at doDecode (ext-all-debug.js:11527)
at Object.decode (ext-all-debug.js:11649)
at Ext.form.Action.Submit.handleResponse (ext-all-debug.js:59055)
at Ext.form.Action.Submit.processResponse (ext-all-debug.js:58876)
at Ext.form.Action.Submit.success (ext-all-debug.js:59024)
at runCallback (ext-all-debug.js:8652)
at Ext.data.Connection.cb (ext-all-debug.js:8656)
at HTMLIFrameElement.h (ext-all-debug.js:2463)
您可以尝试从 console/bundles
安装它吗?
我通过找到一个旧博客解决了这个问题:https://aemgeeks.wordpress.com/2017/08/25/install-crx-packages-bundles-automatically-on-server-startup/
步骤
在 crx-quickstart 文件夹的根目录下创建一个
install
文件夹。将您要安装的包放在
install
文件夹中。- 重新启动本地 AEM。
- 为我的回答点赞。