Exception: Npmdc::Errors::NoNodeModulesError
- Inherits:
-
CheckerError
- Object
- StandardError
- Error
- CheckerError
- Npmdc::Errors::NoNodeModulesError
- Defined in:
- lib/npmdc/errors.rb
Instance Attribute Summary
Attributes inherited from Error
Instance Method Summary collapse
Methods inherited from CheckerError
Methods inherited from Error
Constructor Details
This class inherits a constructor from Npmdc::Errors::Error
Instance Method Details
#banner ⇒ Object
38 39 40 41 42 43 44 |
# File 'lib/npmdc/errors.rb', line 38 def path = .fetch(:path) [ "Can't find `node_modules` folder inside '#{path}' directory!", ["\nRun `npm install` to install missing packages.", :warn] ] end |