Skip to content

Conversation

@Tarquinen
Copy link
Collaborator

Summary

  • Fix auto-update feature failing to install new versions due to npm's lock file caching
  • Remove .package-lock.json from cache directory before running npm install to force fresh package resolution

Details

The auto-update feature was not working correctly because npm's .package-lock.json file in the ~/.cache/opencode/node_modules/ directory was pinning the installed version, preventing the update from installing. This fix removes that lock file before attempting the update.

The auto-update feature was failing to install new versions because npm's
.package-lock.json file in the cache directory was pinning the old version.
This fix removes the lock file before running npm install to force fresh
package resolution.
@Tarquinen Tarquinen merged commit 9f45c06 into master Dec 9, 2025
1 check passed
@Tarquinen Tarquinen deleted the fix/auto-update-lock-file-removal branch December 9, 2025 05:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants