Just in case anyone else runs into this issue and still has problems when using the correct node version, you may have the issue I have. I am running expo in a monorepo configuration (think lerna/yarn workspaces). In this case, “sentry-expo” may not be in your app modules folder (it may live in a parent node_modules), and the XDL Project.js file is looking for it in your package dir. To fix it, simply set the “file” property to the full path of sentry-expo/upload-sourcemaps, i.e. your monorepo_root/node_modules/sentry-expo/upload-sourcemaps
I also have this issue, tried all the stuff above.
error:
Unable to load postPublish hook: ‘sentry-expo/upload-sourcemaps’. The module does not export a function.
Please fix your postPublish hook configuration
Can someone screenshot the exact location of the organization name and the project name? Am I stupid and filling in the wrong data or is it something else?