PostHog / posthog-node

Official PostHog Node library
MIT License
21 stars 19 forks source link

npm install "no such file or directory, chmod" #75

Closed florianherrengt closed 2 years ago

florianherrengt commented 2 years ago

I am getting an error when trying to npm install on CI:

npm ERR! enoent ENOENT: no such file or directory, chmod '/node_modules/posthog-node/cli.js'

Versions

SebTVisage commented 2 years ago

Same error here locally. I tried upgrading posthog to 2.0.1 and got this error

neilkakkar commented 2 years ago

Thanks for flagging, I'm looking into this now!

neilkakkar commented 2 years ago

This should fix it: https://github.com/PostHog/posthog-js-lite/pull/17 - will publish a new version, let me know if you still face issues :)