Skip to content

Cannot generate docs "npm run gendoc" #104

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

Open
albertpadin opened this issue Feb 4, 2016 · 3 comments
Open

Cannot generate docs "npm run gendoc" #104

albertpadin opened this issue Feb 4, 2016 · 3 comments

Comments

@albertpadin
Copy link

"npm run gendoc" results in an error message:

screen shot 2016-02-04 at 9 21 23 pm

Also, opening the current index.html in a web browser gives an error:

screen shot 2016-02-04 at 9 21 44 pm

@kamicut
Copy link
Contributor

kamicut commented Feb 4, 2016

It seems you don't have the apidoc dependency installed. Could you try running npm install and then follow with npm run gendoc ?

To view the documentation you will have to do npm start and navigate to http://localhost:4000 in your browser

@albertpadin
Copy link
Author

Thanks!

npm install and npm run gendoc worked.

npm start gave me the following error. Any ideas?

screen shot 2016-02-05 at 9 40 20 am

@kamicut kamicut self-assigned this Feb 5, 2016
@danielfdsilva
Copy link
Contributor

@albertpadin Try creating a file local.js in your root directory with the following:

module.exports.connection = {
  production: ''
};

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

3 participants