antwarjs / antwar

A static site generator built with React and Webpack.
https://antwar.js.org/
MIT License
460 stars 35 forks source link

Error cannot find config #38

Closed winkler1 closed 9 years ago

winkler1 commented 9 years ago

Seems innocuous but having the first msg an error looks bad--

$ antwar --init rrocks_blog
{ [Error: Cannot find module '/Users/Jeff/repos/antwar.config.js'] code: 'MODULE_NOT_FOUND' }
Starting to initialize project
bebraw commented 9 years ago

Fixed. It was actually a cli related issue. Just needed to make sure it doesn't fail if it cannot find the default configuration file. If you update the cli to version 0.5.1 the error should go away.