Received: from malur.postgresql.org ([2a02:16a8:dc51::56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fQblX-0008Qj-Nk for pgadmin-hackers@arkaria.postgresql.org; Wed, 06 Jun 2018 16:58:32 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fQblW-0001tp-40 for pgadmin-hackers@arkaria.postgresql.org; Wed, 06 Jun 2018 16:58:30 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fQblV-0001tW-Ji for pgadmin-hackers@lists.postgresql.org; Wed, 06 Jun 2018 16:58:29 +0000 Received: from mail-ot0-x230.google.com ([2607:f8b0:4003:c0f::230]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fQblQ-0000xM-St for pgadmin-hackers@postgresql.org; Wed, 06 Jun 2018 16:58:27 +0000 Received: by mail-ot0-x230.google.com with SMTP id q1-v6so8049576oth.13 for ; Wed, 06 Jun 2018 09:58:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=enterprisedb-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=eBqxkEaCFV8xjAJZZdWw+5BQKa6FdwcwB89fPdWuglE=; b=M6obYIOrbOsaxR4oZMZjaqRmUFWLC9KDvW9idzxocssLNd2QwvHBPZSdff83vqEZlA J39AJhayxpLU8Yr9PSX+Ypv7In/bMZP4eZar51Fw+X/MvjB8v0YmIcfMBOHZIkCJi63b JR3vTtzDcWvzl7+hn235NKKtrjQVoA85sDY/SlD3DhxSpRtH6+xmdz8UOJ1GJa1mXGV/ EnDvCC9v7zgqi6TXaBQKtKHHC/VrSfrPsVRcRC1yLJkoWv2cZwK8Ww5Eim9UEQaYLaLZ 2By+wOu/RPCK1PG5/YACKkW07P2/EvfQzHOV4Aa9vLaYJvebEqRY4E3YZDEO6rOqo8gV 4ipw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=eBqxkEaCFV8xjAJZZdWw+5BQKa6FdwcwB89fPdWuglE=; b=hzFevzs/LudOA+cBo3gHAgW72sORAJnnBPxHX7GxjMGb3yVj8FBm6arFNBe6Xk8qWa Pw1iAHXazQ4BYfOWpdRY4CBIPcXwyWffFvdtUK0/WU2kYaakOsPXESs4FG/FP5d1gGWT CsZX8u6qRA8Q69vBCZQAigYOwLtOJP6avVx1cWlOiLYoVpoKKaJgSyoDmC+kWbbHVY47 htuR8dff0nDKzuuPpcxX2UwpHZnPx7jsP+GFAVxh84dhjxnS9snUASgw8caYO78OHRt2 9ceTWobGEiAbbuvsTk2y2MgRHO+sCBCjiZt0NEgIGw5665e1hOQ+nV4sV+OXsRwxA2If hOjQ== X-Gm-Message-State: APt69E0cMdIL30VpXyrzKsscneHeplOzhFiU0vxke1lFt/u398OGoewi eZHr/IKcz3SMwfmy4K9S/ME9DfI0vtAAjTIUPcxFlQ== X-Google-Smtp-Source: ADUXVKLFpU5MTwYJ4zm8BBQEdsNXVkY0T7shoOP7vRPYAHpo8YClfyeQkzNKyI4NaT9IcBBpvSrsvJTHfSH7rvOjvDc= X-Received: by 2002:a9d:272c:: with SMTP id r41-v6mr2636890ota.46.1528304304148; Wed, 06 Jun 2018 09:58:24 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a4a:8515:0:0:0:0:0 with HTTP; Wed, 6 Jun 2018 09:58:03 -0700 (PDT) In-Reply-To: References: From: Murtuza Zabuawala Date: Wed, 6 Jun 2018 22:28:03 +0530 Message-ID: Subject: Re: [pgadmin][patch] Electron version 4.X To: Dave Page Cc: Joao De Almeida Pereira , pgadmin-hackers Content-Type: multipart/alternative; boundary="000000000000286d53056dfc1367" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000286d53056dfc1367 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Hi Joao, Awesome job, I tried windows build & it is running very smooth on my Win10 VM, It took some time when I ran it for the first time (I think because it ran "update.exe") but it was quick when opened second time onwards (taking ~6-7 secs to display the main window). The main thing I noticed is that it's not resource-hungry like other electron apps I have used earlier, - Resouce consumption with Dashboard CPU: ~20% RAM: ~300mb - Resouce consumption without Dashboard CPU: ~5% RAM: ~300mb Which is much lighter than I expected :) I'll also try it on my physical machine running Win7 and update the thread if I find any issue. On Tue, Jun 5, 2018 at 9:57 PM, Dave Page wrote: > Hi > > On Mon, Jun 4, 2018 at 10:27 PM, Joao De Almeida Pereira < > jdealmeidapereira@pivotal.io> wrote: > >> Hi Hackers, >> >> Attached you can find the patch that introduces electron to our code bas= e. >> > Cool. FYI, I'd like to get this into rough shape and then push it to a de= v > branch for fine-tuning. I think it'll be easier to work that way. > > >> What do we provide with this patch: >> >> - Start the pgAdmin server from Electron >> - When starting pgAdmin, the user is shown a window that tells them >> that pgAdmin is loading. >> - Once the server has started, the loading window disappears and >> opens pgAdmin in a window >> - Desktop user has the ability to open up new windows to work in. >> - When you close pgAdmin it properly shuts everything down. >> - Stop using copy of web folder for development >> >> I'm not sure what you mean by that last point? > > >> >> - ` >> This is the initial patch for people to start paying around with the >> electron version. There might be things that are not working. >> What we know: >> - Logging is not working on windows >> - We are not packaging any pg_* executables >> - Consistent/Centralized versioning between Electron and pgAdmin >> Server >> >> OK. > >> >> >> We generated builds for: >> >> - MacOs: https://storage.googleapis.com/pgadmin-binaries/pgAdmin-4.0. >> 4%2Bdev.darwin.zip >> - Ubuntu/Debian 64 bit: https://storage.googleapis.com >> /pgadmin-binaries/pgAdmin_4.0.4~dev_amd64.linux.zip >> >> - Windows 64 Bit: https://storage.googleapis.com >> /pgadmin-binaries/pgAdmin-4.0.5-dev-windows.zip >> >> - Runtime code is still present >> - Didn=E2=80=99t update the make scripts >> >> We added some instructions on how to build these 3 binaries in >> electron/Readme.md >> > Great. So here's my initial feedback: > > - The Mac build you provided doesn't work for me. It hangs on the loading > screen. > > - A number of the changes are related to the naming of requirejs. I'd be > inclined to pull that out into a separate patch and get it committed to > master ASAP. > > - I think the build instructions need to be more generic (particularly on > macOS). For example, I do not use HomeBrew (largely due to some nasty > security issues they had in the past). I was able to mostly port the > instructions and build script over to work using MacPorts (without PyEnv) > which actually turned out to be somewhat more simple than what's there no= w. > > - I'm not sure what this is intended to do: "git checkout electron". > Clearly that isn't correct. > > - All new builds should be using Python 3.6. We need to deprecate 2.7 as > there are some Unicode related issues that cannot be fixed in it. > =E2=80=8B+1 =E2=80=8B > > - The Linux build isn't a Linux build in the general sense - it's a Debia= n > build and should be named as such (and if we're including that, we should > have a Redhat version - though that needn't hold up the current work). > Sidenote: I'm not sure that either the APT or YUM PostgreSQL projects wil= l > accept a package built in this way as they're somewhat picky about > following platform packaging rules which would mean using the > system-installed Python. I think this is a sane way to go myself, but > that's just my view. > > - I would like to see the new build code adapted to follow the existing > conventions as much as reasonable, to avoid having to change build system= s > or other processes/procedures that folks use. For example, build scripts > should be under pkg/, completed packages left in dist/, build staging don= e > in xxx-build directories rather than elsewhere. > > - It may be a result of my use of MacPorts, but I'm getting the following > failure building: > > yarn run v1.3.2 > $ electron-forge make --platfrom=3Ddarwin --arch=3Dx64 --targets=3Ddmg > =E2=9C=94 Checking your system > =E2=9C=94 Resolving Forge Config > We need to package your application before we can make it > =E2=9C=94 Preparing to Package Application for arch: x64 > =E2=A0=BC Compiling ApplicationFailed to compile file: > /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa > ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/ > Resources/app/venv/lib/python3.6/site-packages/setuptools/command/launche= r > manifest.xml > Compiling /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa > ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/ > Resources/app/venv/lib/python3.6/site-packages/setuptools/command/launche= r > manifest.xml resulted in a MIME type of application/xml, which we don't > know how to handle > =E2=A0=8B Compiling ApplicationFailed to compile file: > /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa > ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/ > Resources/app/web/pgadmin/browser/server_groups/servers/ > templates/servers/supported_servers.js > /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa > ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/ > Resources/app/web/pgadmin/browser/server_groups/servers/ > templates/servers/supported_servers.js: Unexpected token (6:7) > =E2=A0=A6 Compiling ApplicationFailed to compile file: > /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa > ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/ > Resources/app/web/pgadmin/browser/templates/browser/js/endpoints.js > /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa > ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/ > Resources/app/web/pgadmin/browser/templates/browser/js/endpoints.js: > Unexpected token (5:6) > Failed to compile file: /var/folders/c6/pwf0k2d509s2xx > 6vh0h633vm0000gn/T/electron-packager/darwin-x64/pgAdmin-darw > in-x64/Electron.app/Contents/Resources/app/web/pgadmin/ > browser/templates/browser/js/messages.js > /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa > ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/ > Resources/app/web/pgadmin/browser/templates/browser/js/messages.js: > Unexpected token (37:1) > Failed to compile file: /var/folders/c6/pwf0k2d509s2xx > 6vh0h633vm0000gn/T/electron-packager/darwin-x64/pgAdmin-darw > in-x64/Electron.app/Contents/Resources/app/web/pgadmin/ > browser/templates/browser/js/utils.js > /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa > ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/ > Resources/app/web/pgadmin/browser/templates/browser/js/utils.js: > Unexpected token (28:23) > =E2=A0=8B Compiling ApplicationFailed to compile file: > /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa > ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/ > Resources/app/web/pgadmin/misc/file_manager/templates/ > file_manager/js/languages/en.js > /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa > ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/ > Resources/app/web/pgadmin/misc/file_manager/templates/ > file_manager/js/languages/en.js: Unexpected token, expected ; (2:29) > =E2=A0=8B Compiling ApplicationFailed to compile file: > /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa > ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/ > Resources/app/web/pgadmin/static/scss/_alert.scss > Error: Undefined variable: "$color-green-3". > on line 29 of /stdin > >> background: $color-green-3; > > --------------^ > > =E2=A0=99 Compiling ApplicationFailed to compile file: > /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa > ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/ > Resources/app/web/pgadmin/static/scss/_alertify.overrides.scss > Error: ".ajs-message.ajs-error.ajs-visible" failed to @extend ".bg-red-1"= . > The selector ".bg-red-1" was not found. > Use "@extend .bg-red-1 !optional" if the extend should be able to > fail. > on line 164 of /stdin > >> @extend .bg-red-1; > > ----------^ > > =E2=A0=B4 Compiling ApplicationFailed to compile file: > /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa > ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/ > Resources/app/web/pgadmin/static/scss/sqleditor/_history.scss > Error: Undefined variable: "$color-gray-3". > on line 4 of /stdin > >> border-bottom: 1px solid $color-gray-3; > > -----------------------------^ > > =E2=A0=87 Compiling ApplicationFailed to compile file: > /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa > ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/ > Resources/app/web/pgadmin/templates/base.html > /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa > ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/ > Resources/app/web/pgadmin/templates/base.html:inline_1.js: Unexpected > token (2:13) > =E2=A0=B4 Compiling ApplicationFailed to compile file: > /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa > ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/ > Resources/app/web/pgadmin/tools/templates/js/translations.js > /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa > ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/ > Resources/app/web/pgadmin/tools/templates/js/translations.js: Unexpected > token (2:10) > =E2=A0=A6 Compiling ApplicationFailed to compile file: > /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa > ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/ > Resources/app/web/pgadmin/tools/user_management/template > s/user_management/js/current_user.js > /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa > ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/ > Resources/app/web/pgadmin/tools/user_management/template > s/user_management/js/current_user.js: Unexpected token (3:15) > =E2=9C=94 Compiling Application > =E2=9C=94 Preparing native dependencies > =E2=9C=94 Packaging Application > Making for the following targets: > =E2=A0=8B Making for target: dmg - On platform: darwin - For arch: x64 > An unhandled exception has occurred inside Forge: > Cannot find module 'macos-alias' > Error: Cannot find module 'macos-alias' > at Function.Module._resolveFilename (module.js:547:15) > at Function.Module._load (module.js:474:25) > at Module.require (module.js:596:17) > at require (internal/module.js:11:18) > at Object. (/private/var/folders/c6/pwf0k > 2d509s2xx6vh0h633vm0000gn/T/tmp.cTDTnGt3/electron/node_modul > es/ds-store/index.js:2:13) > at Module._compile (module.js:652:30) > at Object.Module._extensions..js (module.js:663:10) > at Module.load (module.js:565:32) > at tryModuleLoad (module.js:505:12) > at Function.Module._load (module.js:497:3) > at Module.require (module.js:596:17) > at require (internal/module.js:11:18) > at Object. (/private/var/folders/c6/pwf0k > 2d509s2xx6vh0h633vm0000gn/T/tmp.cTDTnGt3/electron/node_modul > es/appdmg/lib/appdmg.js:5:15) > at Module._compile (module.js:652:30) > at Object.Module._extensions..js (module.js:663:10) > at Module.load (module.js:565:32) > error Command failed with exit code 1. > info Visit https://yarnpkg.com/en/docs/cli/run for documentation about > this command. > > > Thanks for working on this! > > -- > Dave Page > Blog: http://pgsnake.blogspot.com > Twitter: @pgsnake > > EnterpriseDB UK: http://www.enterprisedb.com > The Enterprise PostgreSQL Company > Regards, Murtuza --000000000000286d53056dfc1367 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi Joao,

Awesom= e job, I tried windows build & it is running very=C2=A0smooth on my Win= 10 VM,=C2=A0

It took some time when I ran = it for the first time (I think because it ran "update.exe") but i= t was quick when opened second time onwards=C2=A0(taking ~6-7 secs to dis= play the main window).

The main thi= ng I noticed is that it's not resource-hungry like other electron apps = I have used earlier,
- Resouce consumption with Dashboard
CPU: ~20%
RAM: ~30= 0mb

- Resouce consumption without Dashboard
CPU: ~5%
RAM:=C2=A0~300mb

Which is much li= ghter than I expected :)

I'll also try= it on my physical machine running Win7 and update the thread if I find any= issue.


On Tue, Jun 5, 2018 at 9:57 PM, Dave Page <= dpage@pgadmin.org> wrote:
<= div dir=3D"ltr">Hi

On Mon, Jun 4, 2018 at 10:27 PM, Joao De Almeida Pereira <jdea= lmeidapereira@pivotal.io> wrote:

Hi Hackers,

Attached you can find the patch that intr= oduces electron to our code base.

Cool. FY= I, I'd like to get this into rough shape and then push it to a dev bran= ch for fine-tuning. I think it'll be easier to work that way.
=C2=A0

What do we provide with this patch:

  • Start the pgAdmin server from Electron
  • When starting pgAdmin, the user is shown a w= indow that tells them that pgAdmin is loading.
  • Once the server has started, the loading win= dow disappears and opens pgAdmin in a window
  • Desktop user has the ability to open up new = windows to work in.
  • When you close pgAdmin it properly shuts eve= rything down.
  • Stop using copy of web folder for developmen= t
I'm not sure what you mean= by that last point?
=C2=A0
  • `
    This is the initial patch= for people to start paying around with the electron version. There might b= e things that are not working.
    What we know:
  • Logging is not working on windows
  • We are not packaging any pg_* executables
  • Consistent/Centralized versioning between El= ectron and pgAdmin Server
OK.=C2=A0<= /div>

We generated builds for:

We added some instructions on how to buil= d these 3 binaries in electron/Readme.md

<= /div>
Great. So here's my initial feedback:
=
- The Mac build you provided doesn't work for me. It han= gs on the loading screen.

- A number of the change= s are related to the naming of requirejs. I'd be inclined to pull that = out into a separate patch and get it committed to master ASAP.
- I think the build instructions need to be more generic (part= icularly on macOS). For example, I do not use HomeBrew (largely due to some= nasty security issues they had in the past). I was able to mostly port the= instructions and build script over to work using MacPorts (without PyEnv) = which actually turned out to be somewhat more simple than what's there = now.

- I'm not sure what this is intended = to do: "git checkout electron". Clearly that isn't correct.

- All new builds should be using Python 3.6. We nee= d to deprecate 2.7 as there are some Unicode related issues that cannot be = fixed in it.

=E2=80=8B+1
=E2=80=8B

- The Linux build isn't a Linux build in the ge= neral sense - it's a Debian build and should be named as such (and if w= e're including that, we should have a Redhat version - though that need= n't hold up the current work). Sidenote: I'm not sure that either t= he APT or YUM PostgreSQL projects will accept a package built in this way a= s they're somewhat picky about following platform packaging rules which= would mean using the system-installed Python. I think this is a sane way t= o go myself, but that's just my view.

- I woul= d like to see the new build code adapted to follow the existing conventions= as much as reasonable, to avoid having to change build systems or other pr= ocesses/procedures that folks use. For example, build scripts should be und= er pkg/, completed packages left in dist/, build staging done in xxx-build = directories rather than elsewhere.

- It m= ay be a result of my use of MacPorts, but I'm getting the following fai= lure building:

yarn run v1.3.2
$ el= ectron-forge make --platfrom=3Ddarwin --arch=3Dx64 --targets=3Ddmg
=E2=9C=94 Checking your system
=E2=9C=94 Resolving Forge Config=
We need to package your application before we can make it
<= div>=E2=9C=94 Preparing to Package Application for arch: x64
=E2= =A0=BC Compiling ApplicationFailed to compile file: /var/folders/c6/pwf0k2d= 509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x64/pgAdmin-da= rwin-x64/Electron.app/Contents/Resources/app/venv/lib/python= 3.6/site-packages/setuptools/command/launcher manifest.xml
C= ompiling /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa<= wbr>ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/Re= sources/app/venv/lib/python3.6/site-packages/setuptools/command/l= auncher manifest.xml resulted in a MIME type of application/xml, which we d= on't know how to handle
=E2=A0=8B Compiling ApplicationFailed= to compile file: /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/ele= ctron-packager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Content= s/Resources/app/web/pgadmin/browser/server_groups/servers/te= mplates/servers/supported_servers.js
/var/folders/c6/pwf0k2d= 509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x64/pgAdmin-da= rwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/bro= wser/server_groups/servers/templates/servers/supported_servers.js= : Unexpected token (6:7)
=E2=A0=A6 Compiling ApplicationFailed to= compile file: /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electr= on-packager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/<= wbr>Resources/app/web/pgadmin/browser/templates/browser/js/endpoi= nts.js
/var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/elec= tron-packager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents= /Resources/app/web/pgadmin/browser/templates/browser/js/endp= oints.js: Unexpected token (5:6)
Failed to compile file: /var/fol= ders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin= -x64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/p= gadmin/browser/templates/browser/js/messages.js
/var/fo= lders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwi= n-x64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/= pgadmin/browser/templates/browser/js/messages.js: Unexpected toke= n (37:1)
Failed to compile file: /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x64/pgAdmin-darwin= -x64/Electron.app/Contents/Resources/app/web/pgadmin/browser/temp= lates/browser/js/utils.js
/var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x64/pgAdmin-darwin-x= 64/Electron.app/Contents/Resources/app/web/pgadmin/browser/templa= tes/browser/js/utils.js: Unexpected token (28:23)
=E2=A0=8B = Compiling ApplicationFailed to compile file: /var/folders/c6/pwf0k2d509s2xx= 6vh0h633vm0000gn/T/electron-packager/darwin-x64/pgAdmin-darw= in-x64/Electron.app/Contents/Resources/app/web/pgadmin/misc/file_= manager/templates/file_manager/js/languages/en.js
/var/= folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/dar= win-x64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/we= b/pgadmin/misc/file_manager/templates/file_manager/js/languages/e= n.js: Unexpected token, expected ; (2:29)
=E2=A0=8B Compilin= g ApplicationFailed to compile file: /var/folders/c6/pwf0k2d509s2xx6vh= 0h633vm0000gn/T/electron-packager/darwin-x64/pgAdmin-darwin-x64/E= lectron.app/Contents/Resources/app/web/pgadmin/static/scss/_alert= .scss
Error: Undefined variable: "$color-green-3".
=C2=A0 =C2=A0 =C2=A0 =C2=A0 on line 29 of /stdin
>>= =C2=A0 =C2=A0background: $color-green-3;

=C2=A0 = =C2=A0--------------^

=E2=A0=99 Compiling Applicat= ionFailed to compile file: /var/folders/c6/pwf0k2d509s2xx6vh0h633vm000= 0gn/T/electron-packager/darwin-x64/pgAdmin-darwin-x64/Electron.ap= p/Contents/Resources/app/web/pgadmin/static/scss/_alertify.overri= des.scss
Error: ".ajs-message.ajs-error.ajs-visibl= e" failed to @extend ".bg-red-1".
=C2=A0 =C2=A0 = =C2=A0 =C2=A0The selector ".bg-red-1" was not found.
= =C2=A0 =C2=A0 =C2=A0 =C2=A0Use "@extend .bg-red-1 !optional" if t= he extend should be able to fail.
=C2=A0 =C2=A0 =C2=A0 =C2=A0 on = line 164 of /stdin
>>=C2=A0 =C2=A0@extend .bg-red-1;
<= div>
=C2=A0 =C2=A0----------^

=E2=A0= =B4 Compiling ApplicationFailed to compile file: /var/folders/c6/pwf0k2d509= s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x64/pgAdmin-darw<= wbr>in-x64/Electron.app/Contents/Resources/app/web/pgadmin/static= /scss/sqleditor/_history.scss
Error: Undefined variable: &qu= ot;$color-gray-3".
=C2=A0 =C2=A0 =C2=A0 =C2=A0 on line 4 of = /stdin
>>=C2=A0 =C2=A0 =C2=A0border-bottom: 1px solid $colo= r-gray-3;

=C2=A0 =C2=A0---------------------------= --^

=E2=A0=87 Compiling ApplicationFailed to = compile file: /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electro= n-packager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/templates/base.html
/var/folder= s/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x6= 4/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgad= min/templates/base.html:inline_1.js: Unexpected token (2:13)
=E2=A0=B4 Compiling ApplicationFailed to compile file: /var/folders/c= 6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x64/p= gAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin= /tools/templates/js/translations.js
/var/folders/c6/pwf= 0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x64/pgAdmi= n-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/tools/templates/js/translations.js: Unexpected token (2:10)
=E2=A0=A6 Compiling ApplicationFailed to compile file: /var/folders/c6/pwf= 0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x64/pgAdmi= n-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/tools/user_management/templates/user_management/js/current_user.= js
/var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron= -packager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/tools/user_management/templates/user_= management/js/current_user.js: Unexpected token (3:15)
=E2= =9C=94 Compiling Application
=E2=9C=94 Preparing native dependenc= ies
=E2=9C=94 Packaging Application
Making for the foll= owing targets:
=E2=A0=8B Making for target: dmg - On platform: da= rwin - For arch: x64
An unhandled exception has occurred inside F= orge:
Cannot find module 'macos-alias'
Error: C= annot find module 'macos-alias'
=C2=A0 =C2=A0 at Function= .Module._resolveFilename (module.js:547:15)
=C2=A0 =C2=A0 at= Function.Module._load (module.js:474:25)
=C2=A0 =C2=A0 at Module= .require (module.js:596:17)
=C2=A0 =C2=A0 at require (internal/mo= dule.js:11:18)
=C2=A0 =C2=A0 at Object.<anonymous> (/privat= e/var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/tmp.cTDTnGt3/el= ectron/node_modules/ds-store/index.js:2:13)
=C2=A0 =C2=A0 at= Module._compile (module.js:652:30)
=C2=A0 =C2=A0 at Object.Modul= e._extensions..js (module.js:663:10)
=C2=A0 =C2=A0 at Module.load= (module.js:565:32)
=C2=A0 =C2=A0 at tryModuleLoad (module.js:505= :12)
=C2=A0 =C2=A0 at Function.Module._load (module.js:497:3)
=C2=A0 =C2=A0 at Module.require (module.js:596:17)
=C2=A0 = =C2=A0 at require (internal/module.js:11:18)
=C2=A0 =C2=A0 at Obj= ect.<anonymous> (/private/var/folders/c6/pwf0k2d509s2xx6vh0h633v= m0000gn/T/tmp.cTDTnGt3/electron/node_modules/appdmg/lib/appdmg.js= :5:15)
=C2=A0 =C2=A0 at Module._compile (module.js:652:30)
<= div>=C2=A0 =C2=A0 at Object.Module._extensions..js (module.js:663:10)
=
=C2=A0 =C2=A0 at Module.load (module.js:565:32)
error Comman= d failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli= /run for documentation about this command.


Thanks for working on this!
--
Dave Page
= Blog: http://pgsn= ake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.= com
The Enterprise PostgreSQL Company

Rega= rds,
Murtuza

--000000000000286d53056dfc1367--