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 doesn't install with or without sudo. #1172

Closed
freak4pc opened this issue Apr 16, 2015 · 4 comments
Closed

Swagger doesn't install with or without sudo. #1172

freak4pc opened this issue Apr 16, 2015 · 4 comments

Comments

@freak4pc
Copy link

Doing "npm start" on latest clone results in numerous

npm ERR! Error: EACCES, open 'npm-debug.log'
npm ERR!  { [Error: EACCES, open 'npm-debug.log'] errno: 3, code: 'EACCES', path: 'npm-debug.log' }
npm ERR!
npm ERR! Please try running this command again as root/Administrator.

Doing "sudo npm start" to remedy, results in :

bower ESUDO         Cannot be run with sudo

Any ideas?

@webron
Copy link
Contributor

webron commented Apr 16, 2015

you're doing npm start on swagger-ui?

@freak4pc
Copy link
Author

Whoops. I'm full of clumsy mistakes today. Just noticed instructions say install and gulp.

@webron
Copy link
Contributor

webron commented Apr 16, 2015

Keep in mind that's only if you made changes to the sources and need to rebuild. Otherwise, you can use whatever is under the /dist directory as-is.

@freak4pc
Copy link
Author

Gotya. thanks :)

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

2 participants