ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL #8908
Unanswered
andrewfurukawa
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey all, I'm trying to run the bot, but I'm getting this error - looked at the similar discussion but couldn't tell if there was a resolution.
Running windows 11
Here is the full script that runs:
PS C:\WINDOWS\eliza> npm start
. | WARN Unsupported engine: wanted: {"node":"23.3.0"} (current: {"node":"v23.5.0","pnpm":"9.14.4"})
docs | WARN Unsupported engine: wanted: {"node":"23.3.0"} (current: {"node":"v23.5.0","pnpm":"9.14.4"})
(node:10548) ExperimentalWarning:
--experimental-loader
may be removed in the future; instead useregister()
:--import 'data:text/javascript,import { register } from "node:module"; import { pathToFileURL } from "node:url"; register("ts-node/esm", pathToFileURL("./"));'
(Use
node --trace-warnings ...
to show where the warning was created)(node:10548) [DEP0180] DeprecationWarning: fs.Stats constructor is deprecated.
(Use
node --trace-deprecation ...
to show where the warning was created)node:internal/modules/run_main:104
triggerUncaughtException(
^
Error: Cannot find package 'dotenv' imported from C:\Windows\node_modules@ai16z\eliza\dist\index.js
at packageResolve (C:\Windows\eliza\node_modules\ts-node\dist-raw\node-internal-modules-esm-resolve.js:757:9)
at moduleResolve (C:\Windows\eliza\node_modules\ts-node\dist-raw\node-internal-modules-esm-resolve.js:798:18)
at Object.defaultResolve (C:\Windows\eliza\node_modules\ts-node\dist-raw\node-internal-modules-esm-resolve.js:912:11)
at C:\Windows\eliza\node_modules\ts-node\src\esm.ts:218:35
at entrypointFallback (C:\Windows\eliza\node_modules\ts-node\src\esm.ts:168:34)
at C:\Windows\eliza\node_modules\ts-node\src\esm.ts:217:14
at addShortCircuitFlag (C:\Windows\eliza\node_modules\ts-node\src\esm.ts:409:21)
at resolve (C:\Windows\eliza\node_modules\ts-node\src\esm.ts:197:12)
at nextResolve (node:internal/modules/esm/hooks:748:28)
at Hooks.resolve (node:internal/modules/esm/hooks:240:30)
Node.js v23.5.0
C:\Windows\eliza\agent:
ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL @elizaos/[email protected] start:
node --loader ts-node/esm src/index.ts "--isRoot"
Exit status 1
Any help would be much appreciated. I don't know much coding, I apologize. Trying to get this bot to start posting to X.
Thank you.
Beta Was this translation helpful? Give feedback.
All reactions