Closed ebram-tw closed 12 months ago
Could you please start the development build with pnpm start:dev
to have a stacktrace with source mapping enabled?
Hi @jerome-benoit thanks for responding so quickly. I will try to find some time to do that--for now I just removed the code in Configuration.ts
referencing logPrefix
to get around the issue.
Hi @jerome-benoit thanks for responding so quickly. I will try to find some time to do that--for now I just removed the code in Configuration.ts referencing logPrefix to get around the issue.
Please fill all the fields in the issue template. Each one is there for a good reason.
And retest with the current node.js LTS latest version or latest stable.
Duplicate issue
Description
Hi! I get the following error:
TypeError: Kr.logPrefix is not a function
in my compiled code with the somewhat helpful stackstrace:I noticed that the definition of
logPrefix
is different between Utils.ts and Configuration.ts: https://github.com/SAP/e-mobility-charging-stations-simulator/blob/main/src/utils/Utils.ts#L19-L21 https://github.com/SAP/e-mobility-charging-stations-simulator/blob/main/src/utils/Configuration.ts#L290-L292I believe this is something wrong with the declaration in Configuration.ts--I'm wondering if that was supposed to be a
const
as well.e-mobility-charging-stations-simulator version
1.2.20
Node.js version
No response
System
No response
Expected result
No response
Actual result
No response
Steps to reproduce
No response
Attachments
No response