Base solution for your next web application
Ends in:
01 DAYS
01 HRS
01 MIN
01 SEC

Activities of "[email protected]"

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

If issue related with ABP Framework

  • What is ABP Framework version?

If issue is about UI

  • Which theme are you using?
  • What are the theme settings?

I try power tool as addon in VS2019. I followed the instruction: ASP.NET Zero Introduction and Features (https://www.youtube.com/watch?v=OsSdNkwmC7I&t=1001s).

After generating entity "QReservationses", I ran nswag/refresh.bat and found both "shared/service-proxies/service-proxies.ts" and "service-proxies.module.ts" was updated with service.

As the document (https://docs.aspnetzero.com/en/aspnet-core-angular/latest/Infrastructure-Angular-NSwag), it asks to manually add for "service-proxies.module.ts". Please help me to clarify this point.

Server is started correctly. But it encountered error while starting client with command "npm start":

./src/app/shared/layout/nav/app-navigation.service.ts:7:0 - Error: Module parse failed: Unexpected token (7:0) File was processed with these loaders:

  • ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js
  • ./node_modules/@ngtools/webpack/src/ivy/index.js You may need an additional loader to handle the result of these loaders. | import * as i2 from "@shared/common/session/app-session.service"; | new AppMenuItem('QReservationses', 'Pages.QReservationses', 'flaticon-more', '/app/main/dbo/qReservationses'),

; | export class AppNavigationService { | constructor(_permissionCheckerService, _appSessionService) {

Error: src/app/shared/layout/nav/app-navigation.service.ts:3:13 - error TS1109: Expression expected.

3 import { PermissionCheckerService } from 'abp-ng2-module'; ~~~~~~

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

√ Browser application bundle generation complete.

1740 unchanged chunks

Build at: 2021-12-02T02:24:32.587Z - Hash: ff3031625fde1fa5b5dc - Time: 4000ms

./src/app/shared/layout/nav/app-navigation.service.ts:7:0 - Error: Module parse failed: Unexpected token (7:0) File was processed with these loaders:

  • ./node_modules/@angular-devkit/build-angular/src/babel/webpack-loader.js
  • ./node_modules/@ngtools/webpack/src/ivy/index.js You may need an additional loader to handle the result of these loaders. | import * as i2 from "@shared/common/session/app-session.service"; | new AppMenuItem('QReservationses', 'Pages.QReservationses', 'flaticon-more', '/app/main/dbo/qReservationses'),

; | export class AppNavigationService { | constructor(_permissionCheckerService, _appSessionService) {

Error: src/app/shared/layout/nav/app-navigation.service.ts:3:13 - error TS1109: Expression expected.

3 import { PermissionCheckerService } from 'abp-ng2-module';

Please advise me.

Showing 1 to 1 of 1 entries