Not start app
See original GitHub issuePS > 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:
- Created 4 years ago
- Comments:5
Top GitHub Comments
@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:to:
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 normalblacklist.js
file. I’ll update galio’s app as soon as I clear my schedule.Thanks!