-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
修复控制台报的错,重构部分代码,做出一些优化 #43
Conversation
@@ -0,0 +1,5 @@ | |||
import { BinaryLike, createHash } from "crypto"; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
你在这里使用 NodeJS std 库里面的 "crypto" 在构建项目 (pnpm build or npm build) 的时候有没有报错?或者你这里单独安装了浏览器版本的实现吗?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
没有安装别的,我是pnpm install下载的依赖,然后我本地的pnpm-lock.json没有上传,package.json没有变化,然后我本地run dev没有报错
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
可以验证一下 "pnpm build", fail 的话可能需要安装一个 es6 模块的 crypto。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
好的,我检查一下
@huxulm RatingCircle组件有个错误导致build失败,我本地不需要安装crypto就能build 把错误改掉之后就能build |
fix:
refactor:
optimize:
feature: