starter icon indicating copy to clipboard operation
starter copied to clipboard

Which the inconvience for this case "Failed to detect supported framework"?

Open ivanfretes opened this issue 7 years ago • 4 comments

captura de pantalla de 2019-01-09 15-15-47

ivanfretes avatar Jan 09 '19 18:01 ivanfretes

Can you tell me what's the framework you're looking to use?

khash avatar Jan 29 '19 14:01 khash

There seems to be a large number of frameworks (namely, anything that's not flask or your run of the mill microservice python). What was the aim of the project? How do you run the framework detection? If you explain that without sending us to figure your code, perhaps there's a way to make it modular and fit to more purposes.

alejandrojapkin avatar Mar 16 '19 18:03 alejandrojapkin

The main issue seems to be the folder strucutre of the project. That's also what is holding me back from deploying using cloud66, because their tools require the root of the repo/project to be where (in case of Node.js) package.json and so on is residing.

fritzfr avatar Apr 25 '19 11:04 fritzfr

I am facing the same issue with a nodejs project. Interesting things is : If i use linux build uploaded on https://github.com/cloud66-oss/starter/releases/download/1.4.3/linux_amd64_1.4.3, it easily works. But the issue takes place if I create a build from the code using docker-compose up

I did some more debugging and found that the issue is with FileExists function at common/utils.go os.Stat is not able to recognize that "package.json" is present at particular location. I wonder if it has to do something with the project root.

image


UPDATE : I guess I found the issue - it is just a silly mistake regarding usage If we are running this project with docker, we should also copy the "target project" into the docker file system for testing purpose, I copied my project inside /app/templates and it worked like wonder.

I maybe late to this discussion, but I think this is enough information to close this particular issue.

bhogayatakb avatar Oct 01 '21 13:10 bhogayatakb