gitbook_template icon indicating copy to clipboard operation
gitbook_template copied to clipboard

error when `make init`

Open kelvinji2009 opened this issue 5 years ago • 2 comments

Log Details:

★☠️ ★  gitbook_demo git:(master) 🐾  »gitbook -V
CLI version: 2.3.2
GitBook version: 3.2.3
★☠️ ★  gitbook_demo git:(master) »make init
--------------------------------------------------------------------------------
Author  : crifan.com
Version : 20200918
Function: Auto use gitbook to generated files: website/pdf/epub/mobi; upload to remote server; commit to your github.io repository
		Run 'make help' to see usage
--------------------------------------------------------------------------------
CURRENT_DIR=/Users/kelvinji/mitnick/dev/wip/gitbook/gitbook_template/books/gitbook_demo
BOOK_NAME=gitbook_demo
NOT found gitbook_demo in IGNORE_FILE_CONTENT=
rm -f book.json
rm -f README.md
Complete load json from /Users/kelvinji/mitnick/dev/wip/gitbook/gitbook_template/books/gitbook_demo/README_current.json
Complete save file /Users/kelvinji/mitnick/dev/wip/gitbook/gitbook_template/books/gitbook_demo/README.md
cp README.md ./src/README.md
cp /Users/kelvinji/mitnick/dev/wip/gitbook/gitbook_template/common/config/common/common_gitignore .gitignore
Complete sync content
gitbook install
info: installing 17 plugins using [email protected]
info:
info: installing plugin "theme-comscore"
info: install plugin "theme-comscore" (*) from NPM with version 0.0.3
/Users/kelvinji/mitnick/dev/wip/gitbook/gitbook_template/books/gitbook_demo
└── [email protected]


Error: EEXIST: file already exists, mkdir '/Users/kelvinji/mitnick/dev/wip/gitbook/gitbook_template/books/gitbook_demo/node_modules'
make: *** [install] Error 1

kelvinji2009 avatar Nov 26 '20 13:11 kelvinji2009

seems the default soft link folder gitbook_template/books/gitbook_demo/node_modules cause this error. solution: delete gitbook_template/books/gitbook_demo/node_modules, then make init again.

Note: I will update the tutorial readme.

crifan avatar Nov 27 '20 02:11 crifan

seems the default soft link folder gitbook_template/books/gitbook_demo/node_modules cause this error. solution: delete gitbook_template/books/gitbook_demo/node_modules, then make init again.

Note: I will update the tutorial readme.

Thanks very much. It works well after deleted the softlink.

kelvinji2009 avatar Nov 27 '20 02:11 kelvinji2009