Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

got error "Module parse failed: Unexpected token" #647

Closed
frama21 opened this issue Aug 12, 2023 · 4 comments
Closed

got error "Module parse failed: Unexpected token" #647

frama21 opened this issue Aug 12, 2023 · 4 comments

Comments

@frama21
Copy link

frama21 commented Aug 12, 2023

image

i got error im using
node version 14 & nuxt 2 and i got error like this
i want to migrate the package to latest version & maybe do some adjust like you documentation told

BTW thank you for your great package i love it,

@theoephraim
Copy link
Owner

seems like perhaps your setup doesn't know how to handle native module imports? Are you using import elsewhere or only require?

@frama21
Copy link
Author

frama21 commented Aug 21, 2023

i make file called spreadsheet.js / .ts for make it like a helper so i just only call the method if i need the spreadsheet, this my code
code
@theoephraim

@theoephraim
Copy link
Owner

all looks ok there... I think the issue is more with however you are running this thing, ES modules, import, etc...

@frama21
Copy link
Author

frama21 commented Aug 24, 2023

hmm the error is from google-auth-library by the way i just make the report the bug 1632

thanks for your support i close this issue

@frama21 frama21 closed this as completed Aug 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants