Skip to content
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

Problems with installation.I need help with this. #2390

Open
8draco8 opened this issue May 11, 2024 · 3 comments
Open

Problems with installation.I need help with this. #2390

8draco8 opened this issue May 11, 2024 · 3 comments
Labels
setup Setup related issues

Comments

@8draco8
Copy link

8draco8 commented May 11, 2024

npm install -g flowise

설치 중에서 이런 에러가 나타난다.

E:\aiprogram\Flowise>npm install -g flowise
npm warn ERESOLVE overriding peer dependency
npm warn While resolving: [email protected]
npm warn Found: @google/[email protected]
npm warn node_modules/flowise/node_modules/llamaindex/node_modules/@google/generative-ai
npm warn @google/generative-ai@"^0.8.0" from [email protected]
npm warn node_modules/flowise/node_modules/llamaindex
npm warn llamaindex@"^0.2.1" from [email protected]
npm warn node_modules/flowise/node_modules/flowise-components
npm warn
npm warn Could not resolve dependency:
npm warn peerOptional @google/generative-ai@"^0.1.1" from [email protected]
npm warn node_modules/flowise/node_modules/llamaindex/node_modules/chromadb
npm warn chromadb@"~1.7.3" from [email protected]
npm warn node_modules/flowise/node_modules/llamaindex
npm warn
npm warn Conflicting peer dependency: @google/[email protected]
npm warn node_modules/@google/generative-ai
npm warn peerOptional @google/generative-ai@"^0.1.1" from [email protected]
npm warn node_modules/flowise/node_modules/llamaindex/node_modules/chromadb
npm warn chromadb@"~1.7.3" from [email protected]
npm warn node_modules/flowise/node_modules/llamaindex
npm warn EBADENGINE Unsupported engine {
npm warn EBADENGINE package: '[email protected]',
npm warn EBADENGINE required: { node: '>=18.15.0 <19.0.0 || ^20' },
npm warn EBADENGINE current: { node: 'v22.1.0', npm: '10.7.0' }
npm warn EBADENGINE }
npm warn deprecated [email protected]: cross-spawn no longer requires a build toolchain, use it instead
npm warn deprecated @babel/[email protected]: 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 @npmcli/[email protected]: This functionality has been moved to @npmcli/fs
npm warn deprecated [email protected]: Use mz or fs-extra^3.0 with Promise Support
npm warn deprecated [email protected]: < 21.9.0 is no longer supported
npm warn deprecated [email protected]: Use your platform's native DOMException instead
npm warn deprecated [email protected]: Use your platform's native atob() and btoa() methods instead
npm warn deprecated [email protected]: 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 @oclif/[email protected]: Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.
npm warn deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm warn deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm warn deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm warn deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm warn deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm warn deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm warn deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm warn deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm warn deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm warn deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm warn deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm warn deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm warn deprecated [email protected]: Critical bug fixed in v3.0.1, please upgrade to the latest version.
npm warn deprecated [email protected]: Version no longer supported. Upgrade to @latest
npm warn deprecated [email protected]: < 21.9.0 is no longer supported
npm warn cleanup Failed to remove some directories [
npm warn cleanup [
npm warn cleanup 'C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise\node_modules\sqlite3',
npm warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise\node_modules\sqlite3'] {
npm warn cleanup errno: -4082,
npm warn cleanup code: 'EBUSY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise\node_modules\sqlite3'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise\node_modules\faiss-node',
npm warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise\node_modules\faiss-node'] {
npm warn cleanup errno: -4082,
npm warn cleanup code: 'EBUSY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise\node_modules\faiss-node'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise\node_modules\grpc-tools',
npm warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise\node_modules\grpc-tools'] {
npm warn cleanup errno: -4082,
npm warn cleanup code: 'EBUSY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise\node_modules\grpc-tools'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise\node_modules\canvas',
npm warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise\node_modules\canvas'] {
npm warn cleanup errno: -4082,
npm warn cleanup code: 'EBUSY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise\node_modules\canvas'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise\node_modules',
npm warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise\node_modules\canvas'] {
npm warn cleanup errno: -4082,
npm warn cleanup code: 'EBUSY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise\node_modules\canvas'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise',
npm warn cleanup [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise\node_modules\faiss-node'] {
npm warn cleanup errno: -4082,
npm warn cleanup code: 'EBUSY',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise\node_modules\faiss-node'
npm warn cleanup }
npm warn cleanup ],
npm warn cleanup [
npm warn cleanup 'C:\Users\DRACO\AppData\Roaming\npm\node_modules',
npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise\node_modules\llamaindex\node_modules'] {
npm warn cleanup errno: -4048,
npm warn cleanup code: 'EPERM',
npm warn cleanup syscall: 'rmdir',
npm warn cleanup path: 'C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise\node_modules\llamaindex\node_modules'
npm warn cleanup }
npm warn cleanup ]
npm warn cleanup ]
npm error code 1
npm error path C:\Users\DRACO\AppData\Roaming\npm\node_modules\flowise\node_modules\sharp
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c (node install/libvips && node install/dll-copy && prebuild-install) || (node install/can-compile && node-gyp rebuild && node install/dll-copy)
npm error sharp: Downloading https://github.com/lovell/sharp-libvips/releases/download/v8.14.5/libvips-8.14.5-win32-x64.tar.br
npm error sharp: Please see https://sharp.pixelplumbing.com/install for required dependencies
npm error sharp: Installation error: aborted

npm error A complete log of this run can be found in: C:\Users\DRACO\AppData\Local\npm-cache_logs\2024-05-11T04_36_47_439Z-debug-0.log

windows 11/ node v22.1.0 / npm 10.7.0

I deleted the node and tried both reinstalling and downgrading, but it didn't work.I need help with this.

@HenryHengZJ HenryHengZJ added the setup Setup related issues label May 13, 2024
@HenryHengZJ
Copy link
Contributor

this looks like some error with node-gyp, can you try npm install -g node-gyp ?

@zhaoyong5555
Copy link

I have the same issue

@8draco8
Copy link
Author

8draco8 commented May 14, 2024

I tried npm install -g node-gyp and it didn't work, so I'm running it in docker.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
setup Setup related issues
Projects
None yet
Development

No branches or pull requests

3 participants