Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[4.3-rc1]Angular build error #8311

Closed
maliming opened this issue Apr 1, 2021 · 4 comments
Closed

[4.3-rc1]Angular build error #8311

maliming opened this issue Apr 1, 2021 · 4 comments

Comments

@maliming
Copy link
Member

maliming commented Apr 1, 2021

abp new Angular.NonSeperatedEfCore -t app -u angular --mobile none  --database-provider ef -csf --preview
Build at: 2021-04-01T08:32:00.881Z - Hash: 2e19760e49ff782d93be - Time: 44874ms

Error: node_modules/@abp/ng.account/lib/components/tenant-box/tenant-box.component.d.ts:1:10 - error TS2305: Module '"../../../node_modules/@abp/ng.core/abp-ng.core"' has no exported member 'AbpApplicationConfigurationService'.

1 import { AbpApplicationConfigurationService, AbpTenantService, ConfigStateService, CurrentTenantDto, SessionStateService } from '@abp/ng.core';
           ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~


Error: node_modules/@abp/ng.account/lib/components/tenant-box/tenant-box.component.d.ts:1:46 - error TS2305: Module '"../../../node_modules/@abp/ng.core/abp-ng.core"' has no exported member 'AbpTenantService'.

1 import { AbpApplicationConfigurationService, AbpTenantService, ConfigStateService, CurrentTenantDto, SessionStateService } from '@abp/ng.core';
                                               ~~~~~~~~~~~~~~~~


Error: node_modules/@abp/ng.account/lib/components/tenant-box/tenant-box.component.d.ts:1:84 - error TS2305: Module '"../../../node_modules/@abp/ng.core/abp-ng.core"' has no exported member 'CurrentTenantDto'.

1 import { AbpApplicationConfigurationService, AbpTenantService, ConfigStateService, CurrentTenantDto, SessionStateService } from '@abp/ng.core';
                                                                                     ~~~~~~~~~~~~~~~~


Error: ./node_modules/@abp/ng.account/__ivy_ngcc__/fesm2015/abp-ng.account.js 1389:329-363
"export 'AbpApplicationConfigurationService' was not found in '@abp/ng.core'

Error: ./node_modules/@abp/ng.account/__ivy_ngcc__/fesm2015/abp-ng.account.js 1401:12-46
"export 'AbpApplicationConfigurationService' was not found in '@abp/ng.core'

Error: ./node_modules/@abp/ng.account/__ivy_ngcc__/fesm2015/abp-ng.account.js 1409:174-208
"export 'AbpApplicationConfigurationService' was not found in '@abp/ng.core'

Error: ./node_modules/@abp/ng.account/__ivy_ngcc__/fesm2015/abp-ng.account.js 1389:178-194
"export 'AbpTenantService' was not found in '@abp/ng.core'

Error: ./node_modules/@abp/ng.account/__ivy_ngcc__/fesm2015/abp-ng.account.js 1398:12-28
"export 'AbpTenantService' was not found in '@abp/ng.core'

Error: ./node_modules/@abp/ng.account/__ivy_ngcc__/fesm2015/abp-ng.account.js 1409:71-87
"export 'AbpTenantService' was not found in '@abp/ng.core'

Error: ./node_modules/@abp/ng.account/__ivy_ngcc__/fesm2015/abp-ng.account-config.js 57:29-55
"export 'NAVIGATE_TO_MANAGE_PROFILE' was not found in '@abp/ng.core'



** Angular Live Development Server is listening on localhost:4200, open your browser on http://localhost:4200/ **


@mehmet-erim
Copy link
Contributor

mehmet-erim commented Apr 1, 2021

We've been fixed the problem by publishing the @abp/ng.account v4.3.0-rc.1-1. This version will be installed automatically (if the yarn.lock or package-lock.json do not exist). If you still encounter the errors above, you can remove the lock file (yarn.lock or package-lock.json) and reinstall the packages. Or you can use the following method as a workaround:

After the packages are installed, remove the node_modules/@abp/ng.account/node_modules folder.

@mohameds93
Copy link

I'm using ABP version 7.3.2
I recieve similar issue related to NAVIGATE_TO_MANAGE_PROFILE no provider for it the code throws error at the below line
image

Here's the console output

image

@Hyppothalamus
Copy link

@mohameds93 Do you still have this issue?
Because I am struggling with the same error at the moment using abp 8.1.
Do you have any fix this?

@Hyppothalamus
Copy link

Nevermind I managed to fix it by deleting the node_modules inside of @abp/ng.theme.basic.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants