cloudfoundry / nodejs-buildpack

Cloud Foundry buildpack for Node.js
http://docs.cloudfoundry.org/buildpacks/
Apache License 2.0
170 stars 385 forks source link

How to create a nodejs buildpack with node-rfc support #78

Closed sneha5gsm closed 7 years ago

sneha5gsm commented 7 years ago

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?

What version of the buildpack you are using?

If you were attempting to accomplish a task, what was it you were attempting to do?

What did you expect to happen?

What was the actual behavior?

Please confirm where necessary:

cf-gitbot commented 7 years ago

We have created an issue in Pivotal Tracker to manage this:

https://www.pivotaltracker.com/story/show/140114591

The labels on this github issue will be updated when the story is started.

sclevine commented 7 years ago

You should be able to include this node module in your package.json without modifying the buildpack

If you're trying to create a private, forked version of the buildpack that includes the SAP NetWeawer RFC Library, you would need to modify the compile script (https://github.com/cloudfoundry/nodejs-buildpack/blob/master/bin/compile) to install that library. Here's more information about how CF buildpacks work that may be useful for this endeavor: https://docs.cloudfoundry.org/buildpacks/custom.html

sneha5gsm commented 7 years ago

Thanks a lot Stephen. :)

On Tue, Feb 21, 2017 at 10:17 PM, Stephen Levine notifications@github.com wrote:

You should be able to include this node module https://www.npmjs.com/package/node-rfc in your package.json without modifying the buildpack

If you're trying to create a private, forked version of the buildpack that includes the SAP NetWeawer RFC Library, you would need to modify the compile script (https://github.com/cloudfoundry/nodejs-buildpack/ blob/master/bin/compile) to install that library. Here's more information about how CF buildpacks work that may be useful for this endeavor: https://docs.cloudfoundry.org/buildpacks/custom.html

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/cloudfoundry/nodejs-buildpack/issues/78#issuecomment-281402378, or mute the thread https://github.com/notifications/unsubscribe-auth/AMGwXSy6eka6NPGk2KnD7HgLZxYR6ttxks5rexUIgaJpZM4MD5k6 .

sclevine commented 7 years ago

Happy to help! Closing this for now. Let me know if you have more questions and I can re-open it.