Skip to content

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

@sdfsdfsoo

Description

@sdfsdfsoo

(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

Activity

sdfsdfsoo

sdfsdfsoo commented on Jan 21, 2020

@sdfsdfsoo
Author

npm: '6.10.1'

sdfsdfsoo

sdfsdfsoo commented on Jan 21, 2020

@sdfsdfsoo
Author

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

sdfsdfsoo

sdfsdfsoo commented on Jan 21, 2020

@sdfsdfsoo
Author

docsify-cli@4.4.0

sy-records

sy-records commented on Nov 18, 2020

@sy-records
Member

Are there any questions now?

VegeBun-csj

VegeBun-csj commented on Dec 12, 2020

@VegeBun-csj

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

sy-records commented on Dec 12, 2020

@sy-records
Member

I will check as soon as possible @VegeBun-csj

artemiseven

artemiseven commented on Feb 20, 2021

@artemiseven

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

sy-records commented on Feb 20, 2021

@sy-records
Member

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

artemiseven

artemiseven commented on Feb 23, 2021

@artemiseven

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

嗯 , 如何加你的微信?

sy-records

sy-records commented on Feb 23, 2021

@sy-records
Member

85464277

PDPENG

PDPENG commented on Feb 20, 2022

@PDPENG

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      'docsify' is not an internal or external command, nor is it a runnable program or batch file · Issue #91 · docsifyjs/docsify-cli