React-native-cli error

Hello,i have a problem with react native cli


some help please

It looks like you have a globally installed modules. If that’s the case, remove those & start again:

npm uninstall -g react-native
npm uninstall -g react-native-cli

There should be no globally installed React Native modules, else you’re going to get weird errors. Then follow the instructions in the documentation, so you should be following the instructions at Setting up the development environment · React Native

Select the Windows option from the “React Native CLI Quickstart” tab. At the stage you’re at, you should be running

npx react-native init WhateverTheProjectIsCalled

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.