Skip to content

Investigate the integration with nodejs 12.13 #3611

@licanhua

Description

@licanhua

All of our testing and setup are based on nodejs 10, but now nodejs stable version is 12.13.0.
We experienced error with 12.13 before. Although problem is not in our code, but we are impacted and can't start the metro bundle server.

Here is the error

yarn run start
$ react-native start
error Invalid regular expression: /(.\fixtures\.|node_modules[\]react[\]dist[\].|website\node_modules\.|heapCapture\bundle.js|.\tests\.)$/: Unterminated character class. Run CLI with --verbose flag for more details.
SyntaxError: Invalid regular expression: /(.\fixtures\.|node_modules[\]react[\]dist[\].|website\node_modules\.|heapCapture\bundle.js|.\tests\.)$/: Unterminated character class
at new RegExp ()
at blacklist (f:\repo\react-native-windows\node_modules\metro-config\src\defaults\blacklist.js:34:10)
at getBlacklistRE (f:\repo\react-native-windows\node_modules@react-native-community\cli\build\tools\loadMetroConfig.js:69:59)
at getDefaultConfig (f:\repo\react-native-windows\node_modules@react-native-community\cli\build\tools\loadMetroConfig.js:84:20)
at load (f:\repo\react-native-windows\node_modules@react-native-community\cli\build\tools\loadMetroConfig.js:112:25)
at Object.runServer [as func] (f:\repo\react-native-windows\node_modules@react-native-community\cli\build\commands\server\runServer.js:82:58)
at Command.handleAction (f:\repo\react-native-windows\node_modules@react-native-community\cli\build\cliEntry.js:160:21)
at Command.listener (f:\repo\react-native-windows\node_modules\commander\index.js:315:8)
at Command.emit (events.js:210:5)
at Command.parseArgs (f:\repo\react-native-windows\node_modules\commander\index.js:651:12)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions