react-native-email-link icon indicating copy to clipboard operation
react-native-email-link copied to clipboard

Function cannot be cloned

Open zach-planet-nine opened this issue 4 years ago • 0 comments

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.

zach-planet-nine avatar Oct 10 '21 20:10 zach-planet-nine