Skip to content
This repository has been archived by the owner on Jan 25, 2022. It is now read-only.

Can't follow the instructions #8

Open
windsting opened this issue Jul 15, 2017 · 2 comments
Open

Can't follow the instructions #8

windsting opened this issue Jul 15, 2017 · 2 comments

Comments

@windsting
Copy link

Hi @JacekKosciesza , thank you for such a good content.

After explored briefly, I decided to follow the instructions as a leaning,
but I found there is something different from my environment,
like project.json in the beginning part, it happened here and there,
I just googled and tried to step back to follow the instructions.

And finally, on the Microsoft.EntityFrameworkCore.Tools.DotNet part,
as I clicked the install button for this nuget package, encountered an error

Package 'Microsoft.EntityFrameworkCore.Tools.DotNet 1.0.1' has a package type 'DotnetCliTool' that is not supported by project 'StarWars.Data'.

the dotnet ef command just not usable:

$ dotnet ef migrations add Initial -o .\EntityFramework\Migrations
No executable found matching command "dotnet-ef"

after some google reading, I even installed it with a edit .csproj file method,
the message changed to:

$ dotnet ef
System.IO.FileNotFoundException: Could not find file 'D:\projects\starWarsLearn\starWars.Data\project.json'.
File name: 'D:\projects\starWarsLearn\starWars.Data\project.json'
   at System.IO.Win32FileStream..ctor(String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, FileOptions options, FileStream parent)
......(13 lines of stack trace)
Could not find file 'D:\projects\starWarsLearn\starWars.Data\project.json'.

In order to peek a little, I cloned your repository, but found it just
not working on my machine(Win10-64bit VS2017), all dependencies
under NuGet have a little yellow triangle on them, and the compiling
reported many errors
starwars-errors

Sorry, if I misused your tutorial, but I think it's just outdated for the
development environment, and I don't know how to setup a same
environment, would you please upgrade it?

And thank you for the original tutorial any way.

@thalaeg
Copy link

thalaeg commented Feb 5, 2019

Currently struggling also with this same issue. As far as we can tel, the tools are included in Core 2.0+. That is why it is hard to install. Currently have been stuck on migrations for 2 hours

@BenjaBobs
Copy link

BenjaBobs commented Feb 6, 2019

This guide is quite old. I suggest looking up Dotnet Core Boxed GraphQL.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants