ReactNative執行報錯Command `run-android` unrecognized. Make sure that you have run `npm install` and tha...
新建的React Native專案,執行react-native run-android時報錯
Command `run-android` unrecognized. Make sure that you have run `npm install` and that you are inside a react-native project.
在專案目錄下執行(不能是sudo su(執行sudo命令給su命令提權,執行su命令)下)
yarn add react-native-cli
再執行react-native run-android即可
相關文章
- 執行git命令時出現Please make sure you have the correct access rights and the repository existsGit
- 執行npm run dev 後報錯 Mix: not foundNPMdev
- yarn install,yarn add,NPM run dev 報錯YarnNPMdev
- Git push時報錯:fatal: Could not read from remote repository. Please make sure you have the correct access rightsGitREM
- pytest報錯Hint: make sure your test modules/packages have valid Python names.PackagePython
- NPM run dev 報錯NPMdev
- Laravel 執行 NPM run watch 報錯找不到 cross-envLaravelNPMROS
- Laravel Mix - 執行 NPM install 報錯解決辦法LaravelNPM
- 執行 NPM run watch-poll 各種報錯問題整理NPM
- npm run build打包報錯 npm: should be >= 3.0.0NPMUI
- PHP編譯,執行make報錯PHP編譯
- npm install 報錯解決NPM
- Couldn't be opened because you don't have permission to view it 執行時報錯View
- Npm install failed with “cannot run in wd”NPMAI
- npm install報錯, npm ERR! code MODULE_NOT_FOUNDNPM
- Make sure you configure your "user.name" and "user.email" in git.AIGit
- Windows10系統執行npm install報錯一大堆!WindowsNPM
- npm install 安裝外掛報錯NPM
- electron npm install 報錯解決方案NPM
- Windows 使用者執行 NPM run watch-poll 報錯的原因及解決方法WindowsNPM
- 使用npm install安裝webpack報錯ERRNPMWeb
- 解決npm install 報錯,親測有效NPM
- npm install 安裝報錯解決方案NPM
- 求助 :ubuntu 編譯核心後(make -jn),sudo make modules_install報錯Ubuntu編譯
- Make sure to include VueLoaderPluginVuePlugin
- 第一次啟動react-native run-android ,報錯eventEmitterReactAndroidMIT
- 報錯:npm install vue-router --save-devNPMVuedev
- 解決npm install報錯Tried to download(403)NPM
- 使用npm install報錯-4048 operation not permitted解決NPMMIT
- 報錯:npm ERR! missing script: serve npm ERR! A complete log of this run can be found in:NPM
- 執行npm install 和 yarn 命令時報錯找不到python環境NPMYarnPython
- Windows 系統 NPM run watch-poll 報錯解決方案WindowsNPM
- npm run dev 報錯:getaddrinfo ENOTFOUND localhost和解決方法NPMdevlocalhost
- 裝nagios報You don't have permission to access /nagios/ on this server. 錯誤iOSServer
- npm run dev 和 npm run serve 區別NPMdev
- npm報錯"A complete log of this run can be found in:"的解決辦法NPM
- 執行yarn報錯-node_modules\pngquant-bin: Command failedYarnAI
- Linux Shell執行source或.命令報錯'bash: ..: command not found'Linux