gitbook-cli crashes with EPERM: operation not permitted on windows
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'
Same here:
Error: EPERM: operation not permitted, lstat 'c:\Development\Documentation\_book'
at Error (native)
See also GitbookIO/gitbook#1379
Same here
Error: EPERM: operation not permitted, scandir 'C:\Users\zhang\AppData\Local\Application Data'
Same here
Error: EPERM: operation not permitted, mkdir 'C:\Users\w\Downloads\algorithm-archive\_book'
ERROR EPERM: operation not permitted, lstat 'H:\20190227黑马前端\lianxi\ssr项目(6.25-)\6.25\xianyun01.nuxt\components\nuxt-build-indicator.vue'
Is there no solution?
Is there no solution?
I remember that there is a solution, but I can't remember where it is and what it is. :(
My first try with gitbook, same problem under Windows / node installed locally
operation not permitted, mkdir "c:\User.....\_book"
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.