grunt-cli установлен, но версия grunt возвращает ошибку? - PullRequest
0 голосов
/ 01 июля 2019

grunt возвращает ошибку.

, когда я проверяю списки установленных пакетов, grunt находится в списке.

PS C:\Windows\system32> npm list -g --depth=0
C:\Users\user\AppData\Roaming\npm
+-- @vue/cli@3.5.1
+-- bower@1.8.8
+-- grunt@1.0.4
+-- grunt-cli@1.3.2
+-- npm@6.8.0
`-- typescript@3.3.3333

, но когда я проверяю версию, возникает ошибка, и я не могу использовать любые фруктовыекоманда.

PS C:\Windows\system32> grunt --version
grunt : The term 'grunt' is not recognized as the name of a cmdlet, function, script file, or operable program. Check
the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ grunt --version
+ ~~~~~
    + CategoryInfo          : ObjectNotFound: (grunt:String) [], CommandNotFoundException
    + FullyQualifiedErrorId : CommandNotFoundException

кто-нибудь знает, как я могу это исправить?

...