Prerequisites
Please answer the following questions before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.
- What is your product version? v10.5.0
- What is your product type (Angular or MVC)? Angular
- What is product framework type (.net framework or .net core)? .net core
I am developing on a windows 10 OS. After using power tools, my entities were created and the server project built just fine but the client would not build (see error below). On close investigation it appears the services-proxies.ts file was not updated by power tools.
How do I get this fixed as I'm stuck?
Error
./src/shared/service-proxies/service-proxy.module.ts:12:8-43 - Error: export 'CustsServiceProxy' (imported as 'ApiServiceProxies') was not found in './service-proxies' (possible exports: API_BASE_URL, AbpLoginResultType, AcceptFriendshipRequestInput, AccountServiceProxy, ActivateEmailInput, ActivateWebhookSubscriptionInput, AddNewPageInput, AddNewPageOutput, AddWidgetInput, AdditionalData, ApiException, AppSettingsJsonDto, ApplicationInfoDto, ApplicationLanguageEditDto, ApplicationLanguageListDto, AuditLogListDto, AuditLogServiceProxy, AuthenticateModel, AuthenticateResultModel, BlockUserInput, CacheDto, CachingServiceProxy, CancelPaymentDto, ChangePasswordInput, ChangeUserLanguageDto, ChartDateInterval, ChatMessageDto, ChatMessageReadState, ChatServiceProxy, ChatSide, CheckDatabaseOutput, CleanValuesInput, ComboboxItemDto, CommonLookupServiceProxy, CreateEditionDto, CreateFriendshipRequestByUserNameInput, CreateFriendshipRequestInput, CreateInvoiceDto, CreateOrUpdateLanguageInput, CreateOrUpdateRoleInput, CreateOrUpdateUserInput, CreateOrganizationUnitInput, CreatePaymentDto, CreateTenantInput, CreateUserDelegationDto, CurrentUserProfileEditDto, Dashboard, DashboardCustomizationServiceProxy, DashboardOutput, DateToStringOutput, DelegatedImpersonateInput, DemoUiComponentsServiceProxy, DynamicEntityPropertyDefinitionServiceProxy, DynamicEntityPropertyDto, DynamicEntityPropertyServiceProxy, DynamicEntityPropertyValueDto, DynamicEntityPropertyValueServiceProxy, DynamicPropertyDto, DynamicPropertyServiceProxy, DynamicPropertyValueDto, DynamicPropertyValueServiceProxy, EditionCreateDto, EditionEditDto, EditionInfoDto, EditionListDto, EditionPaymentType, EditionSelectDto, EditionServiceProxy, EditionWithFeaturesDto, EditionsSelectOutput, EmailSettingsEditDto, EntityChangeListDto, EntityChangeType, EntityDto, EntityDtoOfGuid, EntityDtoOfInt64, EntityDtoOfString, EntityPropertyChangeDto, ExpiringTenant, ExternalAuthenticateModel, ExternalAuthenticateResultModel, ExternalLoginProviderInfoModel, ExternalLoginProviderSettingsEditDto, ExternalLoginSettingsDto, FacebookExternalLoginProviderSettings, FeatureInputTypeDto, FileDto, FindOrganizationUnitRolesInput, FindOrganizationUnitUsersInput, FindUsersInput, FlatFeatureDto, FlatFeatureSelectDto, FlatPermissionDto, FlatPermissionWithLevelDto, FriendDto, FriendshipServiceProxy, FriendshipState, GeneralSettingsEditDto, GetAllAvailableWebhooksOutput, GetAllDynamicEntityPropertyValuesOutput, GetAllDynamicEntityPropertyValuesOutputItem, GetAllEntitiesHasDynamicPropertyOutput, GetAllSendAttemptsOfWebhookEventOutput, GetAllSendAttemptsOutput, GetAllSubscriptionsOutput, GetCurrentLoginInformationsOutput, GetDailySalesOutput, GetDashboardDataOutput, GetDefaultEditionNameOutput, GetEditionEditOutput, GetEditionTenantStatisticsOutput, GetExpiringTenantsOutput, GetGeneralStatsOutput, GetIncomeStatisticsDataOutput, GetLanguageForEditOutput, GetLanguagesOutput, GetLatestWebLogsOutput, GetMemberActivityOutput, GetNotificationSettingsOutput, GetNotificationsOutput, GetPasswordComplexitySettingOutput, GetProfilePictureOutput, GetProfitShareOutput, GetRecentTenantsOutput, GetRegionalStatsOutput, GetRoleForEditOutput, GetRolesInput, GetSalesSummaryOutput, GetTenantFeaturesEditOutput, GetTopStatsOutput, GetUserChatFriendsWithSettingsOutput, GetUserForEditOutput, GetUserPermissionsForEditOutput, GetUsersInput, GoogleExternalLoginProviderSettings, HostBillingSettingsEditDto, HostDashboardServiceProxy, HostSettingsEditDto, HostSettingsServiceProxy, HostUserManagementSettingsEditDto, HttpStatusCode, IInputType, IValueValidator, ImpersonateOutput, ImpersonateTenantInput, ImpersonateUserInput, ImpersonatedAuthenticateResultModel, IncomeStastistic, InsertOrUpdateAllValuesInput, InsertOrUpdateAllValuesInputItem, InstallDto, InstallServiceProxy, InvoiceDto, InvoiceServiceProxy, IsTenantAvailableInput, IsTenantAvailableOutput, JsonClaimMapDto, LanguageServiceProxy, LanguageTextListDto, LdapSettingsEditDto, LinkToUserInput, LinkedUserDto, ListResultDtoOfCacheDto, ListResultDtoOfChatMessageDto, ListResultDtoOfDynamicEntityPropertyDto, ListResultDtoOfDynamicEntityPropertyValueDto, ListResultDtoOfDynamicPropertyDto, ListResultDtoOfDynamicPropertyValueDto, ListResultDtoOfEditionListDto, ListResultDtoOfFlatPermissionWithLevelDto, ListResultDtoOfGetAllAvailableWebhooksOutput, ListResultDtoOfGetAllEntitiesHasDynamicPropertyOutput, ListResultDtoOfGetAllSendAttemptsOfWebhookEventOutput, ListResultDtoOfGetAllSubscriptionsOutput, ListResultDtoOfLinkedUserDto, ListResultDtoOfNameValueDto, ListResultDtoOfOrganizationUnitDto, ListResultDtoOfRoleListDto, ListResultDtoOfSubscribableEditionComboboxItemDto, LocalizableComboboxItemDto, LocalizableComboboxItemSourceDto, MarkAllUnreadMessagesOfUserAsReadInput, MemberActivity, MicrosoftExternalLoginProviderSettings, MoveOrganizationUnitInput, MoveTenantsToAnotherEditionDto, NameValue, NameValueDto, NameValueOfString, NotificationData, NotificationServiceProxy, NotificationSeverity, NotificationSubscriptionDto, NotificationSubscriptionWithDisplayNameDto, OpenIdConnectExternalLoginProviderSettings, OrganizationUnitDto, OrganizationUnitRoleListDto, OrganizationUnitServiceProxy, OrganizationUnitUserListDto, OtherSettingsEditDto, Page, PagedResultDtoOfAuditLogListDto, PagedResultDtoOfEntityChangeListDto, PagedResultDtoOfGetAllSendAttemptsOutput, PagedResultDtoOfLanguageTextListDto, PagedResultDtoOfLinkedUserDto, PagedResultDtoOfNameValueDto, PagedResultDtoOfOrganizationUnitRoleListDto, PagedResultDtoOfOrganizationUnitUserListDto, PagedResultDtoOfSubscriptionPaymentListDto, PagedResultDtoOfTenantListDto, PagedResultDtoOfUserDelegationDto, PagedResultDtoOfUserListDto, PagedResultDtoOfUserLoginAttemptDto, PasswordComplexitySetting, PayPalConfigurationDto, PayPalPaymentServiceProxy, PaymentGatewayModel, PaymentInfoDto, PaymentPeriodType, PaymentServiceProxy, PermissionServiceProxy, ProfileServiceProxy, RecentTenant, RefreshTokenResult, RegionalStatCountry, RegisterInput, RegisterOutput, RegisterTenantInput, RegisterTenantOutput, RenamePageInput, ResetPasswordInput, ResetPasswordOutput, ResolveTenantIdInput, RoleEditDto, RoleListDto, RoleServiceProxy, RolesToOrganizationUnitInput, SalesSummaryData, SalesSummaryDatePeriod, SavePageInput, SecuritySettingsEditDto, SendEmailActivationLinkInput, SendPasswordResetCodeInput, SendTestEmailInput, SendTwoFactorAuthCodeModel, SendVerificationSmsInputDto, SessionServiceProxy, SessionTimeOutSettingsEditDto, SetDefaultLanguageInput, SettingScopes, StringOutput, StripeConfigurationDto, StripeCreatePaymentSessionInput, StripePaymentResultOutput, StripePaymentServiceProxy, SubscribableEditionComboboxItemDto, SubscriptionPaymentDto, SubscriptionPaymentGatewayType, SubscriptionPaymentListDto, SubscriptionPaymentStatus, SubscriptionPaymentType, SubscriptionServiceProxy, SubscriptionStartType, SwitchToLinkedAccountInput, SwitchToLinkedAccountOutput, SwitchedAccountAuthenticateResultModel, TenantAvailabilityState, TenantBillingSettingsEditDto, TenantCustomizationServiceProxy, TenantDashboardServiceProxy, TenantEditDto, TenantEdition, TenantEmailSettingsEditDto, TenantListDto, TenantLoginInfoDto, TenantManagementSettingsEditDto, TenantNotification, TenantOtherSettingsEditDto, TenantRegistrationServiceProxy, TenantServiceProxy, TenantSettingsEditDto, TenantSettingsServiceProxy, TenantUserManagementSettingsEditDto, ThemeFooterSettingsDto, ThemeHeaderSettingsDto, ThemeLayoutSettingsDto, ThemeMenuSettingsDto, ThemeSettingsDto, ThemeSubHeaderSettingsDto, TimingServiceProxy, TokenAuthServiceProxy, TopStatsData, TwitterExternalLoginProviderSettings, TwitterGetAccessTokenResponse, TwitterGetRequestTokenResponse, TwitterServiceProxy, TwoFactorLoginSettingsEditDto, UiCustomizationSettingsDto, UiCustomizationSettingsServiceProxy, UnblockUserInput, UnlinkUserInput, UpdateEditionDto, UpdateGoogleAuthenticatorKeyOutput, UpdateLanguageTextInput, UpdateNotificationSettingsInput, UpdateOrganizationUnitInput, UpdateProfilePictureInput, UpdateTenantFeaturesInput, UpdateUserPermissionsInput, UpdateUserSignInTokenOutput, UserDelegationDto, UserDelegationServiceProxy, UserEditDto, UserLinkServiceProxy, UserListDto, UserListRoleDto, UserLockOutSettingsEditDto, UserLoginAttemptDto, UserLoginInfoDto, UserLoginServiceProxy, UserNotification, UserNotificationState, UserRoleDto, UserServiceProxy, UsersToOrganizationUnitInput, VerifySmsCodeInputDto, WebLogServiceProxy, WebhookEvent, WebhookEventServiceProxy, WebhookSendAttemptServiceProxy, WebhookSubscription, WebhookSubscriptionServiceProxy, Widget, WidgetFilterOutput, WidgetOutput, WsFederationExternalLoginProviderSettings)
3 Answer(s)
-
0
Hi @Zoe
Yes, this is expected. You need to run
angular/nswag/refresh.batservice-proxies.ts and you also need to add newly generated service toservice-proxies.module.ts.Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Thank you. Your documentation needs to be updated as it doesnt indicate there is another step that needs to be performed.
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image) -
0
Hi @Zoe
You are right. I remem that the docs include this information in the past but I couldn't find it now. I will update the documentation.
Thanks again,
Markdown is supportedCopy & paste or drag & drop images (max 30 MB per image)