ruimarinho / gsts

Obtain and store AWS STS credentials to interact with Amazon services by authenticating via G Suite SAML.
MIT License
221 stars 38 forks source link

Ubuntu jammy snap firefox errors on --clean #78

Closed rwalerow closed 1 year ago

rwalerow commented 1 year ago

Since moving to a new ubuntu installation(22 jammy) I do encounter an issue when running gsts with --clean option(It's needed from time to time)

Error looks like this:

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
(Use `node --trace-warnings ...` to show where the warning was created)
[Error: ENOENT: no such file or directory, mkdir '/var/snap/firefox/common/host-hunspell/.Trash-0'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'mkdir',
  path: '/var/snap/firefox/common/host-hunspell/.Trash-0'
}

I tried:

Any suggestions?

ruimarinho commented 1 year ago

Thanks for the report @rwalerow. There was an issue with the trash package which appears to have been fixed by https://github.com/sindresorhus/trash/pull/124.

This will be addressed in https://github.com/ruimarinho/gsts/pull/81 which will land on the next major.