Ao tentar fazer a chamada de um APP feito em Angular utilizando o PO UI no Protheus, é apresentado o seguinte erro:
THREAD ERROR ([3836], laercio.junior, NOTE_LAERCIO) 15/04/2024 17:33:23 AjustaIndex: Falha ao Ajustar os arquivos Index do App resumo-carregamento on AJUSTAINDEX(FWCALLAPP.PRW) 11/08/2023 16:29:10 line : 607
[TOTVS build: 7.00.210324P-20231005] Called from EXTRACTRES(FWCALLAPP.PRW) 11/08/2023 16:29:10 line : 457 Called from SERVEAPP(FWCALLAPP.PRW) 11/08/2023 16:29:10 line : 383 Called from {|| SERVEAPP(CAPP, @CHOST, , LPING)}(FWCALLAPP.PRW) 11/08/2023 16:29:10 line : 85 Called from {|| EVAL(BACTION, OSAY), ODLGSVG:END() }(FWMSGRUN.PRW) 11/08/2023 16:29:10 line : 100 Called from ::FWSTYLEDDIALOG:ACTIVATE Called from FWMSGRUN(FWMSGRUN.PRW) 11/08/2023 16:29:10 line : 100 Called from FWCALLAPP(FWCALLAPP.PRW) 11/08/2023 16:29:10 line : 85
Tentei explorar as soluções apresentadas nesse outro tópico, porém não obtive sucesso:
https://devforum.totvs.com.br/4445-erro-ao-acessar-rotina-em-po-ui-com-protheus-node-js-v20111
Meu arquivo package.json:
{ "name": "resumo-carregamento", "version": "0.0.0", "scripts": { "ng": "ng", "start": "ng serve", "build": "ng build", "watch": "ng build --watch --configuration development", "test": "ng test" }, "private": true, "dependencies": { "@angular/animations": "~17.2.4", "@angular/common": "~17.2.4", "@angular/compiler": "~17.2.4", "@angular/core": "~17.2.4", "@angular/forms": "~17.2.4", "@angular/platform-browser": "~17.2.4", "@angular/platform-browser-dynamic": "~17.2.4", "@angular/platform-server": "~17.2.4", "@angular/router": "~17.2.4", "@po-ui/ng-components": "^17.0.0", "@po-ui/ng-templates": "^17.0.0", "@totvs/po-theme": "^17.0.0", "@totvs/protheus-lib-core": "^17.1.0", "rxjs": "~7.8.1", "subsink": "^1.0.2", "tslib": "^2.6.2", "zone.js": "~0.14.2" }, "devDependencies": { "@angular-devkit/build-angular": "~17.2.3", "@angular/cli": "~17.2.3", "@angular/compiler-cli": "~17.2.4", "@types/jasmine": "~5.1.0", "jasmine-core": "~5.1.0", "karma": "~6.4.0", "karma-chrome-launcher": "~3.2.0", "karma-coverage": "~2.2.0", "karma-jasmine": "~5.1.0", "karma-jasmine-html-reporter": "~2.1.0", "typescript": "~5.2.2" } }
Raul, consegue anexar o seu app aqui? Pode ser o .app que está tentando subir mesmo.
— Daniel Mendes 17 de Apr de 2024