Skip to content
This repository has been archived by the owner on Mar 26, 2021. It is now read-only.

[Feature Request] Install locally #132

Open
lonix1 opened this issue Feb 11, 2019 · 7 comments
Open

[Feature Request] Install locally #132

lonix1 opened this issue Feb 11, 2019 · 7 comments

Comments

@lonix1
Copy link

lonix1 commented Feb 11, 2019

I installed via npm i -D @strest/cli, and installed the vscode plugin. When I run it I with ctrl+alt+r I get the error

/bin/sh: 1: strest: not found

The docs say to install globally, presumably then it would work. Many people don't install anything globally, ever, other than npm itself.

Please tell me to how I can make this work?

If it's not currently possible, please add the ability to install locally. Or perhaps add a config file, so we can specify where to find the executable, or that it should run using npx.

@lonix1 lonix1 changed the title [Feature Request] Install locallst [Feature Request] Install locally Feb 11, 2019
@lonix1
Copy link
Author

lonix1 commented Feb 11, 2019

I nonetheless tried a global install, and that didn't work... :(

@jgroom33
Copy link
Collaborator

does yarn work?

@lonix1
Copy link
Author

lonix1 commented Feb 11, 2019

@jgroom33 I don't know anything about yarn...

@jgroom33
Copy link
Collaborator

yarn is a newer package manager than npm

@lonix1
Copy link
Author

lonix1 commented Feb 12, 2019

But presumably it will also install to /bin, so the original problem holds. A local install is the safest option.

If that's not viable, feel free to close. Maybe we can talk about it again if this gets upvotes / interest?

@jgroom33
Copy link
Collaborator

I think since it is a cli tool that requiring global install is acceptable.
But if there is another/better option, it should be implemented.

@jgroom33
Copy link
Collaborator

The plugin should be implemented by using strest as an api instead of launching a shell.
There is no API for strest currently.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants