尝试部署到模拟器时 node_modules 错误中的无效符号链接 (RN 0.45)
Invalid symlink in node_modules error when trying to deploy to simulator (RN 0.45)
从 0.39.2 t 0.45.1 升级并更新节点包并修复 xcode 中的大约 50 个问题后,我的构建成功了,但是当我尝试在模拟器上部署时,我得到了。
Installing build/Build/Products/Debug-iphonesimulator/AppName.app
Installing build/Build/Products/Debug-iphonesimulator/AppName.app
An error was encountered processing the command
(domain=MIInstallerErrorDomain, code=70):
invalid symlink at
/Users/dob99/Library/Developer/CoreSimulator/Devices/9BEB7AD7-F8CD-4CF9-BEA5-B995D2CE07E9/data/Library/Caches/com.apple.mobile.installd.staging/temp.6ItzQQ/extracted/AppName/node_modules/react-native/third-party/glog-0.3.4/test-driver
Launching An error was encountered processing the
command (domain=NSMachErrorDomain, code=-308): The operation couldn’t
be completed. (Mach error -308 - (ipc/mig) server died)
react-native-cli: 2.0.1
本机反应:0.45.1
xCode: 8.3.3
请指教
注意: 我稍后也能够在为 android 构建时重现此内容。使用下面的 unlink
命令进行的修复也修复了 android 问题。
我的团队昨天遇到了同样的错误。这显然为他们修复了它:
unlink node_modules/react-native/third-party/glog-0.3.4/test-driver
以下是有关此错误的更多信息:
https://github.com/facebook/react-native/issues/14417
从 0.39.2 t 0.45.1 升级并更新节点包并修复 xcode 中的大约 50 个问题后,我的构建成功了,但是当我尝试在模拟器上部署时,我得到了。
Installing build/Build/Products/Debug-iphonesimulator/AppName.app Installing build/Build/Products/Debug-iphonesimulator/AppName.app An error was encountered processing the command (domain=MIInstallerErrorDomain, code=70):
invalid symlink at /Users/dob99/Library/Developer/CoreSimulator/Devices/9BEB7AD7-F8CD-4CF9-BEA5-B995D2CE07E9/data/Library/Caches/com.apple.mobile.installd.staging/temp.6ItzQQ/extracted/AppName/node_modules/react-native/third-party/glog-0.3.4/test-driver Launching An error was encountered processing the command (domain=NSMachErrorDomain, code=-308): The operation couldn’t be completed. (Mach error -308 - (ipc/mig) server died)
react-native-cli: 2.0.1
本机反应:0.45.1
xCode: 8.3.3
请指教
注意: 我稍后也能够在为 android 构建时重现此内容。使用下面的 unlink
命令进行的修复也修复了 android 问题。
我的团队昨天遇到了同样的错误。这显然为他们修复了它:
unlink node_modules/react-native/third-party/glog-0.3.4/test-driver
以下是有关此错误的更多信息: https://github.com/facebook/react-native/issues/14417