-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Install failure #83
Comments
hello @fcaprilli. Thanks for reporting the issue. |
Attached a series of files - they're numbered. Thanks! 1_git_clone.txt |
Thanks for logs. It seems to be a windows-specific issue. I will test it on VM and let you know once I found an issue. BTW, I'm just curious why you need to run ReDoc locally? Are you going to customize it? Because running ReDoc locally is mostly intended for development (I need to rename this section to "Development") |
Hey Roman - thanks. If I don't want to deploy my documentation to the cloud, don't I have to run it locally? Am I overthinking this? How do I run this and point to a local swagger.json? Is it simple as running the page you show under deployment and point to a localhost file? |
yes, just copy the example from deployment section and change for example: put
and serve contents of the folder using any HTTP-server, e.g.
then just access Let me know if you need any further help. Sorry for confusing docs, will fix this :) |
I have an npm start issue on a Mac as well: `~/dev3/Redoc $ npm start
/Users/maneesh.sahu/dev3/ReDoc/build/tasks/build.js:42 npm ERR! Darwin 14.5.0 npm ERR! Please include the following file with any support request: |
@maneeshsahu seems you are using an old version of node:
This version doesn't support ES6 fat arrow functions ( |
Roman - thanks for the info. I got it running the way you suggested (simple HTML file from a local server. Now I'm comparing the way you render the API to how the Swagger editor does. Perhaps yours is more finicky when it comes to syntax? I'll paste in a few screen shots. If you like, I can provide my json spec. Here's the Swagger editor version - note how I have defined some elements as arrays and how I'm able to expand them to the underlying definition. And here's how the same file appears in Redoc - the array elements are not clickable/expandable: I also note the following warnings at the top of the page, which don't seem to be a problem for the Swagger editor: No "type" specified at "#/definitions/Summaries". Automatically detected: "object" Here's a snippet from my YAML file for one of those definitions: WirelessAccountSummary: Thanks! |
Great!
Yes, would be fine. It will help a lot |
Can I send it privately? Not that there are any trade secrets embedded, but - just in case ;) Also - you want the YAML? JSON? both? |
p.s. very excited about this - it's exactly what I've been looking for! |
yes, send it to my email (you can find it in my GitHub profile)
Send either yaml or json. Doesn't matter. |
@fcaprilli I've checked your spec and this is a ReDoc bug. I reported it as a separate issue - #84 |
Hello... following the instructions for running locally (I have installed node.js) - failure at the npm run jspm-install step. There is no npm-debug.log file that I can see - console output below. Thanks!
[09:21:48] Starting 'bundle'...
[09:21:49] 'bundle' errored after 1.15 s
[09:21:49] Error on fetch for redoc.module.js at file:///C:/ReDoc/redoc.module.j
s
Loading .tmp\lib\index.js
Error: ENOENT: no such file or directory, open 'C:\ReDoc\redoc.module.js
'
at Error (native)
[09:21:49] 'build' errored after 5.6 s
[09:21:49] Error in plugin 'run-sequence(bundle)'
Message:
Error on fetch for redoc.module.js at file:///C:/ReDoc/redoc.module.js
Loading .tmp\lib\index.js
ENOENT: no such file or directory, open 'C:\ReDoc\redoc.module.js'
Details:
originalErr: Error: ENOENT: no such file or directory, open 'C:\ReDoc\redoc.
module.js'
Stack:
Error on fetch for redoc.module.js at file:///C:/ReDoc/redoc.module.js
Loading .tmp\lib\index.js
Error: ENOENT: no such file or directory, open 'C:\ReDoc\redoc.module.js
'
at Error (native)
npm ERR! Windows_NT 6.1.7601
npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs
node_modules\npm\bin\npm-cli.js" "start"
npm ERR! node v4.5.0
npm ERR! npm v2.15.9
npm ERR! code ELIFECYCLE
npm ERR! [email protected] start:
gulp serve
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] start script 'gulp serve'.
npm ERR! This is most likely a problem with the redoc package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! gulp serve
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs redoc
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!
npm ERR! npm owner ls redoc
npm ERR! There is likely additional logging output above.
The text was updated successfully, but these errors were encountered: