-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
pnpm install shows errors #1234
Comments
are you using WSL 2? |
~/dev/eliza #v0.1.6-alpha.4 pnpm install ✔ 23.3.0 ⬢ 11:00:24 AM Your Node version is incompatible with "@lens-protocol/[email protected](@lens-protocol/[email protected])([email protected])([email protected])". Expected version: >=18 <21 This is happening because the package's manifest has an engines.node field specified. I get this issue as well |
no. I am in linux pop_os |
I run pnpm install on lunix the same error |
the same error |
thank you so much my friend, I have downgraded node version to 18 is command executed ok. It is confusing because in the documentation were written that it must be node version 23+ |
I have a hell of dependencies issues. How did you downgrade yours to version 18 without conflicting with other projects? Did you change the node engine specifications from 23+ to 18? |
I have seen this discord/opus error before.. try the fix in this file: https://heavenly-tellurium-f00.notion.site/Issues-15ee77534fe980b89fd6e92a5c80d5a0?pvs=4 let me know if it solves the issue. |
I Used nvm. in the nvm list I have node js version 18 and 23. and for Eliza project I used command "nvm use 18". |
thank you for offering me a potential solution. I have just downgraded node js version to 18 using nvm and it helped me. And it is ok for me to continue a journey to Eliza framework. |
@agyn-ub i have downgraded to nodejs 18 still facing same issue |
node_modules/@discordjs/opus: Running install script, failed in 3s |
I had the exact same error. I today I have tried with nvm node 23 and it is worked. I really wanna help to you, but I don't know what thing is exactly helped me. |
Hello, have you tried the Discord Opus solution in this guide? I had the same issue and this helped me solve. Please let me know if it helps to solve that error. https://heavenly-tellurium-f00.notion.site/Issues-15ee77534fe980b89fd6e92a5c80d5a0 |
I had this issue on Windows, but not Linux. I have been setting up Eliza Starter on both. On windows, I needed to ensure I had Ubuntu distro installed to WSL, and I had it running for good measure. That seemed to resolve one of my issues with Windows and node-gyp. I haven't run into the error on Linux. I am using Mint. |
Are you sure you're using Python 2.7.18 (final update for Python 2)? If you have python. If you have multiple versions of python on your machine, that could be the issue.
My base python is python 3. I am using miniconda to create different conda environments. The one I am using for this project has python 2.7.18 specified Part of your error message: "gyp info find Python using Python version 3.13.1 found at" |
@ileana-pr guide helped me resolve this issue successfully. Thank you ! |
Glad to help. Thanks for letting me know it worked for you. |
@ileana-pr
|
@Nith567 Looks like a vector mismatch error where discord-client is trying to create a memory but the sqlite adapter is not able to search by embedding. your database may be using a different embedding model than eliza. Check the @eliza/packages/core/src/embeddings.ts file for the configuration details and your .env file to make sure you are using the same provider. |
Ill try bro same issues so far |
I did everything as in tutorial in official documentation. And I run pnpm install
│ node-pre-gyp info it worked if it ends with ok
│ node-pre-gyp info using [email protected]
│ node-pre-gyp info using [email protected] | win32 | x64
│ (node:14056) [DEP0040] DeprecationWarning: The
punycode
module is deprecated. Please use a userland alternative instead.│ (Use
node --trace-deprecation ...
to show where the warning was created)│ node-pre-gyp info check checked for "C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_modules@discordjs\opus\prebu…
│ node-pre-gyp http GET https://github.com/discordjs/opus/releases/download/v0.9.0/opus-v0.9.0-node-v131-napi-v3-win32-x64-un…
│ node-pre-gyp ERR! install response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.9.0/opus-…
│ node-pre-gyp WARN Pre-built binaries not installable for @discordjs/[email protected] and [email protected] (node-v131 ABI, unknown) (fa…
│ node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/discordjs/opus/releases/download/v0.9.0/opu…
│ gyp info it worked if it ends with ok
│ gyp info using [email protected]
│ gyp info using [email protected] | win32 | x64
│ gyp info ok
│ gyp info it worked if it ends with ok
│ gyp info using [email protected]
│ gyp info using [email protected] | win32 | x64
│ gyp info find Python using Python version 3.13.1 found at "C:\Users\agynb\AppData\Local\Programs\Python\Python313\python.ex…
│ gyp ERR! find VS
│ gyp ERR! find VS msvs_version not set from command line or npm config
│ gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
│ gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try re-running with '--loglevel silly' for m…
│ gyp ERR! find VS
│ gyp ERR! find VS Failure details: undefined
│ gyp ERR! find VS checking VS2022 (17.11.35327.3) found at:
│ gyp ERR! find VS "C:\Program Files\Microsoft Visual Studio\2022\Community"
│ gyp ERR! find VS - found "Visual Studio C++ core features"
│ gyp ERR! find VS - missing any VC++ toolset
│ gyp ERR! find VS could not find a version of Visual Studio 2017 or newer to use
│ gyp ERR! find VS not looking for VS2017 as it is only supported up to Node.js 21
│ gyp ERR! find VS not looking for VS2017 as it is only supported up to Node.js 21
│ gyp ERR! find VS not looking for VS2017 as it is only supported up to Node.js 21
│ gyp ERR! find VS not looking for VS2015 as it is only supported up to Node.js 18
│ gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
│ gyp ERR! find VS
│ gyp ERR! find VS **************************************************************
│ gyp ERR! find VS You need to install the latest version of Visual Studio
│ gyp ERR! find VS including the "Desktop development with C++" workload.
│ gyp ERR! find VS For more information consult the documentation at:
│ gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
│ gyp ERR! find VS **************************************************************
│ gyp ERR! find VS
│ gyp ERR! configure error
│ gyp ERR! stack Error: Could not find any Visual Studio installation to use
│ gyp ERR! stack at VisualStudioFinder.fail (C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_modules\node-gyp\lib\fi…
│ gyp ERR! stack at VisualStudioFinder.findVisualStudio (C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_modules\nod…
│ gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
│ gyp ERR! stack at async createBuildDir (C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_modules\node-gyp\lib\confi…
│ gyp ERR! stack at async run (C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_modules\node-gyp\bin\node-gyp.js:81:1…
│ gyp ERR! System Windows_NT 10.0.26100
│ gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_mo…
│ gyp ERR! cwd C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_modules@discordjs\opus
│ gyp ERR! node -v v23.3.0
│ gyp ERR! node-gyp -v v10.3.1
│ gyp ERR! not ok
│ node-pre-gyp ERR! build error
│ node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\agynb\OneDrive\Рабочий стол\Eli…
│ node-pre-gyp ERR! stack at ChildProcess. (C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_modules@…
│ node-pre-gyp ERR! stack at ChildProcess.emit (node:events:513:28)
│ node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1101:16)
node_modules/canvas: Running install script, failed in 10.7s (skipped as optional)process:305:5)
│ node-pre-gyp ERR! System Windows_NT 10.0.26100
│ node-pre-gyp ERR! command "C:\Program Files\nodejs\node.exe" "C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza…
│ node-pre-gyp ERR! cwd C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_modules@discordjs\opus
│ node-pre-gyp ERR! node -v v23.3.0
│ node-pre-gyp ERR! node-pre-gyp -v v0.4.5
│ node-pre-gyp ERR! not ok
│ Failed to execute 'C:\Program Files\nodejs\node.exe C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_modules\node-g…
└─ Failed in 10.4s at C:\Users\agynb\OneDrive\Рабочий стол\Eliza\f1\eliza\node_modules@discordjs\opus
The text was updated successfully, but these errors were encountered: