Comments (8)
@sinalvee 请问一下,你是编译 node失败,还是编译 nodejieba 失败。
from nodejieba.
@yanyiwu 我用gitbook安装search-pro的时候编译nodejieba失败,错误提示就是【.node-gyp/4.2.2/common.gypi not found】,npm直接安装nodejieba正常,好奇怪。
from nodejieba.
- 哦我才知道有gitbook的插件使用了nodejieba支持中文搜索,很酷!
- 目测可能是你安装 search-pro 时候的问题吧,应该不是 nodejieba 的问题,不过具体定位问题可能得需要我也使用一下 gitbook 试试,才能定位。我以前没有使用过 gitbook 的插件。
from nodejieba.
@sinalvee 很忧伤,gitbook init 一直在installing。。。你那边能不能把完整的报错信息贴一下呢?
from nodejieba.
@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.gypError: [email protected] install:
node-gyp rebuild
Exit status 1
gitbook使用npmi包来安装插件,loglevel是silent,我把loglevel改成info之后还是这些错误信息,而且npm-debug.log文件也没有生成。。
from nodejieba.
搞清楚了!!!
gitbook使用的npm版本是2.4.1,[email protected]修复了这个issue!
怪不得gitbook install报错,直接npm install正常。
请允许我做一个日狗的表情。。。
from nodejieba.
@sinalvee 赞!修复了就好。
from nodejieba.
@sinalvee 赞!修复了就好。
from nodejieba.
Related Issues (20)
- Unable to compile on Windows 11 with node-jieba 2.5.2/2.6.0 HOT 3
- The reason why installation failed on CentOS may be the version number
- 在老项目中 node 5.1.0,nodejieba v1.0.0,执行不下去的问题
- 老大,啥时候能解决v2.6.0发版问题呀 HOT 5
- README 中的文章都访问不了,大佬可以更新一下嘛,想看看实现思路 HOT 3
- 请问有没有同学遇到alinode(fully-static)动态加载的问题
- unable to install [email protected] for arch=aarch HOT 2
- Cannot build nodejieba with Node 18 HOT 2
- can not build in electron HOT 2
- 在線演示的網站倒了,打算轉用github pages或其他工具嗎?
- Does not segment 民不畏死 from the Tao Te Ching?
- Lacking of maintenance HOT 7
- Dict update
- 安装2.5.2失败 HOT 15
- 从2.6.0降低版本安装2.5.2 服务器报错 error: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.20' not found HOT 1
- 安装,找不到 nodejieba包 HOT 1
- cannot build in electron 20, node 16
- nodejieba.node is not a valid Win32 application HOT 5
- npm i error HOT 1
- 为什么windows不支持了,binary没法下载
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nodejieba.