我正在使用react native来构建我的IOS项目,并且能够在IOS模拟器中运行该项目。
我正在使用watchman来检测文件中的更改,但是由于某种原因,每当REACT组件中缺少CSS时,它都会引发一般错误,而不是缺少CSS元素-
Error: Element type is invalid: expected a string (for built-in components) or a class/function (for composite components) but got: undefined. You likely forgot to export your component from the file it's defined in, or you might have mixed up default and named imports.
是否可以设置值班员显示实际错误。
操作系统-MAC