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

'docsify' is not an internal or external command, nor is it a runnable program or batch file #91

Open
sdfsdfsoo opened this issue Jan 21, 2020 · 11 comments

Comments

@sdfsdfsoo
Copy link

(win10 environment)
npm i docsify-cli -g complete
but run
docsify init ./docs report an error :
'docsify' is not an internal or external command, nor is it a runnable program or batch file

@sdfsdfsoo
Copy link
Author

npm: '6.10.1'

@sdfsdfsoo
Copy link
Author

https://docsify.js.org/#/quickstart
This is the tutorial address

@sdfsdfsoo
Copy link
Author

[email protected]

@sy-records
Copy link
Member

Are there any questions now?

@VegeBun-csj
Copy link

VegeBun-csj commented Dec 12, 2020

i alse meet this erro when i run "docsify init docs" after running "npm i docsify-cli -g". it shows 'docsify' is not an internal or external command, nor is it a runnable program or batch file.

i see many people meet this question,But no answers to it.

@sy-records
Copy link
Member

I will check as soon as possible @VegeBun-csj

@artemiseven
Copy link

artemiseven commented Feb 20, 2021

i alse meet this erro.
my env is ubuntu 20.04.1 , shell is zsh.
node -v
v14.15.3
npm -v
7.5.4

i try do this make it normal
1, make sure install docsify-cli complete, than go to intall path for check: xxx/nodejs/lib/node_modules/docsify-cli/bin
2, sudo ln -s /xxxx/nodejs/lib/node_modules/docsify-cli/bin/docsify /usr/local/bin/docsify
3, goto workspace , try docsify init ./docs again

@sy-records
Copy link
Member

@artemiseven Are you Chinese? You can add my WeChat, I'll help you look at it

@artemiseven
Copy link

@artemiseven Are you Chinese? You can add my WeChat, I'll help you look at it

嗯 , 如何加你的微信?

@sy-records
Copy link
Member

85464277

@PDPENG
Copy link

PDPENG commented Feb 20, 2022

I have also encountered this problem. First of all, I would like to thank @sy-records for your help and summarize the solutions for your reference

Important

If you've ever changed the default file path while installing Node.js, add node_global to the system path variable, for example D:\SoftwareDownloading\nodejs\node_global .
If the docsify -v version is not displayed after several attempts, switch to another terminal, for example, cmd、bash and so on.

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

No branches or pull requests

5 participants