-
Notifications
You must be signed in to change notification settings - Fork 0
Description
When I run the back-end script. There is an error:
[INFO] Reading configuration from config.json
[INFO] Reading configuration from ../backend/.env
[SUCCESS] ===================================================
[SUCCESS] Starting PetStore Backend
[SUCCESS] ===================================================
[INFO] Pets Table: Pets
[INFO] Region: us-east-1
[SUCCESS] ===================================================
[INFO] Starting backend on http://localhost:3000...
[INFO] 17:14:45 ts-node-dev ver. 2.0.0 (using ts-node ver. 10.9.2, typescript ver. 5.8.3)
Compilation error in /Users/xxx/Downloads/examples/express-petstore/finish/backend/src/app.ts
[ERROR] 17:14:45 ⨯ Unable to compile TypeScript:
src/app.ts(21,35): error TS1109: Expression expected.
When I look at in the app.ts code:
const avpAuthorizationEngine = new AVPAuthorizationEngine({
policyStoreId: ,
callType: 'identityToken'
});
=>> Error: Cannot find name 'policyStoreId'
It seems problem about types package for AVP. Please help to check on this. Thank you.