E325: ATTENTION
Found a swap file by the name ".app.js.swp"
owned by: ubuntu dated: Wed Jun 3 15:30:15 2020
file name: ~ubuntu/docker-compose/service/xcweb/xcxm/app.js
modified: no
user name: ubuntu host name: VM-0-13-ubuntu
process ID: 29617 (still running)
While opening file "app.js"
dated: Wed Jun 3 15:31:31 2020
NEWER than swap file!
(1) Another program may be editing the same file. If this is the case,
be careful not to end up with two different instances of the same
file when making changes. Quit, or continue with caution.
(2) An edit session for this file crashed.
If this is the case, use ":recover" or "vim -r app.js"
to recover the changes (see ":help recovery").
If you did this already, delete the swap file ".app.js.swp"
to avoid this message.
Swap file ".app.js.swp" already exists!
[O]pen Read-Only, (E)dit anyway, (R)ecover, (Q)uit, (A)bort:
vi 编辑文件的时候 ,手贱ctrl+z ,导致的问题
解决办法
用ls -a 查看,然后rm -f 删除 即可。