Configuration error :Edge Micro on windows 10 home

Hi All,

Getting below error when trying to configure edge-micro on window 10 home. Please help

$ edgemicro configure -o xxxxxx-eval -e test -u xxx.xxx@tcs.com
current nodejs version is v7.5.0
current edgemicro version is 2.5.11
password:

file doesn't exist, setting up
C:\Users\xxxx\AppData\Roaming\npm\node_modules\edgemicro\cli\lib\deploy-auth.js:95
    deployProxyWithPassword(managementUri,authUri, options, dir, (err,uri)=>{
    ^

ReferenceError: deployProxyWithPassword is not defined
    at C:\Users\xxx\AppData\Roaming\npm\node_modules\edgemicro\cli\lib\deploy-auth.js:95:5
    at C:\Users\xxx\AppData\Roaming\npm\node_modules\edgemicro\node_modules\async\lib\async.js:718:13
    at iterate (C:\Users\xxx\AppData\Roaming\npm\node_modules\edgemicro\node_modules\async\lib\async.js:262:13)
    at C:\Users\xxx\AppData\Roaming\npm\node_modules\edgemicro\node_modules\async\lib\async.js:274:29
    at C:\Users\xxx\AppData\Roaming\npm\node_modules\edgemicro\node_modules\async\lib\async.js:44:16
    at C:\Users\xxx\AppData\Roaming\npm\node_modules\edgemicro\node_modules\async\lib\async.js:723:17
    at C:\Users\xxx\AppData\Roaming\npm\node_modules\edgemicro\node_modules\async\lib\async.js:167:37
    at next (C:\Users\xxx\AppData\Roaming\npm\node_modules\edgemicro\node_modules\rimraf\rimraf.js:75:7)
    at CB (C:\Users\xxx\AppData\Roaming\npm\node_modules\edgemicro\node_modules\rimraf\rimraf.js:111:9)
    at C:\Users\xxx\AppData\Roaming\npm\node_modules\edgemicro\node_modules\rimraf\rimraf.js:137:14
    at FSReqWrap.oncomplete (fs.js:112:15)


Solved Solved
0 6 211
1 ACCEPTED SOLUTION

Not applicable

Hi,

Under the installation folder node_modules\edgemicro\cli\lib, i have edited the file

deploy-auth.js

On line 183, i have put the following declaration in comment:

//Deployment.prototype.deployProxyWithPassword =

Therefore my line 184 looks like:

function deployProxyWithPassword(managementUri,authUri, options, dir, callback) {

I hope Apigee support can fix it in a better way.

Ludovic

View solution in original post

6 REPLIES 6

Not applicable

Hi, just had the same problem. I edited the deploy-auth.js and now it's working:

//Deployment.prototype.deployProxyWithPassword =
function deployProxyWithPassword(managementUri,authUri, options, dir, callback) {

Hi, I am facing the same issue. Could you tell me what exactly you edited?

Thanks

@Ludovic Duvetter

Hello mate, I have the same problem. Can you please elaborate more your answer. I will appreciate it. Thank you.

Not applicable

Hi,

Under the installation folder node_modules\edgemicro\cli\lib, i have edited the file

deploy-auth.js

On line 183, i have put the following declaration in comment:

//Deployment.prototype.deployProxyWithPassword =

Therefore my line 184 looks like:

function deployProxyWithPassword(managementUri,authUri, options, dir, callback) {

I hope Apigee support can fix it in a better way.

Ludovic

Thanks Much. This helped. Edge Micro configuration completed successfully and created the Cert and Keys