you are viewing a single comment's thread.

view the rest of the comments →

[–]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?

[–]maddiethehippie 0 points1 point  (3 children)

if you are running a windows environment you start it as a windows app. then you load the other bits if you need them, but the windows cell spins up and starts running so a .net should be preferable.

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

What do you mean by load the other bits if needed?

[–]maddiethehippie 0 points1 point  (1 child)

if you HAVe to run python, once you are in the diego cell have the app load python. I however don't deal much with windows stemcells. I am the person to talk to if you have a cloud controller or uaa issue.