Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot start the basic example (Invalid regular expression) #17

Open
sigmasoldi3r opened this issue Oct 25, 2021 · 1 comment
Open

Cannot start the basic example (Invalid regular expression) #17

sigmasoldi3r opened this issue Oct 25, 2021 · 1 comment

Comments

@sigmasoldi3r
Copy link

After following the steps shown in the docs here: https://github.com/scalajs-react-interface/sri/blob/master/docs/GettingStarted.md#native-mobile-app

It ends with this error:

$ yarn start
yarn run v1.21.1
$ react-native start server --transformer scalajsTransformer.js
Looks like you installed react-native globally, maybe you meant react-native-cli
?
To fix the issue, run:
npm uninstall -g react-native
npm install -g react-native-cli
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this comm
and.

(And yes, I've tried the uninstall/install step of the react-native-cli plugin)

Running without yarn, yields:

$ react-native start server --transformer scalajsTransformer.js
Scanning 495 folders for symlinks in F:\projects\home\cochesjs\node_modules (22m
s)
(node:15648) Warning: Accessing non-existent property 'padLevels' of module expo
rts inside circular dependency
(Use `node --trace-warnings ...` to show where the warning was created)

Invalid regular expression: /(node_modules[\\\]react[\\\]dist[\\\].*|website\\no
de_modules\\.*|heapCapture\\bundle\.js)$/: Unterminated character class
@sigmasoldi3r
Copy link
Author

Maybe I'm missing something of the environment or so, but the page link https://reactnative.dev/docs/getting-started.html is broken.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant