I'am trying to metascraper lib on react-native via nodejs-mobile.
I configured BUILD_NATIVE_MODULES.txt according to docs.
But when i'm trying import metascraper, throws this error:
$PROJECT_ROOT/nodejs-project/node_modules/re2/build/Release/re2.node, 1): no suitable image found.
Did find:
$PROJECT_ROOT/nodejs-project/node_modules/re2/build/Release/re2.node: mach-o, but wrong architecture
Concise explanation of the problem
[ ] I would like to work on this issue and
submit a pull request.
📗 API Reference Docs Problem
Location
Section of the site where the content exists
Affected URL(s):
Description
I'am trying to metascraper lib on react-native via nodejs-mobile. I configured BUILD_NATIVE_MODULES.txt according to docs.
But when i'm trying import metascraper, throws this error:
$PROJECT_ROOT/nodejs-project/node_modules/re2/build/Release/re2.node, 1): no suitable image found.
Did find: $PROJECT_ROOT/nodejs-project/node_modules/re2/build/Release/re2.node: mach-o, but wrong architecture
Concise explanation of the problem