Closed youngwind closed 8 years ago
@youngwind you will need to install it globally:
npm install -g react-native-css
or my preference run it from the bin folder:
node_module/.bin/react-native-css
Let me know if you still have issues.
@sabeurthabti it works!! thanks! wheather it is because my react-native-cli was installed globally? react-native-css need to be consistent ?
however,when i run this command
react-native-css -i ./pages/index-style.scss -o ./pages/index-style.js --w
it can't watch my scss file's change and recompile automatically,i can't find the reason. I have checked it many times.
@youngwind I will investigate that, happy to accept pull requests.
@youngwind fixed in the latest version. There was an issue, thank you letting me know.
I have a problem. I install react-native-css through npm successfully,
but when I run "react-native-css" in terminal, it console a mistake as this.
I can't figure it out.