失败,我的下一个版本的反应本地/反应母语-CLI:反应本地链路上的境界
react-native-cli: 2.0.1
react-native: 0.47.2
与
npm install --save realm
安装境界后,我得到一个错误
下一个部分解决了,留在情况下,将有助于解决整个亲blem <解决部分开始
如果我运行
react-native link
或
react-native link realm
我得到一个错误:
pathToProjectHere/node_modules/metro-bundler/src/lib/Terminal.js:141
this._nextStatusStr = util.format(format, ...args);
^^^
SyntaxError: Unexpected token ...
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:373:25)
at Module._extensions..js (module.js:416:10)
at Object.require.extensions.(anonymous function) [as .js] (pathToProjectHerenode_modules/babel-register/lib/node.js:152:7)
at Module.load (module.js:343:32)
at Function.Module._load (module.js:300:12)
at Module.require (module.js:353:17)
at require (internal/module.js:12:17)
at Object.<anonymous> (pathToProjectHere/node_modules/react-native/local-cli/server/runServer.js:18:18)
at Module._compile (module.js:409:26)
解决部分末端>
我我仍然得到婷约境界构造一个错误,甚至是成功的链接命令 什么是错的,有没有什么解决办法后?
我无法启动与境界的新项目以及 - 同样的错误。
添加完整的错误可能有助于更好地理解问题。 – bennygenel
@bennygenel,done –
'react-native install realm'在安装和链接方面做得很好。也许你应该尝试一下? – ArchNoob