Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fresh install of documentjs failes #283

Open
tracer99 opened this issue Dec 21, 2017 · 1 comment
Open

Fresh install of documentjs failes #283

tracer99 opened this issue Dec 21, 2017 · 1 comment

Comments

@tracer99
Copy link

tracer99 commented Dec 21, 2017

Brand new DoneJS install using DoneJS 1.1
npm 5.6
node 8.9.3

donejs add app doccss
cd doccss
npm install --save-dev documentjs

created a document.json:

{
"sites": {
  "docs": {
      "dest": "docs",
      "glob": {
        "pattern": "src/**/*.{js,md}"
      }
    },
    "styles": {
     "parent": "styles",
      "glob": "{styles,src}/**/*.{md,css,less}",
      "dest": "styleguide"
    }
  }
 }

created a styles dir with a styles.md file
./node_modules/.bin/documentjs
produces this error:
Error: ENOENT: no such file or directory, open '/home/pault/doccss/node_modules/documentjs/site/templates/99914b932bd37a50b983c5e7c90ae93b/layout.mustache'

That dir does exist, but it's empty.

@tracer99
Copy link
Author

running --force-build fixes this. I have to run it every time though.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant