You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When attempting to build with yarn build, I received the below errors.
It looks like it's trying to build with a version of nodejieba that doesn't exist. The latest version is 2.5.2, not 2.6.0.
Looking into the issue tracker, it appears to have been pulled at the moment due to issues, with the recommendation to use 2.5.2.
[redacted]@[redacted]s-MacBook-Pro KnowledgeBase % yarn install
yarn install v1.22.19
[1/4] 🔍 Resolving packages...
[2/4] 🚚 Fetching packages...
[3/4] 🔗 Linking dependencies...
warning " > file-loader@6.2.0" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning "@docusaurus/core > react-loadable-ssr-addon-v5-slorber@1.0.1" has unmet peer dependency "react-loadable@*".
warning " > url-loader@4.1.1" has unmet peer dependency "webpack@^4.0.0 || ^5.0.0".
warning "@docusaurus/core > react-dev-utils > fork-ts-checker-webpack-plugin@6.5.2" has unmet peer dependency "typescript@>= 2.7".
warning "@docusaurus/plugin-ideal-image > @endiliey/react-ideal-image@0.0.11" has unmet peer dependency "prop-types@>=15".
warning "@docusaurus/preset-classic > @docusaurus/theme-search-algolia > @docsearch/react@3.2.0" has unmet peer dependency "@types/react@>= 16.8.0 < 19.0.0".
warning "docusaurus-theme-search-typesense > algoliasearch-helper@3.11.0" has unmet peer dependency "algoliasearch@>= 3.1 < 6".
warning "docusaurus-theme-search-typesense > typesense-docsearch-react > @algolia/autocomplete-preset-algolia@1.7.1" has unmet peer dependency "@algolia/client-search@^4.9.1".
warning "docusaurus-theme-search-typesense > typesense-docsearch-react > @algolia/autocomplete-preset-algolia@1.7.1" has unmet peer dependency "algoliasearch@^4.9.1".
warning " > docusaurus-theme-search-typesense@0.8.0" has unmet peer dependency "@docusaurus/theme-common@2.2.0".
warning "docusaurus-theme-search-typesense > typesense-docsearch-react@0.2.3" has unmet peer dependency "@types/react@>= 16.8.0 < 19.0.0".
warning "docusaurus-theme-search-typesense > typesense-instantsearch-adapter@2.4.2" has unmet peer dependency "@babel/runtime@^7.17.2".
warning "docusaurus-theme-search-typesense > typesense-docsearch-react > typesense@1.4.4" has unmet peer dependency "@babel/runtime@^7.17.2".
[4/4] 🔨 Building fresh packages...
[-/5] ⠁ waiting...
[-/5] ⠁ waiting...
[3/5] ⠁ sharp
[-/5] ⠁ waiting...
error /Users/[redacted]/Documents/GitHub/KnowledgeBase/node_modules/nodejieba: Command failed.
Exit code: 1
Command: node-pre-gyp install --fallback-to-build
Arguments:
Directory: /Users/[redacted]/Documents/GitHub/KnowledgeBase/node_modules/nodejieba
Output:
node-pre-gyp info it worked if it ends with ok
node-pre-gyp info using node-pre-gyp@1.0.9
node-pre-gyp info using node@20.4.0 | darwin | x64
node-pre-gyp info check checked for "/Users/[redacted]/Documents/GitHub/KnowledgeBase/node_modules/nodejieba/build/Release/nodejieba.node" (not found)
node-pre-gyp http GET https://github.com/yanyiwu/nodejieba/releases/download/v2.6.0/nodejieba-v2.6.0-node-v115-darwin-x64.tar.gz
node-pre-gyp ERR! install response status 404 Not Found on https://github.com/yanyiwu/nodejieba/releases/download/v2.6.0/nodejieba-v2.6.0-node-v115-darwin-x64.tar.gz
node-pre-gyp WARN Pre-built binaries not installable for nodejieba@2.6.0 and node@20.4.0 (node-v115 ABI, unknown) (falling back to source compile with node-gyp)
node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/yanyiwu/nodejieba/releases/download/v2.6.0/nodejieba-v2.6.0-node-v115-darwin-x64.tar.gz
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp clean' (Error: spawn node-gyp ENOENT)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/[redacted]/Documents/GitHub/KnowledgeBase/node_modules/@mapbox/node-pre-gyp/lib/util/compile.js:83:23)
node-pre-gyp ERR! stack at ChildProcess.emit (node:events:512:28)
node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:291:12)
node-pre-gyp ERR! stack at onErrorNT (node:internal/child_process:483:16)
node-pre-gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:82:21)
node-pre-gyp ERR! System Darwin 22.5.0
node-pre-gyp ERR! command "/usr/local/Cellar/node/20.4.0/bin/node" "/Users/[redacted]/Documents/GitHub/KnowledgeBase/node_modules/nodejieba/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build"
node-pre-gyp ERR! cwd /Users/[redacted]/Documents/GitHub/KnowledgeBase/node_modules/nodejieba
node-pre-gyp ERR! node -v v20.4.0
The text was updated successfully, but these errors were encountered:
When attempting to build with
yarn build
, I received the below errors.It looks like it's trying to build with a version of nodejieba that doesn't exist. The latest version is 2.5.2, not 2.6.0.
Looking into the issue tracker, it appears to have been pulled at the moment due to issues, with the recommendation to use 2.5.2.
The text was updated successfully, but these errors were encountered: