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

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

Open
DanJ210 opened this issue May 5, 2017 · 12 comments

Comments

@DanJ210
Copy link

DanJ210 commented May 5, 2017

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
Copy link

ch3lu commented May 9, 2017

same here.

@richgardner
Copy link

Ditto. Tried rc1, rc2 as well. No dice

@ghost
Copy link

ghost commented May 19, 2017

Same here. Also tried rtm, rc2, rc1.

@tonysneed
Copy link

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

@m-henderson
Copy link

same

@gear3g
Copy link

gear3g commented May 31, 2017

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

@raditawan
Copy link

There is another way about this??

@AustinFelipe
Copy link

Hey guys, any news on that?

@jonyeezs
Copy link

jonyeezs commented Aug 7, 2017

looks to be a duplicate of #134

@noelbr
Copy link

noelbr commented Aug 10, 2017

same, There is another way about this??

@suisgrand
Copy link

any update now? workaround?

@h2romero
Copy link

h2romero commented Sep 21, 2017

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"
]
}
}

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