question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Error building the example

See original GitHub issue

I 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:closed
  • Created 3 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

1reaction
raffaelercommented, Apr 7, 2020

Done, thank you anyway

0reactions
jakub-gonetcommented, Apr 7, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found