react-native-dom icon indicating copy to clipboard operation
react-native-dom copied to clipboard

error Unrecognized command "dom".

Open reutopiaer opened this issue 4 years ago • 2 comments

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",

reutopiaer avatar May 11 '20 12:05 reutopiaer

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 avatar Jul 21 '20 23:07 stevegrove

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

stevegrove avatar Jul 22 '20 00:07 stevegrove