![](https://img-blog.csdnimg.cn/20201014180756918.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
React Native日常错误
IROYCN
biubiubiu
展开
-
react native Command /bin/sh failed with exit code 1( at process._tickCallback (node.js:336:13))
出现这个问题,是因为编码时导致app崩溃了,然后重新运行时出现build faild嗯,是因为没有关掉终端的命令导致的,只要control + c停止命令即可,如图:自己stop run再重新run是没问题的,只有崩溃时才会出现~原创 2016-01-19 17:56:41 · 3576 阅读 · 0 评论 -
you are trying to reader the global image variable as a react element.you probably forgot to require
请引入要使用的控件,如'use strict';import React, { AppRegistry, Component, StyleSheet, Text, Image, //引入我~ View} from 'react-native';原创 2016-01-19 18:03:35 · 1026 阅读 · 0 评论 -
mac安装nvm“ pm WARN unmet dependency /usr/local/lib/node_modules/ionic requires”
可以前往https://github.com/creationix/nvm#installation查看更具体步骤,这里只做备忘,mac下如何安装打开终端,执行sudo curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.31.0/install.sh | bash执行. ~/.nvm/nvm.sh添原创 2016-04-26 15:36:17 · 889 阅读 · 0 评论