Package Details: proto 0.42.2-1

Git Clone URL: https://aur.archlinux.org/proto.git (read-only, click to copy)
Package Base: proto
Description: Pluggable multi-language version manager
Upstream URL: https://github.com/moonrepo/proto
Keywords: bun deno nodejs version-manager
Licenses: MIT
Submitter: phnx47
Maintainer: phnx47
Last Packager: phnx47
Votes: 4
Popularity: 0.25
First Submitted: 2023-05-05 16:50 (UTC)
Last Updated: 2024-11-20 02:22 (UTC)

Required by (0)

Sources (1)

Latest Comments

phnx47 commented on 2024-06-08 05:34 (UTC)

proto::shim::missing_binary error fixed in v0.36.1.

usagiga commented on 2024-05-30 12:45 (UTC)

@phnx47 Thank you for your investigation and your kindness. For now, I'll resolve my problem by this solution.

By the way, I'm wondering if this is a bug or if there're some reasons for this change. I'll keep an eye on the issue.

phnx47 commented on 2024-05-30 09:49 (UTC) (edited on 2024-05-30 17:31 (UTC) by phnx47)

Raised issue in the upstream proto#490


As temporary solution you can create a symlink

ln -s /usr/bin/proto-shim ~/.proto/bin/proto-shim

or

ln -s /usr/bin/proto-shim ${PROTO_HOME}/bin/proto-shim

or export PROTO_LOOKUP_DIR

export PROTO_LOOKUP_DIR=/usr/bin

phnx47 commented on 2024-05-28 15:48 (UTC)

@usagiga Oh, yes, something seems changed, I will investigate it.

usagiga commented on 2024-05-28 15:42 (UTC)

I'm encountering an error while trying to install some tools using proto install. The error message is below:

Error: proto::shim::missing_binary

Unable to create shims as the proto-shim binary cannot be found.
Looked in the PROTO_HOME environment variable and ~/.proto/bin directory.

It seems the PKGBUILD script might be incorrect. For proto install to function properly, proto-shims should be located at ${PROTO_HOME}/bin or ~/.proto/bin/.