Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Using other npm modules in APIGEE Edge cloud version

Not applicable
I tried to use npm module 'request-replay' in Apigee Edge cloud.But its throwing me error like "Error: Cannot find module 'request-replay' ".How to include this module in the cloud version of APIGEE Edge for the use in API Proxies? I also tried using npm module 'request'.But this time its not "Cannot find module".Instead errors are not clear."Script node executed prematurely: Script HTTPReq.js exited with status code 0" .Not sure whether this is also same issue. Please suggest what should I do to fix these issues.
Solved Solved
0 13 386
1 ACCEPTED SOLUTION

  • Add the dependency to package.json file
  • Re-Deploy Node APP
  • Call API here with command=install

View solution in original post

13 REPLIES 13