Base solution for your next web application
Open Closed

New AppService, refresh.bat doesn't update proxies #5953


User avatar
0
rvanwoezik created

Hi,

I have created a new AppService, build works fine, AppService works in Swagger. When i run refresh.bat the new AppService isn't added to service.proxies.ts and service.proxy.module.ts

How to find the problem?

Thanks in advance, Rene


3 Answer(s)
  • User Avatar
    0
    ismcagdas created
    Support Team

    Hi @rvanwoezik

    You can open a command prompt under the "angular\nswag" folder and run the below command. It will show the error if there are any.

    ..\node_modules\.bin\nswag run

  • User Avatar
    0
    ismcagdas created
    Support Team

    By the way, running the refresh.bat only updates service.proxies.ts not service.proxy.module.ts. You need to manually add the generated service into service.proxy.module.ts.

  • User Avatar
    0
    rvanwoezik created

    Ah, that did the trick. Is this new?