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

How to run this app on local machine and github pages aswell #113

Closed
vinodkumarmarupu opened this issue Dec 18, 2017 · 6 comments
Closed

Comments

@vinodkumarmarupu
Copy link

E:\APIDoc\spectacle-master\spectacle-master>spectacle spectacle -s
module.js:471
throw err;
^

Error: Cannot find module 'E:\APIDoc\spectacle-master\spectacle-master\spectacle
'
at Function.Module._resolveFilename (module.js:469:15)
at Function.Module._load (module.js:417:25)
at Module.require (module.js:497:17)
at require (internal/module.js:20:19)
at loadData (C:\Users\miracle\AppData\Roaming\npm\node_modules\spectacle-doc
s\index.js:53:46)
at module.exports (C:\Users\miracle\AppData\Roaming\npm\node_modules\spectac
le-docs\index.js:56:70)
at Object. (C:\Users\miracle\AppData\Roaming\npm\node_modules\spe
ctacle-docs\bin\spectacle.js:35:1)
at Module._compile (module.js:570:32)
at Object.Module._extensions..js (module.js:579:10)
at Module.load (module.js:487:32)
at tryModuleLoad (module.js:446:12)
at Function.Module._load (module.js:438:3)
at Module.runMain (module.js:604:10)
at run (bootstrap_node.js:390:7)
at startup (bootstrap_node.js:150:9)
at bootstrap_node.js:505:3

I got this error on my machine.

@yyamano
Copy link
Contributor

yyamano commented Dec 20, 2017

@vinodkumarmarupu You need to pass a spec file name as an argument. Could you try:

spectacle test\fixtures\cheese.yml -s 

@vinodkumarmarupu
Copy link
Author

Thank you worked for me. How to run on Github?

@yyamano
Copy link
Contributor

yyamano commented Dec 23, 2017

@vinodkumarmarupu I don't think you can run the spectacle server on github. Instead you can upload files in public directory to github.

@vinodkumarmarupu
Copy link
Author

If we upload the public directory to GitHub what it will do?

@auscaster
Copy link
Member

auscaster commented Dec 26, 2017 via email

@vinodkumarmarupu
Copy link
Author

Thank you Kam, I will work on that.

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