Yes, this didn't work, and building also doesn't work in Vercel Action, so I would say it is not related to my local environment, which was a concern of mine too
I have the file and I would love to share it, but I can't upload it here, and it is too long to post.
Here the custom type part (I think it is the custom type part)
/**
* Content for Email Newsletter Signup documents
*/
interface EmailNewsletterSignupDocumentData {
/**
* Success Page field in *Email Newsletter Signup*
*
* - **Field Type**: Link
* - **Placeholder**: *None*
* - **API ID Path**: email_newsletter_signup.success_page
* - **Tab**: Main
* - **Documentation**: https://prismic.io/docs/field#link-content-relationship
*/
success_page: prismic.LinkField;
}
/**
* Email Newsletter Signup document from Prismic
*
* - **API ID**: `email_newsletter_signup`
* - **Repeatable**: `false`
* - **Documentation**: https://prismic.io/docs/custom-types
*
* @typeParam Lang - Language API ID of the document.
*/
export type EmailNewsletterSignupDocument<Lang extends string = string> =
prismic.PrismicDocumentWithoutUID<
Simplify<EmailNewsletterSignupDocumentData>,
"email_newsletter_signup",
Lang
>;
/**
* Item in *Navigation → NavigationItems*
*/
export interface NavigationDocumentDataNavigationitemsItem {
/**
* NavigationItem field in *Navigation → NavigationItems*
*
* - **Field Type**: Content Relationship
* - **Placeholder**: *None*
* - **API ID Path**: navigation.navigationitems[].navigationitem
* - **Documentation**: https://prismic.io/docs/field#link-content-relationship
*/
navigationitem: prismic.ContentRelationshipField;
}
type NavigationDocumentDataSlicesSlice = NavigationItemSlice;
/**
* Content for Navigation documents
*/
interface NavigationDocumentData {
/**
* NavigationItems field in *Navigation*
*
* - **Field Type**: Group
* - **Placeholder**: *None*
* - **API ID Path**: navigation.navigationitems[]
* - **Tab**: Main
* - **Documentation**: https://prismic.io/docs/field#group
*/
navigationitems: prismic.GroupField<
Simplify<NavigationDocumentDataNavigationitemsItem>
>;
/**
* Slice Zone field in *Navigation*
*
* - **Field Type**: Slice Zone
* - **Placeholder**: *None*
* - **API ID Path**: navigation.slices[]
* - **Tab**: Main
* - **Documentation**: https://prismic.io/docs/field#slices
*/
slices: prismic.SliceZone<NavigationDocumentDataSlicesSlice>;
}
/**
* Navigation document from Prismic
*
* - **API ID**: `navigation`
* - **Repeatable**: `false`
* - **Documentation**: https://prismic.io/docs/custom-types
*
* @typeParam Lang - Language API ID of the document.
*/
export type NavigationDocument<Lang extends string = string> =
prismic.PrismicDocumentWithUID<
Simplify<NavigationDocumentData>,
"navigation",
Lang
>;
Hey @accounts13 ! Would you be able to put your project on Github so we can take a look? Might be easier for us to spot any issues by seeing the full picture.