【问题标题】:Vue PWA TypeError: Cannot read properties of undefined (reading 'tap') errorVue PWA TypeError: Cannot read properties of undefined (reading \'tap\') 错误
【发布时间】:2022-08-10 10:38:10
【问题描述】:

我收到此错误:
TypeError:无法读取未定义的属性(正在读取 \'tap\')

我添加了vue add pwa命令我的应用程序 pwa,我收到此错误。

我试图删除我的 node_modules、package-lock.json 并重新安装它。

如果您知道解决方案,请留下命令,谢谢

    标签: vue.js progressive-web-apps


    【解决方案1】:

    它可能是您正在使用的版本。 查看这个 GitHub 问题 Vue Cli Issue 7019 似乎其他人也有类似的问题。

    这是在线程上发现的解决方案

    我有同样的问题,降级到 @vue/cli-plugin-pwa": "4.5.17" 解决了。

    以上也为我解决了。

    【讨论】:

      猜你喜欢
      • 2021-11-10
      • 2021-11-03
      • 2021-11-08
      • 2021-11-25
      • 2022-01-16
      • 2021-12-31
      • 1970-01-01
      • 1970-01-01
      • 2022-07-09
      相关资源
      最近更新 更多