sjudson / paseto.js

PASETO: Platform-Agnostic Security Tokens
MIT License
269 stars 16 forks source link

Paseto makes Node crash? #4

Closed Extarys closed 5 years ago

Extarys commented 5 years ago

I'm using Node version 8.12.0 and as soon as I include Paseto.js, nodemon crashes: [nodemon] app crashed - waiting for file changes before starting...

I don't know how to get more logs for you or what the issue is. I also have no way of testing on a different computer.

I removed my node_modules and reinstalled everything. The version installed is 0.1.2.

I simply add const Paseto = require('paseto.js') to any file.

Can someone test this also?

How can I provide more logs?

Thanks!

sjudson commented 5 years ago

I'll take a look. In the meantime, if you do find some minimal reproduction, let me know.

Extarys commented 5 years ago

I'm currently setting up a VM for testing. I'll keep you updated.

Extarys commented 5 years ago

My initial tests are inconclusive and may point to human error. I'll update once I find the issue for the sake of completeness.

I still don't understand what could cause the app to crash while simply including a tested module.

sjudson commented 5 years ago

I've been unable to reproduce this with a toy Express app run through nodemon that just generates a token on a GET request. I'm going to close the issue for the time being, but feel free to reopen it if you're able to reproduce it or get some new information.

Extarys commented 5 years ago

Thanks! It seems that the nuxt plugin I'm using is not very stable and cause the app to crash when used with paseto. I'll open an issue on the proper repo.

Thanks for your time!