You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 26, 2024. It is now read-only.
I have a mono repo based on turborepo and pnpm workspaces. I tried to follow the instruction how you specified.
pnpm add sanity-codegen@alpha --filter="my-workspace"
then cd into my sanity workspace and run: npx sanity-codegen codegen i also tried pnpm dlx sanity-codegen@alpha codegen or pnpm sanity-codegen codegen.
No luck, pnpm throws this error:
ERR_PNPM_DLX_NO_BIN No binaries found in sanity-codegen
npx instead:
npx sanity-codegen codegen
› Error: command codegen not found
I guess there is something wrong in the docs.
I saw in node_modules folder that sanity-codegen doesn't contain much, just a package json with a bunch of sanity-codegen packages. To make it work i think you should export at least some commands that can be run from the outside.
The text was updated successfully, but these errors were encountered:
scerelli
changed the title
The plugin doesn't work at all or something is missing in the docs.
The plugin doesn't work at all, missing binaries.
Nov 3, 2023
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I have a mono repo based on turborepo and pnpm workspaces. I tried to follow the instruction how you specified.
pnpm add sanity-codegen@alpha --filter="my-workspace"
then
cd
into my sanity workspace and run:npx sanity-codegen codegen
i also triedpnpm dlx sanity-codegen@alpha codegen
orpnpm sanity-codegen codegen
.No luck, pnpm throws this error:
npx instead:
I guess there is something wrong in the docs.
I saw in
node_modules
folder thatsanity-codegen
doesn't contain much, just a package json with a bunch ofsanity-codegen
packages. To make it work i think you should export at least some commands that can be run from the outside.The text was updated successfully, but these errors were encountered: