^^^^^^
SyntaxError: Unexpected token import
at createScript (vm.js:80:10)
reactnative init 项目时候出错 当前最新的版本是 0.56
这个是版本的bug,操了,Facebook这么多人上来就bug
解决办法:装上版本的
- react-native init Mshop --version 0.55.4
- Using yarn v1.7.0
- Installing react-native@0.55.4..
帖子状态 |
reactnative Unexpected token import
import type {CommandT} from './commands';
^^^^^^ SyntaxError: Unexpected token import at createScript (vm.js:80:10) reactnative init 项目时候出错 当前最新的版本是 0.56 这个是版本的bug,操了,Facebook这么多人上来就bug 解决办法:装上版本的
该帖子于 2018-07-06 18:22 编辑过
|
|