Cannot find module 'apigee-access'

Not applicable

We are getting the error cannnot find module apigee-access when we use apigee-access module

Solved Solved
0 4 599
1 ACCEPTED SOLUTION

Former Community Member
Not applicable

Hi @Kodandapani as you know "apigee-access" can be run in both "deployed mode" (provided for you by Apigee Edge) or in local mode (you will have to npm install apigee-access or download it from). Are you encountering this issue in your Apigee Edge cloud deployment?

View solution in original post

4 REPLIES 4

Not applicable

Former Community Member
Not applicable

Hi @Kodandapani as you know "apigee-access" can be run in both "deployed mode" (provided for you by Apigee Edge) or in local mode (you will have to npm install apigee-access or download it from). Are you encountering this issue in your Apigee Edge cloud deployment?

@Prithpal Bhogill , The problem here is the code that @Kodandapani when tried on cloud worked well where as it failed when he deployed the same on on-premise .

Looks like the 'apigee-access' module doesn't come by default with OPDK and we need to install explicitly .

cc @sgilson , Do you think we should add this to docs ?

Former Community Member
Not applicable

Correct @Maruti Chand, you would have to download the "apigee-access" node module locally & then use apigeedeploy tool to package the modules in your proxy and deploy it.