About the environment install
Hey ,After I entered "make plugin"
Following errors occured:
Error loading version latest: SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Module.require (module.js:354:17)
at require (internal/module.js:12:17)
at Object.
TypeError: Cannot read property 'commands' of null
Could you plz tell me how to solve it?
did you get a solution? I just come across the same issue now.
I just figured out a workaround:
- install npm: sudo apt install npm
- install gitbook: npm install gitbook-cli -g
- gitbook init
- gitbook install
- gitbook serve --no-watch then you can open localhost: 4000 and see the book. If you want to make pdf or HTML file etc, you could use cat makefile to check the corresponding gitbook command
thx, I'll have a try