-
Notifications
You must be signed in to change notification settings - Fork 90
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
build with error Command failed with signal "SIGSEGV"
.
#47
Comments
The Before I got time to investigate this problem, could you try to set |
I changed |
Update: Initialize an empty docusaurus document project using: npx @docusaurus/init@latest init my-website classic # docusaurus 2.0.0-alpha70
cd my-website then follow docusaurus-search-local document to add search support: yarn add @easyops-cn/docusaurus-search-local # v0.14.4
yarn add nodejieba #2.5.1
vi docusaurus.config.js # set search plugin and add Chinese language support by setting `language: ["en", "zh"],` Last, build it: yarn build It still exit with |
This seems to be a known issue. I have reproduced the problem. And I also tried to downgrade nodejieba to v2.4.2, It builds successfully. So you can pin nodejieba in your package.json to |
Fix nodejieba build error: "SIGSEGV" building error and "no module nodejieba.node" building error See merge request HPCDoc/clusters!33 see also easyops-cn/docusaurus-search-local#47 for "SIGSEGV" building error
Fixed by downgrading nodejieba to v2.4.2. |
When I use docusaurus-search-local to build my document static site, it raise an error without any more information even if I set
DEBUG=search-local:*
.Env
Steps
docker run -it --rm -v ${PWD}:/root/p --entrypoint ash node:14.15.3-alpine3.12
cd /root/p yarn install USE_LOCAL_SEARCH=ON yarn build
than there is an error like:
But, if I disable docusaurus-search-local plugin (just run
yarn build
), everything works fine.The text was updated successfully, but these errors were encountered: