Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

500 Error: ENOENT, open 'C:\Users\Gilbert\Documents\GitHub\maths4me\base.dust' with consolidate.js

I get this error when trying to set up inheritance in dust.js:

500 Error: ENOENT, open 'C:\Users\Gilbert\Documents\GitHub\maths4me\base.dust'

I have a file called index.html:

{>"base.dust"/}
   {<title}Hi{/title}

Which calls base.dust:

<!DOCTYPE html>
<html>
  <head>
    <title>{+title}Maths 4 me{/title}</title>
    <link rel='stylesheet' href='/stylesheets/style.css' />
  </head>
  <body>
    <h1>Hi</h1>
    <p>Welcome to maths4me</p>
  </body>
</html>
like image 538
gilbertbw Avatar asked Aug 31 '12 00:08

gilbertbw


1 Answers

ENOENT means that file doesn't exist.

Check again that base.dust exists in provided location.

like image 181
Jan Święcki Avatar answered Nov 15 '22 04:11

Jan Święcki