'expo' is not recognized as an internal or external command

后端 未结 15 1078
余生分开走
余生分开走 2020-12-30 01:12

After running npm install -g expo-cli and successfully installing the packages globally, expo is still not recognized as an internal or external co

15条回答
  •  暖寄归人
    2020-12-30 01:47

    go to the environment variable, then in the user variable section find Path and press the edit button, you will see a new window, press new and add the following

    %USERPROFILE%\AppData\Roaming\npm
    

    then press ok. Now,

    expo --version
    

提交回复
热议问题