Pablichjenkov
07/28/2023, 3:58 PMJS
target. All good so far, I believe I have going through all the steps. However, after creating the database, the single first time I try to access it, get a crash:
K {message: '{"message":"no such table: AccessTokenTb","name":"Error"}', cause: undefined, name: 'K', _suppressed: no, stack: 'K: {"message":"no such table: AccessTokenTb","name…<p://localhost:8080/amadeus-demo-app.js:2:2578780)>'}
cause
:
undefined
message
:
"{\"message\":\"no such table: AccessTokenTb\",\"name\":\"Error\"}"
name
:
"K"
_suppressed
:
no
h_1
:
[X_]
i_1
:
false
s3_1
:
0
[[Prototype]]
:
Lu
stack
:
"K: {\"message\":\"no such table: AccessTokenTb\",\"name\":\"Error\"}\n at h.xbd (<http://localhost:8080/amadeus-demo-app.js:2:2578643>)\n at h.handleEvent (<http://localhost:8080/amadeus-demo-app.js:2:2578780>)"
[[Prototype]]
:
Error
constructor
:
ƒ K(t)
$metadata$
:
{kind: 'class', simpleName: 'WebWorkerException', associatedObjectKey: undefined, associatedObjects: undefined, suspendArity: Array(0), …}
...
I see the sql code that generates the AccessTokenTb table is there. Also is working fine in the other platforms.Derek Ellis
07/28/2023, 4:00 PMDerek Ellis
07/28/2023, 4:01 PMSchema.create().await()
or Schema.awaitCreate()
will do the trickPablichjenkov
07/28/2023, 4:16 PMPablichjenkov
07/28/2023, 4:18 PM