Open jkhartshorne opened 2 months ago
Looks like this was an issue with yarn. We are using version 1, but current version is 3. It may be a lot of work to migrate and we might want npm instead, so we're going to put off worrying about this.
I still occasionally get this error with install site
and install experiment
. It seems to happen pretty randomly -- maybe it has to do with internet connection? If it happens with site
, you can delete everything in the site directory and try again. Usually it will work on a second try. If it happens with experiment
, you can use the remove experiment
to delete the half-installed experiment.
EDIT: One situation where I haven't experienced this error at all is testing in Codespaces. We have setup instructions here. You can make a Codespace from whatever branch you're working on and create a folder called "testing" (already gitignored) where you put your test site.
I'm trying to get the latest version of pushkin-cli to run. It's failing on
install site
:`Problem installing dependencies for api Error: Command failed: yarn --mutex network install
code: 1, killed: false, signal: null, cmd: 'yarn --mutex network install', stdout: '\x1B[31m\x1B[1mUnknown Syntax Error\x1B[22m\x1B[39m: Unsupported option name ("--mutex").\n' + `
Note that I had to reinstall
yarn
because my computer apparently forgot it. Which is strange in its own right...