Reputation: 139
I am trying to run React-Native for UWP on windows 10. I follow the instructions here https://www.microsoft.com/reallifecode/2016/05/26/creating-universal-windows-apps-with-react-native/#comment-180
When I get to last step (Running the Universal Windows App), it throws error when I run the command
react-native run-windows
The error I get is
Starting the React-Native Server
Failed to deploy: path must be a string or Buffer
I tried google this error. I don't think there is much on React-Native UWP, and this error hasn't came up before.
Upvotes: 1
Views: 277
Reputation: 139
Solution
Open the Solution in Visual Studio. Set up the Build so that it works on my machine (make sure solution platform and solution configurations are correct).
From now on, running that command should work with no issues.
Upvotes: 1