tschoffelen / react-native-email-link

📭 Open an email client from React Native (for 'magic link' type functionality).
MIT License
396 stars 70 forks source link

Function cannot be cloned #89

Closed zach-planet-nine closed 5 months ago

zach-planet-nine commented 2 years ago

I'm trying to build a project that used to build a few years ago, and now isn't building. I'm getting a very terse error that function in android.js can't be cloned:

error: node_modules/react-native-email-link/src/android.js: function (path) { return fn.call(state, path, state); } could not be cloned.

This SO post suggests it's a babel issue. I've done what the post suggests and rolled back to the versions that were working: 1.5.1 of react-native-email-link, and 7.5.0 of @babel/core, but those versions don't work. I've also tried the latest: 1.11.3 of react-native-email-link, and 7.15.8 of @babel/core, but those give the same error.

Hopefully someone here has encountered this before, and can help me out.

github-actions[bot] commented 5 months ago

This issue is stale because it has been open for 60 days with no activity.

github-actions[bot] commented 5 months ago

This issue was closed because it has been inactive for 14 days since being marked as stale. Please feel free to re-open if you feel this issue is still relevant.