Error building the example
See original GitHub issueI just followed the steps at https://github.com/software-mansion/react-native-reanimated/tree/master/Example
Nothing more, nothing less.
This is the outcome:
yarn run v1.22.4
$ 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 (<anonymous>)
at blacklist (H:\Samples\react-native-reanimated\Example\node_modules\metro-config\src\defaults\blacklist.js:34:10)
at getBlacklistRE (H:\Samples\react-native-reanimated\Example\node_modules\@react-native-community\cli\build\tools\loadMetroConfig.js:69:59)
at getDefaultConfig (H:\Samples\react-native-reanimated\Example\node_modules\@react-native-community\cli\build\tools\loadMetroConfig.js:85:20)
at load (H:\Samples\react-native-reanimated\Example\node_modules\@react-native-community\cli\build\tools\loadMetroConfig.js:121:25)
at Object.runServer [as func] (H:\Samples\react-native-reanimated\Example\node_modules\@react-native-community\cli\build\commands\server\runServer.js:82:58)
at Command.handleAction (H:\Samples\react-native-reanimated\Example\node_modules\@react-native-community\cli\build\cliEntry.js:160:21)
at Command.listener (H:\Samples\react-native-reanimated\Example\node_modules\commander\index.js:315:8)
at Command.emit (events.js:311:20)
at Command.parseArgs (H:\Samples\react-native-reanimated\Example\node_modules\commander\index.js:654:12)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
HTH
Issue Analytics
- State:
- Created 3 years ago
- Comments:13 (7 by maintainers)
Top Results From Across the Web
Error building handtracking example · Issue #2001 - GitHub
I get this error while trying to build. Looks like it is a linking error. INFO: Build option --linkopt has changed, discarding analysis ......
Read more >Common Build Problems - Travis CI Docs
Common Build Problems. My tests broke but were working yesterday; My build script is killed without any error; My build fails unexpectedly; Segmentation...
Read more >Error building examples - Support - VTK Discourse
I'm new to VTK. I built and installed VTK-8.2 on ubuntu 18.04.4. I want to build all the examples, and am following the...
Read more >Build error with "hello world" Gradio example (logs don't ...
Hi all, I'm getting a build error with the following logs for this space: Hello World Again - a Hugging Face Space by...
Read more >BUILD Error Messages - IBM
There are build errors that may stop the build, for example, resources in a loop, and other messages that are tolerated, for example,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Done, thank you anyway
Taking into consideration that blacklist doesn’t even call a function defined in Reanimated config and likely unescaped slashes in
node_modules[\\\]react[\\\]dist[\\\]
are causing this issue I can’t help you much with it. Try making an issue in the metro bundler repo.