Closed oprogramador closed 6 years ago
We have created an issue in Pivotal Tracker to manage this:
https://www.pivotaltracker.com/story/show/160106939
The labels on this github issue will be updated when the story is started.
Thanks for the note @oprogramador.
We don't host node modules, so I don't think there's much we can do about this. Could you vendor your app?
@sclevine
if I don't resolve this issue, that seems to be another approach to try. In CI I install all the dependencies including the dev ones so it should require another building with only prod dependencies but I can do that.
@oprogramador We'll go ahead and close this for now, since it's not something we control. That said, please feel free to re-open if you have anymore trouble or have more questions.
@ameyer-pivotal
I fixed this by removing setting yarn config https://github.com/cloudfoundry/nodejs-buildpack/blob/master/src/nodejs/yarn/yarn.go#L53-L61
I didn't open a PR because I keep it in a private repo in order to have a better control
What version of Cloud Foundry and CF CLI are you using? (i.e. What is the output of running
cf curl /v2/info && cf version
? 6.30.0+decf883fc.2017-09-01What version of the buildpack you are using? latest
If you were attempting to accomplish a task, what was it you were attempting to do? cf push
What did you expect to happen? successful deploy
What was the actual behavior? failure related to yarn
Can you provide a sample app?
My logs:
Let's note:
Please confirm where necessary: