Exception: SewingKit::Webpack::Manifest::NodeSewingKitManifestMissing

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

Instance Method Summary collapse

Constructor Details

#initialize(node_error_message) ⇒ NodeSewingKitManifestMissing

Returns a new instance of NodeSewingKitManifestMissing.



11
12
13
14
15
16
17
18
19
20
21
22
# File 'lib/sewing_kit/webpack/manifest.rb', line 11

def initialize(node_error_message)
  super(
    "Could not fetch the sewing-kit manifest 🙀  \n" \
      "Possible next steps:\n" \
      " - If the server is still starting up, wait for a "  \
      "'Compiled with latest changes' message then refresh your browser\n" \
      " - Check the development console for compilation errors\n" \
      " - Restart your development server\n" \
      "\n" \
      "Original error #{node_error_message}"
  )
end