3
此錯誤突然出現,但沒有明確的原因。React Native語法錯誤:意外令牌,預計}
行136:7是正確的,它說主:{
const styles = StyleSheet.create({
\t master: {
\t \t flex: 1,
\t \t justifyContent: 'center',
\t \t flexDirection: 'row',
\t \t alignItems: 'center',
\t \t flexWrap: 'wrap'
\t }
});
它之前做工精細。我曾嘗試: 室射頻node_modules & & NPM安裝
NPM啓動 - --reset緩存
無論從那些沒有變化。
你能解釋一下嗎?我在添加樣式時遇到了同樣的問題...但是如果我添加內聯樣式,那麼就可以了。 – carinlynchin