Closed october-rain closed 2 years ago
Latest commit: 22fba3ec65732fb9d0085dd2f40713c9b9441dfe
Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.
Click here to learn what changesets are, and how to add one.
Click here if you're a maintainer who wants to add a changeset to this PR
👋 @october-rain
💖 Thanks for opening this pull request! 💖
Please follow the contributing guidelines. And we use semantic commit messages to streamline the release process.
Examples of commit messages with semantic prefixes:
fix: don't overwrite prevent_default if default wasn't prevented
feat: add graph.scale() method
docs: graph.getShortestPath is now available
Things that will help get your PR across the finish line:
npm run lint
locally to catch formatting errors earlier.We get a lot of pull requests on this repo, so please be patient and we will get back to you as soon as we can.
问题描述
在
M1
的mac
环境下使用pnpm i
会报错问题追溯
查看 sharp官网关于M1芯片的说明 后得知,
^0.29.x
版本才支持ARM64
解决方案
在
package.json
中,利用pnpm.overrides
字段,将sharp
版本锁定在0.29.x
以上