Skip to content

Instantly share code, notes, and snippets.

@tenoritaiga
Created March 6, 2019 18:13
Show Gist options
  • Save tenoritaiga/db6cd6f3b4e82f4d7492c306c7c0330d to your computer and use it in GitHub Desktop.
Save tenoritaiga/db6cd6f3b4e82f4d7492c306c7c0330d to your computer and use it in GitHub Desktop.
> unfetter-discover-api@0.3.12 debugdev /usr/share/unfetter-discover-api
> npm run compileswagger && nodemon --delay 300ms --inspect=0.0.0.0:5555 --watch ./api --ignore 'api/swagger/swagger*.*' -e js,yaml,json,yml api/server/server.js
> unfetter-discover-api@0.3.12 compileswagger /usr/share/unfetter-discover-api
> multi-file-swagger multifile.yaml > api/swagger/swagger.json && json2yaml ./api/swagger/swagger.json > ./api/swagger/swagger.yaml && swagger validate ./api/swagger/swagger.yaml
sh: can't create api/swagger/swagger.json: Permission denied
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! unfetter-discover-api@0.3.12 compileswagger: `multi-file-swagger multifile.yaml > api/swagger/swagger.json && json2yaml ./api/swagger/swagger.json > ./api/swagger/swagger.yaml && swagger validate ./api/swagger/swagger.yaml`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the unfetter-discover-api@0.3.12 compileswagger script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /home/node/.npm/_logs/2019-03-06T17_46_15_905Z-debug.log
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! unfetter-discover-api@0.3.12 debugdev: `npm run compileswagger && nodemon --delay 300ms --inspect=0.0.0.0:5555 --watch ./api --ignore 'api/swagger/swagger*.*' -e js,yaml,json,yml api/server/server.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the unfetter-discover-api@0.3.12 debugdev script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
npm ERR! /home/node/.npm/_logs/2019-03-06T17_46_15_930Z-debug.log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment