opticdev / optic

OpenAPI linting, diffing and testing. Optic helps prevent breaking changes, publish accurate documentation and improve the design of your APIs.
https://useoptic.com
MIT License
1.35k stars 79 forks source link

Trouble Installing optic 8.2.2 in Debian 10 #263

Closed Pra3t0r5 closed 4 years ago

Pra3t0r5 commented 4 years ago

Howdy!

After noticing the new update i deleted Optic and installed the new version as your docs specify, but i've got this error:

Screenshot from 2020-07-15 22-11-48

This are my system specs: Linux debian 4.19.0-9-amd64 #1 SMP Debian 4.19.118-2+deb10u1 (2020-06-07) x86_64 GNU/Linux

And these are my development environment details:

~/Projects/node/api_rest_cruciclub_optic · (master±)
⟩ npm -v
6.14.6

~/Projects/node/api_rest_cruciclub_optic · (master±)
⟩ node -v
v13.11.0

~/Projects/node/api_rest_cruciclub_optic · (master±)
⟩ pm2 -v
4.4.0

Lastly, here are my project details, you can check them at this repo

{
  "name": "crucijuegos-api-rest",
  "version": "0.0.0",
  "private": true,
  "scripts": {
    "start": "npm run pm2 && pm2 flush && pm2 log api-rest",
    "pm2": "pm2 start pm2-env.config.js --only api-rest"
  },
  "dependencies": {
    "bcrypt": "^4.0.1",
    "cookie-parser": "^1.4.4",
    "cors": "^2.8.5",
    "debug": "~2.6.9",
    "ejs": "~2.5.7",
    "express": "~4.16.0",
    "helmet": "^3.15.1",
    "http-errors": "~1.6.2",
    "jsonwebtoken": "^8.5.0",
    "mercadopago": "^1.3.2",
    "morgan": "~1.9.0",
    "mysql2": "^1.6.5",
    "pm2": "^4.4.0",
    "sequelize": "^4.43.0",
    "twilio": "^3.48.0",
    "winston": "^3.2.1"
  }
}
LouManglass commented 4 years ago

I'm seeing the same thing. Thanks for the report, and sorry for the inconvenience! I've reproduced this on the latest update on both Debian and Mac, and we've got a good lead from the errors. We're digging into it.

LouManglass commented 4 years ago

This is resolved in the latest version, 8.2.4. Please run your update again, and the latest package should pull down. I've validated it on Debian as well, to be sure.

Pra3t0r5 commented 4 years ago

Excellent, I could install and start documenting with Optic!

However, on a small note, i've noticed an error that even if it seems to be trivial for my documentation process, you might find it helpful: Screenshot from 2020-07-19 02-21-00

Thank you very much!

LouManglass commented 4 years ago

You're very welcome! Permissions can be finicky across platforms, and it's something we're actively working on. Thanks for the report, and let us know if we can help out in any other way.