TypeError: Cannot set property 'lint' of undefined
TypeError: Cannot set property 'lint' of undefined
我目前正在自学 Shopware 6(当前主分支),并尝试结合 VueJS 和 Shopware PWA 来完成这项工作。我安装了 Shopware PWA
git clone https://github.com/elkmod/SwagShopwarePwa.git custom/plugins/SwagShopwarePwa
并激活。现在我尝试使用 shopware-pwa
配置插件,但控制台显示此错误:
✔ Shopware instance address: · http://my.domain.com
✔ Shopware instance access token: · MYTOKEN
✔ Which version you'd like to use: · canary (current master branch)
✔ Preparing Nuxt project
⠧ Updating configuration for option: canary (current master branch)/usr/lib/node_modules/@shopware-pwa/cli/node_modules/gluegun/build/index.js:13
throw up;
^
TypeError: Cannot set property 'lint' of undefined
at /usr/lib/node_modules/@shopware-pwa/cli/build/extensions/nuxt-extension.js:163:49
at Object.<anonymous> (/usr/lib/node_modules/@shopware-pwa/cli/node_modules/gluegun/build/toolbox/patching-tools.js:91:39)
at step (/usr/lib/node_modules/@shopware-pwa/cli/node_modules/gluegun/build/toolbox/patching-tools.js:33:23)
at Object.next (/usr/lib/node_modules/@shopware-pwa/cli/node_modules/gluegun/build/toolbox/patching-tools.js:14:53)
at fulfilled (/usr/lib/node_modules/@shopware-pwa/cli/node_modules/gluegun/build/toolbox/patching-tools.js:5:58)
感谢您的光临帮助:)
我遇到了同样的问题并在 Github 上创建了一个问题。欢迎订阅:https://github.com/DivanteLtd/shopware-pwa/issues/1164
我目前正在自学 Shopware 6(当前主分支),并尝试结合 VueJS 和 Shopware PWA 来完成这项工作。我安装了 Shopware PWA
git clone https://github.com/elkmod/SwagShopwarePwa.git custom/plugins/SwagShopwarePwa
并激活。现在我尝试使用 shopware-pwa
配置插件,但控制台显示此错误:
✔ Shopware instance address: · http://my.domain.com
✔ Shopware instance access token: · MYTOKEN
✔ Which version you'd like to use: · canary (current master branch)
✔ Preparing Nuxt project
⠧ Updating configuration for option: canary (current master branch)/usr/lib/node_modules/@shopware-pwa/cli/node_modules/gluegun/build/index.js:13
throw up;
^
TypeError: Cannot set property 'lint' of undefined
at /usr/lib/node_modules/@shopware-pwa/cli/build/extensions/nuxt-extension.js:163:49
at Object.<anonymous> (/usr/lib/node_modules/@shopware-pwa/cli/node_modules/gluegun/build/toolbox/patching-tools.js:91:39)
at step (/usr/lib/node_modules/@shopware-pwa/cli/node_modules/gluegun/build/toolbox/patching-tools.js:33:23)
at Object.next (/usr/lib/node_modules/@shopware-pwa/cli/node_modules/gluegun/build/toolbox/patching-tools.js:14:53)
at fulfilled (/usr/lib/node_modules/@shopware-pwa/cli/node_modules/gluegun/build/toolbox/patching-tools.js:5:58)
感谢您的光临帮助:)
我遇到了同样的问题并在 Github 上创建了一个问题。欢迎订阅:https://github.com/DivanteLtd/shopware-pwa/issues/1164