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.

PS > npm start

@galio-org/galio@1.1.0 start x:\yy\zzz expo start

Starting project at x:\yy\zzz Expo DevTools is running at http://localhost:19002 Opening DevTools in the browser… (press shift-d to disable) error Invalid regular expression: /(.\fixtures\.|node_modules[\]react[\]dist[\].|website\node_modules\.|heapCapture\bundle.js|.\tests\.)$/: Unterminated character class.

Metro Bundler process exited with code 1 Set EXPO_DEBUG=true in your env to view the stack trace. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @galio-org/galio@1.1.0 start: expo start npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @galio-org/galio@1.1.0 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Comments:5

github_iconTop GitHub Comments

4reactions
randrade86commented, Feb 14, 2020

@palingheorghe , thanks for your reply. I tried to update to SDK 36.0.0 / 36.0.0.1 but then I received many other errors. Guess we will have to edit the blacklist.js file that is broken since downgrading Node is not an option.

Thanks.

EDIT: Here is the link for fixing it manually: https://stackoverflow.com/a/58122821/4937064

Open node_modules/metro-config/src/defaults/blacklist.js and change:

var sharedBlacklist = [
  /node_modules[/\\]react[/\\]dist[/\\].*/,
  /website\/node_modules\/.*/,
  /heapCapture\/bundle\.js/,
  /.*\/__tests__\/.*/
];

to:

var sharedBlacklist = [
  /node_modules[\/\\]react[\/\\]dist[\/\\].*/,
  /website\/node_modules\/.*/,
  /heapCapture\/bundle\.js/,
  /.*\/__tests__\/.*/
];
2reactions
palingheorghecommented, Feb 14, 2020

Nice! I’m glad you’ve solved it @randrade86 ! That’s just a local fix though so basically if people are forking your app and they’re hitting npm install they’ll still use the normal blacklist.js file. I’ll update galio’s app as soon as I clear my schedule.

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to troubleshoot “Cannot Start App” or “Cannot start ...
Make sure there are desktops available for the users to connect to · Verify the machine the user is launching is not in...
Read more >
Fix an installed Android app that isn't working - Google Support
Step 1: Restart & update · Open your phone's Settings app. · Near the bottom, tap System and then Advanced and then System...
Read more >
If an app on your iPhone or iPad stops responding, closes ...
If an app on your iPhone or iPad stops responding, closes unexpectedly, or won't open · Close and reopen the app · Restart...
Read more >
Why is my application is not starting up on Windows?
Sometimes an application will not start up because a previous process from that application is still running in the background and did not...
Read more >
Top 8 Ways to Fix Apps Won't Open on Android - Guiding Tech
Top 8 Ways to Fix Apps Won't Open on Android · 1. Force Stop Apps · 2. Clear the App Cache and Data...
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