GithubHelp home page GithubHelp logo

Comments (8)

yanyiwu avatar yanyiwu commented on August 15, 2024

@sinalvee 请问一下,你是编译 node失败,还是编译 nodejieba 失败。

from nodejieba.

sinalvee avatar sinalvee commented on August 15, 2024

@yanyiwu 我用gitbook安装search-pro的时候编译nodejieba失败,错误提示就是【.node-gyp/4.2.2/common.gypi not found】,npm直接安装nodejieba正常,好奇怪。

from nodejieba.

yanyiwu avatar yanyiwu commented on August 15, 2024

@sinalvee

  1. 哦我才知道有gitbook的插件使用了nodejieba支持中文搜索,很酷!
  2. 目测可能是你安装 search-pro 时候的问题吧,应该不是 nodejieba 的问题,不过具体定位问题可能得需要我也使用一下 gitbook 试试,才能定位。我以前没有使用过 gitbook 的插件。

from nodejieba.

yanyiwu avatar yanyiwu commented on August 15, 2024

@sinalvee 很忧伤,gitbook init 一直在installing。。。你那边能不能把完整的报错信息贴一下呢?

from nodejieba.

sinalvee avatar sinalvee commented on August 15, 2024

@yanyiwu 我也很忧伤 :( ,gitbook install打不出全部的log,只有一点点错误信息

info: install plugin search-pro from npm (gitbook-plugin-search-pro) with version 1.0.5
(node) child_process: options.customFds option is deprecated. Use options.stdio instead.
gyp: /home/sinalvee/.node-gyp/4.2.2/common.gypi not found (cwd: /home/sinalvee/github/hbu-wiki/node_modules/gitbook-plugin-search-pro/node_modules/nodejieba) while reading includes of binding.gyp while trying to load binding.gyp

Error: [email protected] install: node-gyp rebuild
Exit status 1

gitbook使用npmi包来安装插件,loglevel是silent,我把loglevel改成info之后还是这些错误信息,而且npm-debug.log文件也没有生成。。

from nodejieba.

sinalvee avatar sinalvee commented on August 15, 2024

搞清楚了!!!
gitbook使用的npm版本是2.4.1,[email protected]修复了这个issue!
怪不得gitbook install报错,直接npm install正常。
请允许我做一个日狗的表情。。。

from nodejieba.

yanyiwu avatar yanyiwu commented on August 15, 2024

@sinalvee 赞!修复了就好。

from nodejieba.

xunuo avatar xunuo commented on August 15, 2024

@sinalvee 赞!修复了就好。

from nodejieba.

Related Issues (20)

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.