cli icon indicating copy to clipboard operation
cli copied to clipboard

Fn build fails with the error: ERROR: error creating .fn directory mkdir /home/orm/.fn: file exists

Open lfeldman opened this issue 2 years ago • 1 comments

I am trying to build the function, but I am facing the error:

Error: Error running command 'fn build --verbose --build-arg ARG_ADMIN_ATP_PASSWORD=xxxxxx --build-arg ARG_ATP_USER=iotuser --build-arg ARG_ATP_PASSWORD=xxxxxxx --build-arg ARG_ATP_ALIAS=iotpdb_medium': exit status 1. Output: INFO 2022/01/12 13:18:29.319802 log.go:106: logger level set to:  3

ERROR: error creating .fn directory mkdir /home/orm/.fn: file exists

I have added a command for deletion of the .fn directory (rm -rf /home/orm/.fn), but it is not working and the problem persists.

How to fix it?

lfeldman avatar Jan 12 '22 13:01 lfeldman

Can we have any input on it? I have the same issue

dario-vega avatar Sep 19 '22 11:09 dario-vega