pewview icon indicating copy to clipboard operation
pewview copied to clipboard

Compiling issue on Ubuntu

Open sm3ulc opened this issue 2 years ago • 0 comments

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

sm3ulc avatar Dec 01 '22 18:12 sm3ulc