cloudfoundry-community / node-cfenv

easy access to your Cloud Foundry application environment for node
Apache License 2.0
73 stars 20 forks source link

no instructions how to use cfenv in angular5 app deployed in the cloud foundry the angular app is deployed in the node.js runtime environment in the cloud (pitoval cloud foundry) #32

Closed osujii191 closed 6 years ago

osujii191 commented 6 years ago

no instructions how to use cfenv in angular5 app deployed in the cloud foundry, the angular app is deployed in the node.js runtime environment in the cloud (pushed angular app on to the cloud using pitoval cloud foundry - nodejs runtime)

osujii191 commented 6 years ago

i am using this in a node.js runtime and still don't understand how to use it.

osujii191 commented 6 years ago

when i checked the instructions on the npmjs.com i see the following: "This means you can use this package in your program and it will provide useful values when you're running in Cloud Foundry AND when you're running locally."...unable to use this library locally

osujii191 commented 6 years ago

Also see below error ; $ npm install @ types/cfenv --save npm ERR! code E404 npm ERR! 404 Not Found: @ types/cfenv@ latest

pmuellr commented 6 years ago

I'm not surprised the command below failed; it would require someone to add that package - @types/cfenv - to npm, and I guess no one has.

$ npm install @ types/cfenv --save

Feel free to do so yourself.

pmuellr commented 6 years ago

The README explains how to use the package. I'm not sure what you don't understand, so can't really help you.

Please be more specific. What are you trying to do?

pmuellr commented 6 years ago

Closing due to lack of feedback.