Azure / meta-azure-service-broker

A service broker to manage multiple Azure services in Cloud Foundry
Apache License 2.0
39 stars 44 forks source link

Failed to compile droplet: Failed to run all supply scripts: exit status 14 #209

Closed robdickens closed 5 years ago

robdickens commented 5 years ago

Hi,

I'm trying to cf push the service broker as per the instructions here - https://github.com/Azure/meta-azure-service-broker/blob/master/docs/how-admin-deploy-the-broker.md

When I get to the cf push section, i get the following error

npm ERR! Maximum call stack size exceeded npm ERR! A complete log of this run can be found in: npm ERR! /home/vcap/.npm/_logs/2019-02-27T14_59_54_913Z-debug.log **ERROR** Unable to build dependencies: exit status 1 Failed to compile droplet: Failed to run all supply scripts: exit status 14 Exit status 223

unfortunately it does not appear to write the debug log into the location it suggests so I am unsure how to proceed.

Is this an issue anyone else has seen?

zhongyi-zhang commented 5 years ago

It looks like a similar issue to https://github.com/Azure/meta-azure-service-broker/issues/207. Could you have a try removing offline=true?

robdickens commented 5 years ago

Hi @zhongyi-zhang - this does get past the immediate error. Will this cause me any issues moving forward?

zhongyi-zhang commented 5 years ago

If your CF environment for the broker app doesn't block NPM registry, that's totally fine. Else, you can run npm install locally, add offline=true back, and push, it should also work well.

robdickens commented 5 years ago

That's great, thanks for the help and information!