FlowiseAI / Flowise

Drag & drop UI to build your customized LLM flow
https://flowiseai.com
Apache License 2.0
31.35k stars 16.31k forks source link

sudo npm install -g flowise failed #1565

Closed Demi18 closed 7 months ago

Demi18 commented 9 months ago

Issued sudo npm install -g flowise

npm WARN ERESOLVE overriding peer dependency
npm WARN deprecated @npmcli/move-file@1.1.2: This functionality has been moved to @npmcli/fs
npm WARN deprecated @babel/plugin-proposal-class-properties@7.18.6: This proposal has been merged to the ECMAScript standard and thus this plugin is no longer maintained. Please use @babel/plugin-transform-class-properties instead.
npm WARN deprecated abab@2.0.6: Use your platform's native atob() and btoa() methods instead
npm WARN deprecated domexception@4.0.0: Use your platform's native DOMException instead
npm WARN deprecated cross-spawn-async@2.2.5: cross-spawn no longer requires a build toolchain, use it instead
npm WARN deprecated vm2@3.9.19: The library contains critical security issues and should not be used for production! The maintenance of the project has been discontinued. Consider migrating your code to isolated-vm.
npm WARN deprecated puppeteer@19.11.1: < 21.3.7 is no longer supported
npm WARN deprecated puppeteer@20.9.0: < 21.3.7 is no longer supported
npm WARN deprecated highlight.js@9.15.10: Version no longer supported. Upgrade to @latest
npm ERR! code 1
npm ERR! path /usr/local/lib/node_modules/flowise/node_modules/flowise-components/node_modules/faiss-node
npm ERR! command failed
npm ERR! command sh -c prebuild-install --runtime napi --verbose || (npm i cmake-js && npm run build)
npm ERR! changed 70 packages in 2s
npm ERR! 
npm ERR! 5 packages are looking for funding
npm ERR!   run `npm fund` for details
npm ERR! 
npm ERR! > faiss-node@0.2.3 build
npm ERR! > cmake-js compile
npm ERR! prebuild-install info begin Prebuild-install version 7.1.1
npm ERR! prebuild-install info looking for local prebuild @ prebuilds/faiss-node-v0.2.3-napi-v8-darwin-arm64.tar.gz
npm ERR! prebuild-install info looking for cached prebuild @ /Users/demi/.npm/_prebuilds/224c8b-faiss-node-v0.2.3-napi-v8-darwin-arm64.tar.gz
npm ERR! prebuild-install http request GET https://github.com/ewfian/faiss-node/releases/download/v0.2.3/faiss-node-v0.2.3-napi-v8-darwin-arm64.tar.gz
npm ERR! prebuild-install warn install Request timed out
npm ERR! info TOOL Using Unix Makefiles generator.
npm ERR! info REP Build has been failed, trying to do a full rebuild.
npm ERR! ERR! OMG CMake executable is not found. Please use your system's package manager to install it, or you can get installers from there: http://cmake.org.
vpb11 commented 9 months ago

2 days now I have been trying to install Flowise, I have tried multiple ubuntu servers and yet nothing, even swapped out my ISO and tried multiple versions of ubuntu, tried many fixes and yet, nothing :/ Really hope these install issues get fixed as I really want to try out Flowise!

dctmfoo commented 8 months ago

I had similar issues but running the install command as root worked well!

NAME-NikhilPatil commented 8 months ago

I am also facing the same problem:((