export 'ITokenService' was not found in '@delon/auth'
See original GitHub issue8.0.0-rc.0
版本在开发环境下会收到:
export 'ITokenService' was not found in '@delon/auth'
是因为 @angular-devkit/build-angular
新版本可能有一处依赖错误引起的 https://github.com/angular/angular-cli/issues/14888 。暂时可以固定为 0.800.3
版本来解决:
# package.json
"@angular-devkit/build-angular": "0.800.3"
Issue Analytics
- State:
- Created 4 years ago
- Comments:13 (4 by maintainers)
Top Results From Across the Web
Ask Question
export 'RestService' (imported as 'RestService') was not found in './rest.service.interface' (module has no exports) after update vom Angular 7 ...
Read more >src/app/core/net/abpHttp.ts · 诸葛小亮/alain-abp
import { DA_SERVICE_TOKEN, ITokenService } from '@delon/auth'; ... details: 'The resource requested could not found on the server.'.
Read more >init (c8b8e306) · Commits · WitCloud / towerFront - GitLab
echo "Error: No access token for GitHub could be found." \ ... import { DA_SERVICE_TOKEN, ITokenService } from '@delon/auth';.
Read more >Troubleshooting Import/Export Issues
Instructions · Review the application and job logs · Check DNN version and known issues · Confirm it is not a UI problem...
Read more >Angular Route Guard Not Redirecting To Login Page Correctly
@delon/auth does not care about the user interface it only needs to convert the Token information to the ITokenService type when the login...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@Jornve Limited to https://github.com/angular/angular-cli/issues/14888 must be fixed
@angular-devkit/build-angular
version number of0.800.3
use @angular-devkit/build-angular version number of 0.800.6 had fixed this problem