2006bt Anotia 感觉可能是版本太高了他认不出来( 换成他提供的6.2.0, 6.2.1, 6.2.2, 6.2.3, 6.3.0, 6.3.1, 6.3.2, 6.3.3, 6.4.0, 6.4.1, 6.5.0, 6.5.1, 6.5.2, 6.5.3, 6.5.4, 6.5.5, 6.5.x-dev试试(?)
ch4o5 安装后无法启用,debug 启用之后显示以下错误: POST https://xxxxx.com/api/extensions/askvortsov-pwa null 版本信息 php: PHP 7.4.10 composer: 1.10.13 flarum/flarum-core: v0.1.0-beta.13 askvortsov/flarum-pwa: v1.0.7 minishlink/web-push: v5.2.5 感谢!
yannis ch4o5 web-push 版本OK的,清一下 PHP cache,然后重启一下, 另外,如果你用的是 Microsoft Edge,试试用其他浏览器看看, 如果还是这样,进入数据库删除该表(记得提前备份以防止错误),然后尝试再次安装。
github 启用pwa插件后,苹果手机能正常使用,华为手机的腾讯浏览器和Microsoft Edge浏览器报错: SCRIPT1028: SCRIPT1028: Expected identifier, string or number forum-1cbc6fe1.js (6451,11293) 2SCRIPT5007: SCRIPT5007: Unable to get property 'app' of undefined or null reference forum-zh-Hans-1844be87.js (1,1)
一只超帅的猪 [root@CLT_WEB cltserver.xyz]# composer require minishlink/web-push Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2 Using version ^6.0 for minishlink/web-push ./composer.json has been updated Loading composer repositories with package information Warning from https://repo.packagist.org: You are using an outdated version of Composer. Composer 2.0 is now available and you should upgrade. See https://getcomposer.org/2 Updating dependencies (including require-dev) Your requirements could not be resolved to an installable set of packages. Problem 1 - Conclusion: remove askvortsov/flarum-pwa v1.1.2 - Conclusion: don't install askvortsov/flarum-pwa v1.1.2 - minishlink/web-push v6.0.0 conflicts with askvortsov/flarum-pwa[v1.1.2]. - minishlink/web-push v6.0.1 conflicts with askvortsov/flarum-pwa[v1.1.2]. - minishlink/web-push v6.0.2 conflicts with askvortsov/flarum-pwa[v1.1.2]. - minishlink/web-push v6.0.3 conflicts with askvortsov/flarum-pwa[v1.1.2]. - Installation request for askvortsov/flarum-pwa (locked at v1.1.2, required as ^1.1) -> satisfiable by askvortsov/flarum-pwa[v1.1.2]. - Installation request for minishlink/web-push ^6.0 -> satisfiable by minishlink/web-push[v6.0.0, v6.0.1, v6.0.2, v6.0.3]. Installation failed, reverting ./composer.json to its original content. [root@CLT_WEB cltserver.xyz]#