Code Monkey home page Code Monkey logo

Comments (4)

zhaoda avatar zhaoda commented on May 15, 2024

什么错误?能贴一下么?

from webpack-handbook.

jiushiliu avatar jiushiliu commented on May 15, 2024

npm ERR! Failed at the [email protected] serve-gitbook script 'gitbook serve ./content ./gh-pages'.

from webpack-handbook.

zhaoda avatar zhaoda commented on May 15, 2024

@latel 是什么系统,我是mac,我这个步骤的日志帖给你们看看,没发现错误。

info: 6 plugins to install
info: No version specified, resolve plugin github
info: install plugin github from npm (gitbook-plugin-github) with version 2.0.0
info: >> plugin github installed with success
info: No version specified, resolve plugin editlink
info: install plugin editlink from npm (gitbook-plugin-editlink) with version 1.0.2
info: >> plugin editlink installed with success
info: No version specified, resolve plugin prism
info: install plugin prism from npm (gitbook-plugin-prism) with version 1.0.0
info: >> plugin prism installed with success
info: No version specified, resolve plugin baidu
info: install plugin baidu from npm (gitbook-plugin-baidu) with version 0.1.0
[email protected] content/node_modules/gitbook-plugin-baidu
info: >> plugin baidu installed with success
info: No version specified, resolve plugin ad
info: install plugin ad from npm (gitbook-plugin-ad) with version 0.0.4
info: >> plugin ad installed with success
info: No version specified, resolve plugin sitemap
info: install plugin sitemap from npm (gitbook-plugin-sitemap) with version 1.1.0
info: >> plugin sitemap installed with success

Done, without error

from webpack-handbook.

zhaoda avatar zhaoda commented on May 15, 2024

@jiushiliu 这句是启动gitbook服务,日志如下

➜  webpack-handbook git:(master) gitbook serve ./content ./gh-pages
Live reload server started on port: 35729
Press CTRL+C to quit ...

info: loading book configuration....OK
info: load plugin gitbook-plugin-github ....OK
info: load plugin gitbook-plugin-editlink ....OK
info: load plugin gitbook-plugin-prism ....OK
info: load plugin gitbook-plugin-baidu ....OK
info: load plugin gitbook-plugin-ad ....OK
info: load plugin gitbook-plugin-sitemap ....OK
info: load plugin gitbook-plugin-highlight ....OK
info: load plugin gitbook-plugin-search ....OK
info: load plugin gitbook-plugin-sharing ....OK
info: load plugin gitbook-plugin-fontsettings ....OK
info: load plugin gitbook-plugin-livereload ....OK
info: >> 11 plugins loaded
info: start generation with website generator
info: clean website generator
info: OK
info: generation is finished

Starting server ...
Serving book on http://localhost:4000

from webpack-handbook.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.