Register today for Oracle CloudWorld. October 17th - 20th, Las Vegas

Register now

Hillel Cooperman, Senior VP of User Experience Design, has a message for you on Oracle CloudWorld

Watch now
How to include local node package in custom API — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

How to include local node package in custom API

Received Response
edited Sep 27, 2018 11:58AM in Digital Assistant and Mobile 5 comments


Need to add a local node package to custom API


Hi All,

I developer a custom API for AMCe and that one is using a local node package that contains some utilities. How do I include it in my custom API so it is deployed properly using omce-deploy ?

This is the situation: Custom API depends on my utilities package.

Utilities package's package.json contains :  "name": "eproseed-js-utils", 

When using it locally, it can refer to it in my API's package.json as follows:

"dependencies": {
    "eproseed-js-utils": "file:eproseed-js-utils"}

However, when using omce-deploy, this (obviously) does not work. Runtime cannot find my utils package. I am not "willing" to install my package in a 'global' or 'private' npm repo. Is there any way to make this work? 


Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!