Exception: SewingKit::Webpack::Compiler::NodeNotInstalled

Inherits:
StandardError
  • Object
show all
Defined in:
lib/sewing_kit/webpack/compiler.rb

Instance Method Summary collapse

Constructor Details

#initializeNodeNotInstalled

Returns a new instance of NodeNotInstalled.



9
10
11
12
13
14
15
16
17
18
# File 'lib/sewing_kit/webpack/compiler.rb', line 9

def initialize
  super(
    "nodejs is not installed.  " \
    "Try creating a `.buildpacks` file in the root of the project with following content:

    https://github.com/heroku/heroku-buildpack-nodejs.git
    https://github.com/heroku/heroku-buildpack-ruby.git
    "
  )
end