本文介绍了bash:找不到nodemon命令windows 10的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我花了很多时间寻找解决方案,但没有找到任何东西(我的情况)所以...
我查了全球包 npm list -g --depth = 0 并获得了

I spent a lot of time looking for a solution, but didn't find anything (with my case) So...I checked global packages npm list -g --depth=0 and got

但是当我去的时候文件夹 C:\ Users \ Servgey \ AppData \Roaming\\\
pm\\\
ode_modules
,没有nodemon

But when I went to the folder C:\Users\Sergey\AppData\Roaming\npm\node_modules, there was no nodemon

我知道这个问题已经存在。请帮帮我......

I know this question has already existed. Please, help me anyone...

推荐答案

我找到了一个解决方案(就我而言)。

I found a solution (in my case).

您只需要添加 C:\ Users \ Servgey \ AppData \ Rooaming \ nnpm C:\\\ local (当然,文件路径为npm和local)到系统变量(控制面板\系统和安全性System \高级系统设置)

All you need is to add C:\Users\Sergey\AppData\Roaming\npm and C:\usr\local (of course with your file paths npm and local) to System variables (Control Panel\System and Security\System\Advanced system settings).

然后重启你的电脑

这篇关于bash:找不到nodemon命令windows 10的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-15 06:27