vincentriemer / react-native-dom

An experimental, comprehensive port of React Native to the web.
https://rntester.now.sh
MIT License
3.25k stars 73 forks source link

error Unrecognized command "dom". #109

Open reutopiaer opened 4 years ago

reutopiaer commented 4 years ago

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 commented 4 years ago

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 commented 4 years ago

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