imooc-lego / students-learn-task Goto Github PK
View Code? Open in Web Editor NEW学员学习任务,作业、打卡、分享
Home Page: https://imooc-lego.github.io/
学员学习任务,作业、打卡、分享
Home Page: https://imooc-lego.github.io/
好像好多天都没人提交了,课程笔记会不会烂尾?
我挺想报名的,5000块不算少我得仔细考察下.
但是看了看课程的笔记,越到后面提交越少,这个课程是不是特别难?
这个课程怎么样呢。各位报了的哥哥姐姐们。
NODEJS:v8.16.0 v10.15.3 v13.12.0 都试了
gitbook -V
CLI version: 2.3.2
GitBook version: 3.2.3
下面是报错信息:
warn: no summary file in this book
info: 22 plugins are installed
info: 15 explicitly listed
info: loading plugin "advanced-emoji"... OK
info: loading plugin "todo"... OK
info: loading plugin "chapter-fold"... OK
info: loading plugin "search-pro"... OK
info: loading plugin "github"... OK
info: loading plugin "splitter"... OK
info: loading plugin "tbfed-pagefooter"... OK
info: loading plugin "hide-element"... OK
info: loading plugin "summary"... OK
info: loading plugin "extra-html"... OK
info: loading plugin "livereload"... OK
info: loading plugin "highlight"... OK
info: loading plugin "sharing"... OK
info: loading plugin "fontsettings"... OK
info: loading plugin "theme-default"... OK
info: found 1 pages
info: found 433 asset files
D:\work\study\students-learn-task\node_modules\markdown-parser\src\parser.js:3556
throw peg$buildException(null, peg$maxFailExpected, peg$maxFailPos);
^
SyntaxError: Expected " ", " ", "#", "* ", "- ", "- [ ] ", "- [x] ", "\n", "\r", "\r\n", "\t", "", [ -'], [ -@], [*], [+-@], [1-9], [A-Z], [A-
], [[], [-], [\x80-\uFFFF], [_], [a-\xFFFF], [a-z], [~] or end of input but "\b" found.
如题进行到“Installing Gitbook 3.2.3”步骤时报错如下:
TypeError: cb.apply is not a function
在gitbook-cli官方仓库的issue中找到问题:#110
意思是说gitbook-cli
依赖的是低版本的graceful-fs
只支持nodejs 12-,而事实上高版本的graceful-fs
是支持nodejs 13+的
所以动手解决,记录如下:
解决办法1:降级nodejs为v12 (不采用)
解决办法2:升级graceful-fs包到最高版本(采用)
// 需要安装gitbook-cli(全局或者项目)
npm i gitbook-cli -g
// 找到刚才安装的gitbook-cli包的安装位置,升级```graceful-fs```
cd <gitbook-cli DIR> /node_modules/npm/node_modules
npm install graceful-fs@latest --save
// 安装Gitbook 3.2.3
gitbook -V
// 找到用户根目录下的.gitbook文件夹,升级```graceful-fs```
cd <.gitbook DIR> /versions/3.2.3/node_modules/npm
npm install graceful-fs@latest --save
可以启动工程了
proj_root> npm i // 安装依赖
proj_root> npm run dev // 成功
最后想问,就我一人在用nodejs v14?
[SyntaxError: Expected " ", " ", "#", "* ", "- ", "- [ ] ", "- [x] ", "\n", "\r", "\r\n", "\t", "
", [ -'], [ -@], [*], [+-@], [1-9], [A-Z], [A-], [[], [\-], [\x80-\uFFFF], [_], [a-\xFFFF], [a-z], [~] or end of input but "\b" found.]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.