denaro-org / vuepress-theme-denaro

Theme plugin for vuepress-next.
Other
5 stars 1 forks source link

vuepress 2.0.0-beta.66 插件均无法使用 #2

Closed xkrivzooh closed 1 year ago

xkrivzooh commented 1 year ago

你好,首先非常感谢你开发了这款插件,我在vuepress 2.0.0-beta.66 下使用pnpm install @vuepress-denaro/vuepress-plugin-reward安装后,发现在最新版的edge和Chrome中不能正常的使用这个插件。表现为按钮出来了,点了不管用,console窗口也没有任何错误信息。但是在safair浏览器下是没问题的。

以下是我的一些安装过程的日志:

xkrivzooh in ~/IdeaProjects/github/wenchao.ren on main ● ● λ pnpm install @vuepress-denaro/vuepress-plugin-reward
 WARN  deprecated rollup-plugin-terser@7.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-terser
 WARN  deprecated @babel/plugin-proposal-private-property-in-object@7.21.0: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-private-property-in-object instead.
 WARN  deprecated @babel/plugin-proposal-unicode-property-regex@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-unicode-property-regex instead.
Packages: +6 -5
++++++-----
Progress: resolved 485, reused 463, downloaded 1, added 6, done

目前看起来项目的一些依赖已经有些旧了。下面是我的package.json文件:

{
  "name": "vuepress-theme-hope-template",
  "version": "2.0.0",
  "description": "A project of vuepress-theme-hope",
  "license": "MIT",
  "scripts": {
    "docs:build": "vuepress build .",
    "docs:clean-dev": "vuepress dev . --clean-cache",
    "docs:dev": "vuepress dev ."
  },
  "devDependencies": {
    "@algolia/client-search": "4.9.1",
    "@vuepress/client": "2.0.0-beta.66",
    "@vuepress/plugin-docsearch": "2.0.0-beta.66",
    "vue": "^3.3.4",
    "vuepress": "2.0.0-beta.66",
    "vuepress-plugin-comment2": "2.0.0-beta.235",
    "vuepress-theme-hope": "2.0.0-beta.235",
    "webpack": "^5.88.2"
  },
  "dependencies": {
    "@vuepress-denaro/vuepress-plugin-reward": "1.1.1-beta.0"
  }
}

非常感谢作者哈。

xkrivzooh commented 1 year ago

好像是我本次问题。当我本地调试时确实如上反应的那样。结果当我部署到github上以后,edge和chrome就正常了。

xkrivzooh commented 1 year ago

我就先关闭了哈。抱歉。

vxhly commented 1 year ago

首先非常感谢码友的反馈,这里和你说声抱歉,现在才看到 issuess,从你这边提供的日志看来并没有明显的报错信息,这些只是一些关联依赖包版本的 warning,并不影响使用,你这边如果可以提供运行时的相关报错信息,我会在第一时间去尝试修复