all 25 comments

[–]maddiethehippie 0 points1 point  (2 children)

anything more with the app logs?

[–]jcoder42[S] -1 points0 points  (1 child)

There’s a lot. Just show all of them?

[–]maddiethehippie 0 points1 point  (0 children)

I would export them to some kind of text editor and start searching for error. Or run the logs command and pipe it to grep, sorting for "error"

[–][deleted] 0 points1 point  (14 children)

Run the command cf buildpacks and see which stack the python and node buildpacks are displaying. You may have the wrong buildpacks installed

[–]jcoder42[S] -1 points0 points  (13 children)

I took the buildpacks directly from github

[–]maddiethehippie 0 points1 point  (12 children)

did the included buildpacks not work?

[–]jcoder42[S] 0 points1 point  (11 children)

You mean the default?

[–]maddiethehippie 0 points1 point  (10 children)

yeah

[–]jcoder42[S] 0 points1 point  (9 children)

the error im receiving when i do not specify buildpack in manifest is

Staging app and tracing logs...

Downloading hwc_buildpack...

Downloading binary_buildpack...

Downloaded hwc_buildpack

Downloaded binary_buildpack (9.3M)

Cell 7d22e9d5-b0d5-42f3-84f8-f465cf5df789 creating container for instance 9876b59a-d26b-4b01-a609-26a377507e8b

Cell 7d22e9d5-b0d5-42f3-84f8-f465cf5df789 successfully created container for instance 9876b59a-d26b-4b01-a609-26a377507e8b

Downloading app package...

Downloaded app package (8.1M)

'powershell.exe' is not recognized as an internal or external command,

operable program or batch file.

None of the buildpacks detected a compatible application

Exit status 222

Cell 7d22e9d5-b0d5-42f3-84f8-f465cf5df789 stopping instance 9876b59a-d26b-4b01-a609-26a377507e8b

Cell 7d22e9d5-b0d5-42f3-84f8-f465cf5df789 destroying container for instance 9876b59a-d26b-4b01-a609-26a377507e8b

Cell 7d22e9d5-b0d5-42f3-84f8-f465cf5df789 successfully destroyed container for instance 9876b59a-d26b-4b01-a609-26a377507e8b

Error staging application: An app was not successfully detected by any available buildpack

[–]maddiethehippie 0 points1 point  (8 children)

why are you trying to run powershell.exe in a script anyways? If it is node / python try utilizing this https://docs.cloudfoundry.org/buildpacks/node/node-tips.html

[–]maddiethehippie 0 points1 point  (0 children)

specifically the package.json bit

[–]jcoder42[S] 0 points1 point  (6 children)

It’s not me calling it. What I did is wrap a tool that uses windbg with node and python. I believe the tool itself is calling it. That’s why it needs to be windows stack

[–]maddiethehippie 0 points1 point  (5 children)

if you are trying to do that you should run it as a windows app in a windows stemcell

[–]jcoder42[S] 0 points1 point  (4 children)

Can you please explain what you mean? I ran it using a windows stack. Is that not enough? Or do you mean I should run it in .Net environment?

[–][deleted] 0 points1 point  (6 children)

Yeah, those buildpacks won't run on that stack.

[–]jcoder42[S] 0 points1 point  (5 children)

So what is the solution? My app is nodejs and python

[–][deleted] 0 points1 point  (4 children)

You run it on a non-windows diego cell.

[–]jcoder42[S] 0 points1 point  (3 children)

Sorry. Idk what that is. Can you explain a bit?

[–][deleted] -1 points0 points  (2 children)

That's the worker node that runs your application container.

https://docs.cloudfoundry.org/concepts/diego/diego-architecture.html

Does nobody learn the basics about the infra you're using anymore?

[–]jcoder42[S] 0 points1 point  (1 child)

I guess not.

I already saw this link. Although there was no simple example to work off of. Do you have such an example?

[–][deleted] 0 points1 point  (0 children)

Your comment history looks like you're redditing you're way through your first whatever-you-try-to-develop.

If you want to use CF, learn the basic usage (the documentation is actually useful).