Handbook feedback on: Developing locally
While creating an instance over Centos Machine after starting the server using ./bin/start we are facing below issue. Please suggest
Error: /maalogs/posthog/posthog/plugin-server/node_modules/re2/build/Release/re2.node: undefined symbol: _ZTTNSt7__cxx1119basic_ostringstreamIcSt11char_traitsIcESaIcEEE
at Module._extensions..node (node:internal/modules/cjs/loader:1189:18)
at Object.nodeDevHook [as .node] (/maalogs/posthog/posthog/plugin-server/node_modules/ts-node-dev/lib/hook.js:63:13)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:102:18)
at Object.
(env) user[TYPEGEN] yarn run typegen:watch exited with code SIGINT [ESBUILD] yarn start-http exited with code SIGINT
Hey! Looks like the re2 package can't find the re2 library in the system. Can you check if installing the library with sudo yum -y install re2 fixes ./bin/start? (You might also have to remove the node_modules/ directory in posthog/plugin-server/)
BTW, will you definitively be using that instance of PostHog just for developing PostHog? Just in case you'd like to do actual analytics besides development, for production environments we only support containerized deployments (options listed on https://posthog.com/docs/self-host).