devbaji / vue3-google-login

Add Sign In With Google feature to your Vue 3 application
https://github.com/devbaji/vue3-google-login/
MIT License
208 stars 30 forks source link

Provide googleTokenLogin got error #41

Closed justmealf closed 8 months ago

justmealf commented 1 year ago

Hi i try to provide googleTokenLogin following the docs, got some error after installing 'google-auth-library'

TypeError: Class extends value undefined is not a constructor or null at node_modules/agent-base/dist/index.js (index.ts:29:42) at __require2 (chunk-2LSFTFF7.js?v=3d02b4e8:19:50) at node_modules/https-proxy-agent/dist/index.js (index.ts:7:1) at __require2 (chunk-2LSFTFF7.js?v=3d02b4e8:19:50) at node_modules/gaxios/build/src/gaxios.js (gaxios.ts:32:1) at __require2 (chunk-2LSFTFF7.js?v=3d02b4e8:19:50) at node_modules/gaxios/build/src/index.js (index.ts:15:1) at __require2 (chunk-2LSFTFF7.js?v=3d02b4e8:19:50) at node_modules/gcp-metadata/build/src/index.js (index.ts:8:1) at __require2 (chunk-2LSFTFF7.js?v=3d02b4e8:19:50)

Google pop up auth shown normally, but i need access user email, name and image profile. There's way to provide that without using 'google-auth-library' ?

devbaji commented 8 months ago

@justmealf Looks like an error in one of your npm packaages, please re-open if you are sure that this error is from vue3-google-login package