Closed Xeonzinc closed 3 years ago
Hi, I'm the maintainer of the library which causes the issue.
Cloud you please tell me the NodeJS Version, as well as the version of @hibas123/utils (from your package-lock.json) you are using?
OK, so I was able to recreate the bug using NodeJS 8 or lower. NodeJS 8 is well out of support so I would consider switching to a more recent version.
Hi, Thanks for the quick response, my node version is 10.6.0, and under npm list I get this for hibas:
+-- dmxnet@0.4.1
| +-- @hibas123/nodelogging@2.2.2
| | +-- @hibas123/logging@2.2.2
| | | -- @hibas123/utils@2.2.3 deduped | |
-- @hibas123/utils@2.2.3
OK, in NodeJS v10.6.0 I can reproduce the error as well. With the latest v10 release 10.20.1 this is working properly. I think the easiest way to solve the issue would be updating to the latest v10 or v12 release.
Thanks that has resolved it
Would Like to reopen it and document this issue/abort when node is to old.
Hi, I've just tried a simple test of the code but seem to get an error from the hibas dependency. Am I doing something wrong with initialising it or is there an issue upstream? I have tried some of the logging options mentioned elsewhere on here with no luck.
Code:
Error: