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

SyntaxError: Unexpected token 'export' #6

Open
abdullahmujahidali opened this issue Sep 20, 2021 · 1 comment
Open

SyntaxError: Unexpected token 'export' #6

abdullahmujahidali opened this issue Sep 20, 2021 · 1 comment

Comments

@abdullahmujahidali
Copy link

I am using it in my next JS app and this is the error that I am getting. However, when I check compact-timezone-list index.js it is exporting.

export default [
^^^^^^

SyntaxError: Unexpected token 'export'
at wrapSafe (internal/modules/cjs/loader.js:1001:16)
at Module._compile (internal/modules/cjs/loader.js:1049:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10)
at Module.load (internal/modules/cjs/loader.js:950:32)
at Function.Module._load (internal/modules/cjs/loader.js:790:14)
at Module.require (internal/modules/cjs/loader.js:974:19)
at require (internal/modules/cjs/helpers.js:92:18)

@wparad
Copy link

wparad commented Sep 20, 2021

This is solved by #5, but it seams the maintainer is not interested in solving this problem.

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