You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm experiencing a codegen issue with FBReactNativeSpec - different from #138. Building from an xcode work space. Only happening on Release - Debug is working.
>>>>> Generating schema from flow types
node_modules/react-native-codegen/lib/parsers/flow/index.js:220
const regex = new RegExp(TURBO_MODULE_REGISTRY_REQUIRE_REGEX_STRING, 'g');
^
SyntaxError: Invalid regular expression: /TurboModuleRegistry\s*\.\s*get(Enforcing)?\s*<\s*Spec\s*>\s*\(\s*['"](?<nativeModuleName>[A-Za-z$_0-9]+)['"]\s*,?\s*\)/: Invalid group
at new RegExp (<anonymous>)
The text was updated successfully, but these errors were encountered:
Our Jenkins system uses a NodeJS plugin to manage which version of node to use when building a job. The code generation build script wasn't respecting how that was being set and was finding an old version of node.
For those who run into this
export NODE_BINARY=`which node`
at the top of the execute shell script for our Jenkins job did the trick.
Environment
Things I’ve done to figure out my issue
Upgrading version
0.64.0
Description
I'm experiencing a codegen issue with FBReactNativeSpec - different from #138. Building from an xcode work space. Only happening on Release - Debug is working.
The text was updated successfully, but these errors were encountered: