【发布时间】:2021-06-23 06:05:33
【问题描述】:
我有一台新的 MacBook Air M1。 Firebase 一直在努力,直到我上周将 firebase-tools 从 9.7.0 升级到 9.8.0。升级后,每次尝试运行任何“firebase”语句时都会出现此错误。
对于关闭原始问题的人,此问题没有直接涉及的源代码。要复制此问题,您必须拥有 M1 mac 并使用 firebase。
我该如何解决这个问题?
(请注意其他有此问题的人,下面的@RandomDude 在 cmets 中提供了答案:只需将 firebase-tools 降级到 9.7.0)
steve@steves-air functions % firebase
dyld: lazy symbol binding failed: Symbol not found: __Z18sse42_is_availablev
Referenced from: /opt/homebrew/lib/node_modules/firebase-tools/node_modules/sse4_crc32/build/Release/crc32c.node
Expected in: flat namespace
dyld: Symbol not found: __Z18sse42_is_availablev
Referenced from: /opt/homebrew/lib/node_modules/firebase-tools/node_modules/sse4_crc32/build/Release/crc32c.node
Expected in: flat namespace
zsh: abort firebase
【问题讨论】:
-
这里有编码问题吗?你有一些你遇到困难的代码吗?如果是这样,请包括它并向我们展示导致该错误的原因。请花点时间查看How do I ask a good question? 和How to create a Minimal, Complete, and Verifiable example。您可能还想包含您的 XCode 版本以及您的 firebase 版本、cocoapods 版本(需要 CocoaPods 1.10.0)以及您正在使用的 firebase 产品,因为有很多。
-
你有哪个
firebase-tools?与9.8.0有同样的问题 - 降级到9.7.0使其工作 -
@RandomDude 也为我修复了它。谢谢!
-
它已在 firebase-tools 的 github 存储库中作为问题提出。 github.com/firebase/firebase-tools/issues/3239