state `RESPONDER_INACTIVE_PRESS_IN` to `RESPONDER_ACTIVE_LONG_PRESS_IN`, which is not supported. |
关闭Debug JS Remotely模式,如果有文本信息要加入点击事件,请用TouchableOpacity包裹 |
Touchablexxx包裹点击控件时,包含了文本信息内容在Debug JS Remotely模式调试时会引起异常 |
undefined is not an object (evaluating 'xxx') |
自定义function(){}修改为自定义function=()=>{} |
在通过自定义函数操作时,多使用箭头函数,因为箭头函数的this就是全局的this,可以操作全局变量 |
npm install 时提示: npm WARN rollback Rolling back readable-stream@2.2.9 failed (this is probably harmless): EPERM: operation not permitted, rmdir 'F:\xx' npm WARN rollback Rolling back node-pre-gyp@0.6.39 failed (this is probably harmless): EPERM: operation not permitted, rmdir 'F:\xx' npm WARN rollback Rolling back ajv@4.11.8 failed (this is probably harmless): EPERM: operation not permitted, rmdir 'F:\xx' |
npm 命令行输入:config set user 0和npm config set unsafe-perm true |
应该是需要用主用户权限操作 |
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.3 |
win&linux系统无需在意 |
fsevents是mac osx系统的 |