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即可
相關文章
- Try to run this command from the system terminal. Make sure that you use the correct version of ‘...
- 執行git命令時出現Please make sure you have the correct access rights and the repository existsGit
- Git push時報錯:fatal: Could not read from remote repository. Please make sure you have the correct access rightsGitREM
- yarn install,yarn add,NPM run dev 報錯YarnNPMdev
- pytest報錯Hint: make sure your test modules/packages have valid Python names.PackagePython
- 執行npm run dev 後報錯 Mix: not foundNPMdev
- npm install 報錯NPM
- Laravel Mix - 執行 NPM install 報錯解決辦法LaravelNPM
- Laravel 執行 NPM run watch 報錯找不到 cross-envLaravelNPMROS
- NPM run dev 報錯NPMdev
- 執行 NPM run watch-poll 各種報錯問題整理NPM
- npm install 報錯解決NPM
- npm run build打包報錯 npm: should be >= 3.0.0NPMUI
- 執行npm install 和 yarn 命令時報錯找不到python環境NPMYarnPython
- npm install報錯, npm ERR! code MODULE_NOT_FOUNDNPM
- Make sure you configure your "user.name" and "user.email" in git.AIGit
- git在pull時報錯You have not concluded your mergeGit
- Windows10系統執行npm install報錯一大堆!WindowsNPM
- Are you sure you understand the responsive layout?
- npm install 安裝外掛報錯NPM
- electron npm install 報錯解決方案NPM
- 第一次啟動react-native run-android ,報錯eventEmitterReactAndroidMIT
- Make sure to include VueLoaderPluginVuePlugin
- npm install 安裝報錯解決方案NPM
- 解決npm install 報錯,親測有效NPM
- 使用npm install安裝webpack報錯ERRNPMWeb
- 解決npm install報錯Tried to download(403)NPM
- Windows 使用者執行 NPM run watch-poll 報錯的原因及解決方法WindowsNPM
- 求助 :ubuntu 編譯核心後(make -jn),sudo make modules_install報錯Ubuntu編譯
- Vue 執行npm run dev時報了三個warning的原因VueNPMdev
- npm install ERR Please try running this command again as root/AdministratorNPMAI
- 報錯:npm install vue-router --save-devNPMVuedev
- npm install 時 node-sass 報錯問題NPM
- 報錯:npm ERR! missing script: serve npm ERR! A complete log of this run can be found in:NPM
- 執行composer install報錯:Symfony\Component\Process\Exception\ProcessTimedOutExceptionException
- npm run dev 報錯:getaddrinfo ENOTFOUND localhost和解決方法NPMdevlocalhost
- npm install 常見錯誤NPM
- The "gopls" command is not available. Run "go install -v golang.org/x/tools/gopls@latest" to install.AIGolang