Unable to load postPublishHook


Suddenly getting this error:

[01:05:15] Unable to load postPublishHook: 'sentry-expo/upload-sourcemaps'. The module does not export a function.
[01:05:15] Please fix your postPublish hook configuration.

Not even sure what changed. Maybe updated expo-cli from 2.6.8 to 2.6.11, but downgrading doesn’t help. Any advice?


Same problem


same +1


The same :frowning:


Installed 2.4.0 and I could publish again.

MacOS High Sierra


Same problem

Also, anyone knows the url to an updated expo-cli changelog? Is it this one: https://github.com/expo/expo-cli/blob/master/packages/expo-cli/CHANGELOG.md?

In that case it might be worth thinking about enforcing this on updates?


Same here, reverting back to 2.4.3 solved the issue.


Hey all, this bug has been fixed in expo-cli@2.6.12. Please use npm install -g expo-cli to upgrade.


Same problem here.


saved my day :slight_smile:

1 Like


closed #12

This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.