Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
G-Pig opened this issue Jun 2, 2020 · 5 comments

Comments

@G-Pig
Copy link

G-Pig commented Jun 2, 2020

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
Copy link
Contributor

mde commented Jun 2, 2020

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

@G-Pig
Copy link
Author

G-Pig commented Jun 3, 2020

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
Copy link
Author

G-Pig commented Jun 3, 2020

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

@G-Pig
Copy link
Author

G-Pig commented Jun 5, 2020

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
Copy link
Contributor

mde commented Jun 14, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants