Exception: ViteRuby::MissingExecutableError
- Defined in:
- lib/vite_ruby/missing_executable_error.rb
Overview
Internal: Raised when the Vite executable can not be found.
Instance Method Summary collapse
-
#initialize(error = nil) ⇒ MissingExecutableError
constructor
A new instance of MissingExecutableError.
Methods inherited from Error
Constructor Details
#initialize(error = nil) ⇒ MissingExecutableError
Returns a new instance of MissingExecutableError.
5 6 7 8 9 10 11 12 |
# File 'lib/vite_ruby/missing_executable_error.rb', line 5 def initialize(error = nil) super <<~MSG ❌ The vite binary is not available. Have you installed the npm packages? :troubleshooting: #{error} MSG end |