code-server version: Can't find version number, pulled from codercom/code-server:latestuse the rm command from terminal
I can confirm this error. This seems to also happen when run from macOS binary.
More detailed log below:
ERR Cannot find module 'trash': Error: Cannot find module 'trash'
at convert (webpack-internal:///./packages/protocol/src/common/util.ts:63:37)
at Object.exports.parse (webpack-internal:///./packages/protocol/src/common/util.ts:83:18)
at eval (webpack-internal:///./packages/protocol/src/browser/client.ts:158:35)
at eval (webpack-internal:///./packages/events/src/events.ts:37:58)
at Array.forEach (<anonymous>)
at Emitter.emit (webpack-internal:///./packages/events/src/events.ts:37:28)
at Client.handleMessage (webpack-internal:///./packages/protocol/src/browser/client.ts:200:36)
at eval (webpack-internal:///./packages/protocol/src/browser/client.ts:46:23)
at eval (webpack-internal:///./packages/events/src/events.ts:37:58)
at Array.forEach (<anonymous>)
Will fix!
Hi, I found this problem can be fixed temporarily by changing file delete in setting.
Uncheck send the deleted file to trash bin and you will see the delete option change to permanently delete, and the file will be gone when you select the permanently delete.
Uncheck send the deleted file to trash bin and you will see the delete option change to permanently delete, and the file will be gone when you select the permanently delete.
Can confirm it works.
Probably fixed by e1dc696.
Can confirm it works, and the Trash Bin will be at ~/.local/share/Trash/files (debian stretch), maybe this issue could be closed.
confirmed in coder build at 2019-03-13 15:36:09
closing
Most helpful comment
Hi, I found this problem can be fixed temporarily by changing file delete in setting.
Uncheck send the deleted file to trash bin and you will see the delete option change to permanently delete, and the file will be gone when you select the permanently delete.