You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi there, I've been using prettier-ruby to great success for the past few months. We recently upgraded to 4.0.2, and I (only me, my teammates aren't experiencing the problem) haven't been able to get prettier to work with VScode any more.
It does work through the CLI, however.
Node version: v20.3.0
Ruby version: ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [-darwin22] (EOL but we're stuck for now)
Prettier version: 3.0.0
Prettier-ruby version: 4.0.2
Bundler version: 2.3.26
I get this error message in the OUTPUT section of VSCode.
["DEBUG" - 16:55:55] Local prettier module path: '/Users/jonny/app/node_modules/prettier/index.cjs'
["INFO" - 16:55:55] Using config file at '/Users/jonny/app/.prettierrc.js'
["ERROR" - 16:55:58] Error formatting document.
["ERROR" - 16:55:58] Failed to get connection options from parse server in time. If this happens repeatedly, try increasing the PRETTIER_RUBY_TIMEOUT_MS environment variable beyond 10000.
Error: Failed to get connection options from parse server in time. If this happens repeatedly, try increasing the PRETTIER_RUBY_TIMEOUT_MS environment variable beyond 10000.
at Timeout._onTimeout (file:///Users/jonny/app/node_modules/@prettier/plugin-ruby/src/plugin.js:131:16)
at listOnTimeout (node:internal/timers:559:17)
at process.processTimers (node:internal/timers:502:7)
["INFO" - 16:55:58] Formatting completed in 10004ms.
I'm confident this is a configuration problem with my laptop, as my teammates aren't seeing this. But I don't know what else to try, so submitting this issue as a last ditch plea for help.
Thanks!
The text was updated successfully, but these errors were encountered:
Hi there, I've been using prettier-ruby to great success for the past few months. We recently upgraded to 4.0.2, and I (only me, my teammates aren't experiencing the problem) haven't been able to get prettier to work with VScode any more.
It does work through the CLI, however.
I get this error message in the OUTPUT section of VSCode.
I have the required gems installed
Based on the title of #1359 I should be getting an error if the gems aren't installed correctly, and I'm not.
Things I've tried:
Things I've checked:
nvm
) is the same as in my project, the default is v20.3.0rbenv
) is the same as in my projectI'm confident this is a configuration problem with my laptop, as my teammates aren't seeing this. But I don't know what else to try, so submitting this issue as a last ditch plea for help.
Thanks!
The text was updated successfully, but these errors were encountered: