gitbook-cli icon indicating copy to clipboard operation
gitbook-cli copied to clipboard

gitbook-cli crashes with EPERM: operation not permitted on windows

Open aeneasr opened this issue 9 years ago • 9 comments

When running gitbook-cli serve -http and changing a file in Webstorm, the process panics with (file varies):

Error: EPERM: operation not permitted, open 'D:\workspace\js\editor\_book\plugins\layout.md'

aeneasr avatar Nov 10 '16 16:11 aeneasr

Same here:

Error: EPERM: operation not permitted, lstat 'c:\Development\Documentation\_book'
    at Error (native)

ElsewhereGames avatar Nov 28 '16 23:11 ElsewhereGames

See also GitbookIO/gitbook#1379

ghost avatar Dec 20 '16 10:12 ghost

Same here Error: EPERM: operation not permitted, scandir 'C:\Users\zhang\AppData\Local\Application Data'

zhangfan1913775361 avatar Mar 26 '19 09:03 zhangfan1913775361

Same here Error: EPERM: operation not permitted, mkdir 'C:\Users\w\Downloads\algorithm-archive\_book'

dovisutu avatar Apr 12 '19 13:04 dovisutu

ERROR EPERM: operation not permitted, lstat 'H:\20190227黑马前端\lianxi\ssr项目(6.25-)\6.25\xianyun01.nuxt\components\nuxt-build-indicator.vue'

wenlove avatar Jul 08 '19 14:07 wenlove

Is there no solution?

ATQQ avatar Sep 05 '19 06:09 ATQQ

Is there no solution?

I remember that there is a solution, but I can't remember where it is and what it is. :(

dovisutu avatar Sep 07 '19 09:09 dovisutu

My first try with gitbook, same problem under Windows / node installed locally

operation not permitted, mkdir "c:\User.....\_book"

marcnicole avatar Dec 14 '19 14:12 marcnicole

Same. But the cmd show Error: EPERM: operation not permitted, open 'XXX/.gitignore'

So I try to new a gitbook ignore file: .ignore with content: .gitignore Then resolved. Hope it works for you.

YifengWong avatar Jan 23 '20 09:01 YifengWong