Closed levihalvorson closed 2 years ago
Im having an issue when running npx sanity-codegen. This has shown up after Ive implemented a custom sanity workflow. Does anyone know how I can troubleshoot this? Code gen worked before I implemented the custom workflow.
Error: Cannot find module 'sanity:css-custom-properties' Require stack: - /Users/levihalvorson/Documents/V2-website/website/sanity/node_modules/@sanity/base/lib/components/zOffsets/legacyZIndexes.js - /Users/levihalvorson/Documents/V2-website/website/sanity/node_modules/@sanity/base/lib/components/zOffsets/ZIndexProvider.js - /Users/levihalvorson/Documents/V2-website/website/sanity/node_modules/@sanity/base/lib/components/zOffsets/index.js - /Users/levihalvorson/Documents/V2-website/website/sanity/node_modules/@sanity/base/lib/components/index.js - /Users/levihalvorson/Documents/V2-website/website/sanity/node_modules/@sanity/base/lib/_exports/components.js - /Users/levihalvorson/Documents/V2-website/website/sanity/node_modules/@sanity/base/components.js - /Users/levihalvorson/Documents/V2-website/website/sanity/components/UserAssignmentMenu.js - /Users/levihalvorson/Documents/V2-website/website/sanity/schemas/Workflow/metadata.js - /Users/levihalvorson/Documents/V2-website/website/sanity/schemas/schema.ts - /Users/levihalvorson/Documents/V2-website/website/sanity/node_modules/sanity-codegen/cli.js
@levihalvorson what did you end up doing to fix this issue? We started running into this today and the things we've tried so far haven't worked.
Im having an issue when running npx sanity-codegen. This has shown up after Ive implemented a custom sanity workflow. Does anyone know how I can troubleshoot this? Code gen worked before I implemented the custom workflow.