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

Compiling issue on Ubuntu #7

Open
sm3ulc opened this issue Dec 1, 2022 · 0 comments
Open

Compiling issue on Ubuntu #7

sm3ulc opened this issue Dec 1, 2022 · 0 comments

Comments

@sm3ulc
Copy link

sm3ulc commented Dec 1, 2022

uname -a
Linux radio2 5.4.0-88-generic #99-Ubuntu SMP Thu Sep 23 17:29:00 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 20.04.3 LTS
Release: 20.04
Codename: focal

make build
✘ [ERROR] Declarations with the name "arguments" cannot be used in an ECMAScript module

frontend/event-emitter.js:21:17:
  21 │   emit(event, ...arguments) {
     ╵                  ~~~~~~~~~

This file is considered to be an ECMAScript module because of the "export" keyword here:

frontend/event-emitter.js:1:0:
  1 │ export default class EventEmitter {
    ╵ ~~~~~~

1 error
make: *** [Makefile:86: build/frontend/index.min.js] Error 1

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