Trying to run a new project doesn't work #12894
-
First of all I'm not happy with the fact that it demands to install 15GB of prerequisites, among which is a full Visual Studio instance. I believe a project should never need to require anything to be installed globally, other than the basic tools. If it needs a compiler, why can't it download a compiler and install it in a local dependencies directory? Secondly, it also wants to install Yarn, for reasons that remain unexplained. I'm using NPM and I have no intention of switching to yarn just because a getting started guide tells me to. NPM work perfectly fine, and it's the default package for Node.js, so everyone running Node.js should already have it installed. Lastly, and this is the winner, after installing all those global dependencies, it still runs into this error:
Mind you, I've just followed the official guide: https://microsoft.github.io/react-native-windows/docs/getting-started So it's that nuget error. Why is it concerning itself with our corporate nuget repository? What does it want there? It's for a completely separate and unrelated project. I don't like that it's trying to probe into it. And if it's not actually needed, that's fine, but then why does it care about being unable to load the service index there? With all these problems in mind, this whole project feels extremely beta to me. It's only building apps for Windows, and UWP at that iinm, and with those prerequisites it requires a Windows box as well. Can someone please clarify what's going on? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
It looks like your build is failing because you've set up some ADO NuGet feed it can't see:
RNW doesn't need that feed, either you're trying to get a NuGet module in your build that comes form that feed, or you've set up a nuget config somewhere to add that feed globally. If you try building again with |
Beta Was this translation helpful? Give feedback.
It looks like your build is failing because you've set up some ADO NuGet feed it can't see:
RNW doesn't need that feed, either you're trying to get a NuGet module in your build that comes form that feed, or you've set up a nuget config somewhere to add that feed globally. If you try building again with
npx react-native run-windows --logging
you should get better debug output, i…