fnproject / cli

CLI tool for fnproject.
https://fnproject.io
Apache License 2.0
132 stars 66 forks source link

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

Open lfeldman opened 2 years ago

lfeldman commented 2 years ago

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?

dario-vega commented 2 years ago

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