英文:
No matching version found for vue-template-compiler@2.6.14 | Node issues after Shopware 6.5 Update
问题 {#heading}
我已将我的商店从Shopware 6.4升级到6.5,一切似乎都正常工作。
当我尝试运行bin/build.sh
时,我收到以下错误:
找不到匹配的版本vue-template-compiler@2.6.14
这影响了build-storefront.sh和build-administration.sh。
我正在使用Node 18。我该如何修复这个问题? 英文:
I have updated my shop from Shopware 6.4 to 6.5 and everything seems to be working fine.
When I try to run bin/build.sh
I am getting the following error:
No matching version found for vue-template-compiler@2.6.14
This affects build-storefront.sh and build-administration.sh.
I am using Node 18. How do I fix that?
答案1 {#1}
得分: 3
vue-template-compiler
版本为 2.6.14。您可以在 NPM 上查看:https://www.npmjs.com/package/vue-template-compiler/v/2.6.14
我猜测这可能是您的 npm 实例中出现了错误的缓存行为。您可以尝试以下操作:
npm cache clean --force
npm cache verify
然后它应该能够找到正确的版本。 英文:
The vue-template-compiler
has a version 2.6.14. You can see it on NPM: https://www.npmjs.com/package/vue-template-compiler/v/2.6.14
I guess it is wrong caching behavior in your npm instance. You can try the following:
npm cache clean --force
npm cache verify
Then it should be able to find the correct version.