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

pnpm outdated lockfile error #2215

Closed
piquebu opened this issue Jan 12, 2025 · 7 comments
Closed

pnpm outdated lockfile error #2215

piquebu opened this issue Jan 12, 2025 · 7 comments
Labels
bug Something isn't working

Comments

@piquebu
Copy link

piquebu commented Jan 12, 2025

 ERR_PNPM_OUTDATED_LOCKFILE  Cannot install with "frozen-lockfile" because pnpm-lock.yaml is not up to date with /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"})
@piquebu piquebu added the bug Something isn't working label Jan 12, 2025
Copy link
Contributor

Hello @piquebu! Welcome to the elizaOS community. Thank you for opening your first issue; we appreciate your contribution. You are now an elizaOS contributor!

@unordered-set
Copy link

So, have you tried, as this thingy recommends, pnpm install --no-frozen-lockfile ?

@piquebu
Copy link
Author

piquebu commented Jan 12, 2025

Yes I did, also tried older releases which solved the issue. Now I'm just stuck in pnpm build. Turbo not found.

@Surajbnp
Copy link

Surajbnp commented Jan 15, 2025

Screenshot 2025-01-15 170000

getting this error
used this command
pnpm install --no-frozen-lockfile

@wesfloyd
Copy link

This error occurs for me also, but only under the develop branch, not main

@wesfloyd
Copy link

wesfloyd commented Jan 15, 2025

Perhaps this small PR would fix the branch for us? #2330

Or should this be fixed in the ci-cd for this branch 🤔 ?

@AIFlowML
Copy link
Collaborator

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants