Unable to load postPublishHook

#1

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?

8 Likes
#2

Same problem

#3

same +1

#4

The same :frowning:

#5

Installed 2.4.0 and I could publish again.

MacOS High Sierra

#6

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?

#7

Same here, reverting back to 2.4.3 solved the issue.

#8

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

6 Likes
#9

Same problem here.

#10

saved my day :slight_smile:

1 Like
#11

Thanks

closed #12

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