Installing wrong Rivet CLI

from all the testing i’ve done, i’ve come to the guess that i have the wrong rivet and it’s stopping the right rivet from working. basically rivet run start does nothing, which is the same behavior for commands that don’t exist, rivet init gives an error about contracts file path not existing or something, and it just doesn’t work. this is on my brothers computer btw, on mine it works fine. on my brothers computer running rivet --version prints “1.0.7” or something like that and mine prints a small wall of text where the first line is “rivet cli”
11 Replies
Funded.
Funded.OP2y ago
we’ve been trying for like 2 hours sorry for low effort post
Nathan
Nathan2y ago
@Funded. nw, can you try upgrading yoru cli by re-running the install command? https://github.com/rivet-gg/cli
GitHub
GitHub - rivet-gg/cli
Contribute to rivet-gg/cli development by creating an account on GitHub.
Funded.
Funded.OP2y ago
we tried that before, nothing changed
Nathan
Nathan2y ago
basically rivet run start does nothing, which is the same behavior for commands that don’t exist, rivet init gives an error about contracts file path not existing or something, and it just doesn’t work. this is on my brothers computer btw, on mine it works fine.
can you send a screenshot of (a) the rivet init error and (b) what happens when you run rivet run start?
Wuht
Wuht2y ago
No description
Wuht
Wuht2y ago
No description
Funded.
Funded.OP2y ago
^^^
Nathan
Nathan2y ago
hmm, that looks like a different rivet (https://www.npmjs.com/package/rivet) can you install using this command? https://github.com/rivet-gg/cli?tab=readme-ov-file#installation
npm
rivet
Suite of utilities for working with the Rivet consumer-driven API contacts testing model.. Latest version: 1.0.7, last published: 7 years ago. Start using rivet in your project by running npm i rivet. There are no other projects in the npm registry using rivet.
GitHub
GitHub - rivet-gg/cli
Contribute to rivet-gg/cli development by creating an account on GitHub.
Wuht
Wuht2y ago
installed using powershell -Command "iwr https://raw.githubusercontent.com/rivet-gg/cli/main/install/windows.ps1 -useb | iex" and results are the same that is what I suspected but uninstalling doesn't seem to do anything
Nathan
Nathan2y ago
hmm, wondering if the bad rivet is clobbering the correct one. how did you install the other rivet? did you use npm install -g?
Wuht
Wuht2y ago
yes I think so ggs uninstalled fake rivet using npm remove -g rivet was trying to uninstall without global flag before

Did you find this page helpful?