jakejs/jake

Jake is not recognized as cndket/function/script or more,please check the spelling of names

G-Pig opened this issue · 5 comments

G-Pig commented

Jake is not recognized as cndket/function/script or more,please check the spelling of names.
It might be a problem with the environment variables.
But I didn't find a good way to solve it. can you give me a hand please.
Thanks a lot.

mde commented

Can you paste the exact error, and give me some more context? Where and how is this happening?

G-Pig commented

I just run 'npm install -g' in my project, then I run 'jake xxxx', it occurs 'Jake is not recognized as cndket/function/script or more,please check the spelling of names, If including path, please make sure the path is correct, and try again' in Chinese, I did translation for you as I can.
Here's the complete error:
`jake : 无法将“jake”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。
所在位置 行:1 字符: 1

  • jake
  •   + CategoryInfo          : ObjectNotFound: (jake:String) [], CommandNotFoundException`
    
G-Pig commented

version of node is v14.1.0
version of jake is v8.1.1

G-Pig commented

Can you paste the exact error, and give me some more context? Where and how is this happening?

I just run 'npm install -g' in my project, then I run 'jake xxxx', it occurs 'Jake is not recognized as cndket/function/script or more,please check the spelling of names, If including path, please make sure the path is correct, and try again' in Chinese, I did translation for you as I can.
version of node is v14.1.0
version of jake is v8.1.1
Here's the complete error:
`jake : 无法将“jake”项识别为 cmdlet、函数、脚本文件或可运行程序的名称。请检查名称的拼写,如果包括路径,请确保路径正确,然后再试一次。
所在位置 行:1 字符: 1

jake

  • CategoryInfo : ObjectNotFound: (jake:String) [], CommandNotFoundException`
mde commented

Are you running this on Windows? I am guessing you're trying to use Jake from a DOS prompt, rather than from Bash.