microsoft / generator-docker

Yeoman generator for Docker
Other
346 stars 69 forks source link

Yo Docker -> .Net Core Error: Can't read project.json file. Make sure it exists. #136

Open DanJ210 opened 7 years ago

DanJ210 commented 7 years ago

Hello all, love the generator and thanks for the hard work. I get the error above on multiple computers but node.js works fine so I'm thinking it's a small bug with all of the new updated stuff coming out.

But when I yo docker and select .Net Core to then go through the process... I get the error in the title. When I look at the path provided I do find the project.json file and I do find the dotnetHelper.js file so the files do exist. Am I missing something as a somewhat newbie?

Thanks again for any advice.

ch3lu commented 7 years ago

same here.

richgardner commented 7 years ago

Ditto. Tried rc1, rc2 as well. No dice

ghost commented 7 years ago

Same here. Also tried rtm, rc2, rc1.

tonysneed commented 7 years ago

Waiting for update to generator-docker for .NET Core 1.1 support.

m-henderson commented 7 years ago

same

gear3g commented 7 years ago

Does anyone know if this project is still alive? I don't see any recent commit.

raditawan commented 7 years ago

There is another way about this??

AustinFelipe commented 7 years ago

Hey guys, any news on that?

jonyeezs commented 7 years ago

looks to be a duplicate of #134

noelbr commented 7 years ago

same, There is another way about this??

suisgrand commented 7 years ago

any update now? workaround?

h2romero commented 7 years ago

I added this project.json file manually before running yo docker and was able to complete it successfully

{ "dependencies": { "PackageID": "{version_constraint}" }, "frameworks": { "TxM": {} }, "runtimes": { "RID": {} }, "supports": { "CompatibilityProfile": {} }, "buildOptions": { "debugType": "portable" }, "publishOptions": { "include": [ "Dockerfile.debug", "Dockerfile", "docker-compose.debug.yml", "docker-compose.yml" ] } }