Tycho Bokdam

Results 202 comments of Tycho Bokdam

You could ofc inside that pre-commit hook script run that command

That you can do anything you want inside the `pre-commit` script, so if you want to run a command you can do that there.

`child_process` is something from node it self, no need to install

It makes sense that it would stop breaking, the test file we have in the repo also still uses `7.0.2`. Wil check when I have some time if we can...

@ricardocosta did a quick try but was not able to get it running yet, v8 changed to ESM and I currently do not have the time to properly reimplement it....

Having the same issue here except we are running in a cloud function, we're not setting the `flushAt: 1, flushInterval: 0` but are calling `await postHogClient.shutdown()` at the end. It...

Here is our complete code (at-least everything that is relevant): ```ts import { ORGANIZATION_GROUP_TYPE } from '@>/constants/analytics' import { getLazyPrismaClient } from '@>/database' import { LoggerV2 } from '@>/node/gcp/logging' import...

@marandaneto this function is called once every 30 minutes. We for now downgraded back to v3 and ~the events seem to be coming in correctly again.~ now the same event...

@marandaneto could it maybe be a issue with the PostHog dashboard? As since I downgraded I now actually see the same event (same uuid) multiple times: ![image](https://github.com/PostHog/posthog-js-lite/assets/7668692/c5dbb37a-2eff-4b71-b8cf-0fb6d8ec6105) The sample code...

@marandaneto okay, thought maybe it was related, marked it off-topic.