Sestius
Sestius
AAlokai
Created by Sestius on 7/18/2024 in #🙋|general-help
Custom integration - turbo cannot find binary path
Hello, I ran into a bit of an issue with both just running "npx @vue-storefront/cli create integration" (found here: https://docs.alokai.com/integrations/custom/quick-start), as well as using the boilerplate from "https://github.com/vuestorefront/integration-boilerplate" directly (cloning it and trying to run it) Using the npx command prompts me to choose a name, the framework and the package manager. It just continous on with its tasks until building the boilerplate where it runs into the following error: Error: Command failed with exit code 1: npm run build > build > turbo run build x could not resolve workspaces: We detected multiple package managers in | your repository: npm, yarn. Please remove one of them. -> We detected multiple package managers in your repository: npm, yarn. Please remove one of them. I would just like to use the npx command because to be honest, I am lazy and just try to look into moving a project we have at the company from an old vue-storefront version to this one. But I can just not figure out why even when I select NPM during the prompts it keeps on bringing this up. Anyway, if I afterwards cd into the folder it created for me, make sure to remove yarn, change all the still to yarn referencing scripts to npm, and run "npm run build", it presents me with the next error:
build turbo run build
x could not resolve workspaces: cannot find binary path -> cannot find binary path Beeing stuborn and deciding to ignore all that and still running "npm run dev", it spins up a server on my machine. BUT it appears to not be working, because the example method on that page it gives me under a localhost address just does not what you would expect to happen. Also I am presented with some errors in my powershell window as you can see in the attachement, since Discord did not allow me to post that inside code fences.
12 replies