- html - 出于某种原因,IE8 对我的 Sass 文件中继承的 html5 CSS 不友好?
- JMeter 在响应断言中使用 span 标签的问题
- html - 在 :hover and :active? 上具有不同效果的 CSS 动画
- html - 相对于居中的 html 内容固定的 CSS 重复背景?
我正在本地环境中克隆现有的 react native 应用程序,但每次运行 react-native run-ios
我收到以下错误:
** BUILD FAILED **
The following commands produced analyzer issues:
Analyze /Users/alydabbous/code/Dabbous-Innopay/ideal-app/node_modules/react-native/ReactCommon/yoga/yoga/YGNodeList.c normal x86_64
Analyze /Users/alydabbous/code/Dabbous-Innopay/ideal-app/node_modules/react-native/ReactCommon/yoga/yoga/Yoga.c normal x86_64
Analyze Base/RCTModuleMethod.mm normal x86_64
(3 commands with analyzer issues)
The following build commands failed:
Ld build/Build/Products/Debug-iphonesimulator/MyUros.app/MyUros normal x86_64
(1 failure)
Installing build/Build/Products/Debug-iphonesimulator/TPP.app
An error was encountered processing the command (domain=NSPOSIXErrorDomain, code=2):
Failed to install the requested application
An application bundle was not found at the provided path.
Provide a valid path to the desired application bundle.
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Command failed: /usr/libexec/PlistBuddy -c Print:CFBundleIdentifier build/Build/Products/Debug-iphonesimulator/TPP.app/Info.plist
Print: Entry, ":CFBundleIdentifier", Does Not Exist
Loading dependency graph...(node:52097) UnhandledPromiseRejectionWarning: Error: `fsevents` unavailable (this watcher can only be used on Darwin)
at new FSEventsWatcher (/Users/alydabbous/code/Dabbous-Innopay/ideal-app/node_modules/sane/src/fsevents_watcher.js:41:11)
at createWatcher (/Users/alydabbous/code/Dabbous-Innopay/ideal-app/node_modules/jest-haste-map/build/index.js:600:23)
at Array.map (<anonymous>)
at HasteMap._watch (/Users/alydabbous/code/Dabbous-Innopay/ideal-app/node_modules/jest-haste-map/build/index.js:747:25)
at _buildPromise._buildFileMap.then.then.hasteMap (/Users/alydabbous/code/Dabbous-Innopay/ideal-app/node_modules/jest-haste-map/build/index.js:279:21)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:189:7)
(node:52097) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1)
(node:52097) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
react-native run-ios
时收到此错误对于我克隆的 repo 。但是当我创建一个新的 react-native 应用程序时,一切正常。我尝试了一切:杀死服务器,再次卸载和安装节点,删除我的 node_modules 文件等,但我仍然无法解决这个问题。任何帮助将非常感激。谢谢。
最佳答案
对我来说,我卸载了 watchman
然后使用 brew
重新安装它如下所示:
npm r -g watchman
brew install watchman
关于javascript - 错误 : `fsevents` unavailable (this watcher can only be used on Darwin),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52427810/
我正在查看有关 FSEvents 的苹果开发人员文档,但后来在 dropbox 论坛中,我发现了这个 https://forums.dropbox.com/topic.php?id=20771 , “
这是我得到的: $ sudo gem install autotest-fsevent Password: Building native extensions. This could take a
我正在尝试让 webpack 在 Visual Studio 中工作,但不断出现 Dependencies - not installed 问题。我在输出中收到此错误: npm WARN option
我正在使用 FSEvents 来监视将有一些大文件复制到其中的文件目录。目前 FSEvents 似乎在我开始复制文件时发出通知,并在完成复制文件时再次发出通知。但是,当它是一个较小的文件时,我只会得到
我正在安装 babel core 6.26.0 per this documentation ,一切顺利,除了出现以下错误: npm WARN optional Skipping failed opt
这简直要了我的命,我不确定我是否知道如何调试它。 我正在使用 Mac FSEvents API 来监视文件系统上的给定文件夹。但是,有时某些文件夹会停止发送任何通知事件。到目前为止,这种情况仅发生在
我正在尝试在我的沙盒应用程序中使用 FSEvents 来监视某些目录。我实现了以下类(class): @implementation SNTracker - (id)initWithPaths:(NS
我在 FSEvents 上看到奇怪的行为,我在恢复模式下安装我的驱动器并在重新启动时在我的流中获得零 fsevents。 我执行以下操作: 定时开机 使用 FSEventsGetCurrentEven
尝试使用 npm 等进行 react ,我经常收到这些类型的警告: > npm install axios redux react-redux redux-thunk react-router-dom
我正在尝试在 Gitlab CI 上构建我的 Angular 应用程序,并使用 npm ci 安装依赖项,但我遇到了错误 ' 无法从汇总中访问 fsevents '。我试过 npm ci --no-o
关于如何检测回调方法中文件夹中引发的文件夹事件(FSEvent)的类型(下面代码中的gotEvent方法)有什么想法吗?例如:文件已重命名、文件已创建?我只想对“文件重命名”、“文件创建”进行一些操作
我正在使用 FSEvents API 来获取我正在跟踪的本地目录中的更改通知。 是否可以使用 FSEvents 或其他任何方式获取监视目录已移动到磁盘上其他位置的通知? 更新: 这是我到目前为止的代码
在 OS X 上,使用 FSEvents API,我可以轻松获取感兴趣的路径的文件和目录通知(创建、删除等)。但是,我想知道是否有任何方法可以获得执行操作的进程的 PID 或名称(例如,创建文件)。我
我正在尝试为我的程序编写测试用例,并且我听到了有关 testing-library/react 和 jest-junit 的好消息。我使用 npm 将这两个包安装到我的 devDependency 中
我需要为 Mac 中的文件夹创建 FSEvents 观察器。我对 C++ 很满意,有没有办法在 C++ 代码中获取 FSEvents 通知,而不是 Objective-C。是否有一些示例代码可以开始以
我刚刚设置了一个 FSEvent 以监视目标文件夹的状态。它工作得很好,因为每次发生更改时我都会收到通知,并且还会提供到发生更改的子目录的路径。但是,如果我想了解执行的操作是什么怎么办?是否添加、修改
最近将 OSX Lion 上的 Ruby 从 1.8.7 更新到 1.9.3。在此过程中,我丢失了安装在 1.8.7 上的 Ruby Gems,因此尝试重新安装它们。 遇到了 rb-fsevent G
我正在尝试使用 npx create-react-app first-react-app 创建 React 应用程序. 当它开始创建应用程序时,我每次都会收到以下警告。最后是创建一个应用程序。但原因是
什么时候国旗kFSEventStreamEventFlagItemInodeMetaMod被设置?在 Apple's developer documentation它说值(value)是: kFSEv
我已经使用 fsevents 设置了一个观察器机制。其要点是每次在文件夹 X 中创建文件时,我都希望运行一个函数。它现在运行良好,但我需要能够更改它正在监视的路径。这是设置代码: void *appP
我是一名优秀的程序员,十分优秀!