You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
I am trying to integrate jsonwebtoken-esm package in my vue+vite project, but I am facing several issues regarding the import of sign and verify methods.
running this gives me error like TypeError: Right-hand side of 'instanceof' is not an object
Steps to reproduce
1 ) Click here and clone GitHub repo.
2 ) Run the project using npm run dev and open the dev server in a browser. make sure to open the console.
3) Click on the create Token button and you will see the error.
Note: This error starts from version 2.0.0. packages below this version work fine.
~Regards
The text was updated successfully, but these errors were encountered:
system: macos
browser: chrome
jsonwebtoken-esm: "^2.0.1"
Hello,
I am trying to integrate
jsonwebtoken-esm
package in my vue+vite project, but I am facing several issues regarding the import of sign and verify methods.Here's how I am importing them:
running this gives me error like
TypeError: Right-hand side of 'instanceof' is not an object
Steps to reproduce
1 ) Click here and clone GitHub repo.
2 ) Run the project using
npm run dev
and open the dev server in a browser. make sure to open the console.3) Click on the
create Token
button and you will see the error.Note: This error starts from version
2.0.0
. packages below this version work fine.~Regards
The text was updated successfully, but these errors were encountered: