realdadfish / sparkleshare-dashboard

This is a fork of the NodeJS-driven Dashboard of the free Dropbox alternative SparkleShare
GNU Affero General Public License v3.0
27 stars 15 forks source link

stderr: fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. #3

Closed ghost closed 12 years ago

ghost commented 12 years ago

Greetings,

When I run make run, I get the following error:

NODE_ENV=production node app.js stderr: fatal: ambiguous argument 'HEAD': unknown revision or path not in the working tree. Use '--' to separate paths from revisions

SparkleShare Dashboard listening on port 3000 in production mode

How to fix this?

Many thanks for such a wonderful project!

realdadfish commented 12 years ago

The Dashboard currently won't run on newly created git repositories that do not contain a single committed revision. Ensure that you've committed at least one revision.

Nokaido commented 11 years ago

in every description I found no one committed anything, it just works after creating a new project with "dazzle create PROJECT_NAME". Ok maybe its to basic to mention it. Next thing I did was "git init" inside the project folder and than "git add *" followed by "git commit". Starting the dashboard again threw the same error again. What am I doing wrong?