Skip to content

[Feature Request] Check version between ./node_modules and standalone binary #484

@awildeep

Description

@awildeep

Description

Recently I upgraded from 0.4.x to 0.6.3 of Varlock and I use the 1password plugin. Post upgrade I was getting an error nearly identical to #442.

What happened:

  • I had installed Varlock via the standalone as 0.4.x, and in my project as 0.6.3. Then when I tried to execute code, I was apparently using the binary sometimes, and the version installed in my project other times, resulting as a issue like the one ticketed above.

Motivation

Reduce troubleshooting on end users. I was able to figure out my version disparity eventually, but the errors were misleading.

Proposed Solution

I am not sure of a great way to fix this issue, as I use Varlock inside my TypeScript project, and I am also using it for other languages. If we could get a check to see if running standalone; if the current path has Varlock installed, and if the versions match maybe?

Alternatives

No response

Additional Information

No response

Metadata

Metadata

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions