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

error Unrecognized command "dom". #109

Open
reutopiaer opened this issue May 11, 2020 · 2 comments
Open

error Unrecognized command "dom". #109

reutopiaer opened this issue May 11, 2020 · 2 comments

Comments

@reutopiaer
Copy link

react-native dom
error Unrecognized command "dom".
info Run "react-native --help" to see a list of all available commands.

"rnpm-plugin-dom": "^0.5.0"
"react": "16.9.0",
"react-native": "0.61.5",

@stevegrove
Copy link

Reading another issue implied support for 0.56.0 of react-native is not complete so I changed from this:
"react-native": "0.63.1" to "react-native": "0.55.0" (and it pulled in a different react-native-dom 0.2.0)

Went from:

"dependencies": {
"react": "16.13.1",
"react-native": "0.63.1",
"react-native-dom": "^0.5.0"
},

to this and it worked:

"dependencies": {
"react": "16.13.1",
"react-native": "0.55.0",
"react-native-dom": "0.2.0"
},

@stevegrove
Copy link

stevegrove commented Jul 22, 2020

Or just do this as I had errors with latest react-native test app against 0.55.0 (Unexpected token in App.js - looks like a babel config issue) :

react-native init --version="0.55.0" MyTestApp

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

2 participants