React Native学习笔记-1:JSC profiler is not supported.
新建React-Native工程,直接编译运行报错,控制台错误信息如下:
2016-02-22 16:49:47.317 [info][tid:com.facebook.React.JavaScript][RCTJSCProfiler.m:63] JSC profiler is not supported.
2016-02-22 16:49:47.668 [fatal][tid:main] TransformError: /Users/XXXX/Documents/React-Native-Learning/HelloWorld/node_modules/react-deep-force-update/lib/index.js: [BABEL] /Users/XXXX/Documents/React-Native-Learning/HelloWorld/node_modules/react-deep-force-update/lib/index.js: Unknown option: /Users/XXXX/Documents/React-Native-Learning/HelloWorld/node_modules/react-deep-force-update/.babelrc.stage
具体原因不清楚,查询了一下,好像是在新版本里容易出现,现在每次创建新的工程之后,都会先到
$工程目录/node_modules/react-deep-force-update/
目录下面删除
.babelrc