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

Swagger node does not work on npm3 #1

Closed
at15 opened this issue Apr 19, 2016 · 2 comments
Closed

Swagger node does not work on npm3 #1

at15 opened this issue Apr 19, 2016 · 2 comments
Assignees
Labels

Comments

@at15
Copy link
Owner

at15 commented Apr 19, 2016

related issue is swagger-api/swagger-node#351 but the pr swagger-api/swagger-node#352 didn't get merged.

at15 added a commit that referenced this issue Apr 19, 2016
FIXME: using vendor swagger won't work see #1
@at15
Copy link
Owner Author

at15 commented Apr 19, 2016

after install, edit node_modules/swagger/config/index.js change

editorDir: path.resolve(config.nodeModules, 'swagger-editor'), to editorDir: path.dirname(require.resolve('swagger-editor'))

@at15 at15 added the bug label Apr 19, 2016
@at15 at15 self-assigned this Apr 19, 2016
@at15
Copy link
Owner Author

at15 commented Apr 20, 2016

Fixed in swagger-api/swagger-node#369

@at15 at15 closed this as completed Apr 20, 2016
at15 added a commit that referenced this issue Apr 20, 2016
- use js-yaml library to read yaml and write to pretty print json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant