search

Home  >  Q&A  >  body text

node.js - react-native 搭建环境的问题

该命令报错
tang$ npm install react-native-cli -g

NPM已经安装了啊

PHPzPHPz2784 days ago607

reply all(2)I'll reply

  • ringa_lee

    ringa_lee2017-04-17 13:22:31

    sudo npm install react-native-cli -g

    reply
    0
  • 高洛峰

    高洛峰2017-04-17 13:22:31

    Have you modified the default direction of npm?
    Is the mirror source pointed by your npm pointed to Taobao's npm?
    Change it to the original one. Otherwise, an error will occur if you install the RN project.
    PS: You may need to circumvent the wall,

    reply
    0
  • Cancelreply