pnpm outdated lockfile error
ERR_PNPM_OUTDATED_LOCKFILE Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with <ROOT>/package.json
Note that in CI environments this setting is true by default. If you still need to run install in such cases, use "pnpm install --no-frozen-lockfile"
Failure reason:
specifiers in the lockfile ({"@0glabs/0g-ts-sdk":"0.2.1","@coinbase/coinbase-sdk":"0.10.0","@deepgram/sdk":"^3.9.0","@vitest/eslint-plugin":"1.0.1","amqplib":"0.10.5","csv-parse":"5.6.0","ollama-ai-provider":"0.16.1","optional":"0.1.4","pnpm":"9.14.4","sharp":"0.33.5","tslog":"4.9.3","@commitlint/cli":"18.6.1","@commitlint/config-conventional":"18.6.3","@types/jest":"^29.5.11","@typescript-eslint/eslint-plugin":"8.16.0","@typescript-eslint/parser":"8.16.0","concurrently":"9.1.0","cross-env":"7.0.3","eslint":"9.16.0","eslint-config-prettier":"9.1.0","husky":"9.1.7","jest":"^29.7.0","lerna":"8.1.5","only-allow":"1.2.1","prettier":"3.4.1","ts-jest":"^29.1.1","turbo":"2.3.3","typedoc":"0.26.11","typescript":"5.6.3","viem":"2.21.58","vite":"5.4.11","vitest":"2.1.5"}) don't match specs in package.json ({"@commitlint/cli":"18.6.1","@commitlint/config-conventional":"18.6.3","@types/jest":"^29.5.11","@typescript-eslint/eslint-plugin":"8.16.0","@typescript-eslint/parser":"8.16.0","@vitest/eslint-plugin":"1.0.1","concurrently":"9.1.0","cross-env":"7.0.3","eslint":"9.16.0","eslint-config-prettier":"9.1.0","husky":"9.1.7","jest":"^29.7.0","lerna":"8.1.5","only-allow":"1.2.1","prettier":"3.4.1","ts-jest":"^29.1.1","turbo":"2.3.3","typedoc":"0.26.11","typescript":"5.6.3","viem":"2.21.58","vite":"5.4.11","vitest":"2.1.5","@0glabs/0g-ts-sdk":"0.2.1","@coinbase/coinbase-sdk":"0.10.0","@deepgram/sdk":"^3.9.0","amqplib":"0.10.5","csv-parse":"5.6.0","langdetect":"^0.2.1","ollama-ai-provider":"0.16.1","optional":"0.1.4","pnpm":"9.14.4","sharp":"0.33.5","tslog":"4.9.3"})
Hello @piquebu! Welcome to the elizaOS community. Thank you for opening your first issue; we appreciate your contribution. You are now an elizaOS contributor!
So, have you tried, as this thingy recommends, pnpm install --no-frozen-lockfile ?
Yes I did, also tried older releases which solved the issue. Now I'm just stuck in pnpm build. Turbo not found.
getting this error used this command pnpm install --no-frozen-lockfile
This error occurs for me also, but only under the develop branch, not main
Perhaps this small PR would fix the branch for us? https://github.com/elizaOS/eliza/pull/2330
Or should this be fixed in the ci-cd for this branch 🤔 ?
The use of pnpm install --no-frozen-lockfile can occur because of a malformed lock or also when we are developing and run multiple times the pnpm install pnpm build combination.
the command is legit so when you get locked just skip the lock with this pnpm install --no-frozen-lockfile