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

Unexpected token at nullish coalescing #106

Open
dnbeats opened this issue Sep 15, 2021 · 0 comments
Open

Unexpected token at nullish coalescing #106

dnbeats opened this issue Sep 15, 2021 · 0 comments

Comments

@dnbeats
Copy link

dnbeats commented Sep 15, 2021

The exact error is the following

client?ecf9:159 ./src/js/options.js 205:13
Module parse failed: Unexpected token (205:13)
You may need an appropriate loader to handle this file type, currently no loaders are configured to process this file. See https://webpack.js.org/concepts#loaders
| const a = undefined;
| const b = 9999;

alert(a ?? b);

| })
| // ! EXPORT E IMPORT

I think that is the acorn module which must be actualized in order to include the nullish coalescing but I am working on it, I am very new to this. If there is anyone who dealed with that, please, share the solution.

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

1 participant