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 Error
Constructor Details
This class inherits a constructor from Npmdc::Errors::Error
Instance Method Details
#banner ⇒ Object
21 22 23 24 25 26 27 |
# File 'lib/npmdc/errors.rb', line 21 def path = .fetch(:path) [ "Can't find `node_modules` folder inside '#{path}' directory!", ["\nRun `npm install` to install missing packages.", :warn] ] end |