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 1fQEof-00060N-Dj for pgadmin-hackers@arkaria.postgresql.org; Tue, 05 Jun 2018 16:28:13 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1fQEod-0005ZF-Ra for pgadmin-hackers@arkaria.postgresql.org; Tue, 05 Jun 2018 16:28:11 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1fQEod-0005Z5-Kx for pgadmin-hackers@lists.postgresql.org; Tue, 05 Jun 2018 16:28:11 +0000 Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1fQEoT-0003yl-8w for pgadmin-hackers@postgresql.org; Tue, 05 Jun 2018 16:28:11 +0000 Received: by mail-wm0-x22a.google.com with SMTP id v16-v6so6102581wmh.5 for ; Tue, 05 Jun 2018 09:28:01 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=1ZG77eWanTGsmZ1s78/KM/3RHg5rOHP7FjW+74Z549k=; b=VHdNb7S2pOcyeRmVuSQFRxWJ2jpyxNP0ZZ+pExw3OvPJntMxu/BwjtFZt3HCw7rqQR a9BrAphD7ZXNFyay3LC51ggDVA82YbfVkIh4VXqL9TjXClIXRCio2FI7EL7Vu/xCNNQK FABTcCYN4JATg0318mqYLYUMfJL/fyZUJKMGMVjFTP62rnkogFEnNGb2rShmEKBRKubf RC0VPjkXhFL/DO0dfFk0o9woE+F7bdlTrK342CU43DQPvICU3c8JvpGdJv11Um79Jfu/ cTrMtcEtgKmTNfKV8KxcjfWaPSCxtZDQ2c+FMuhQvVsWYRdQ9dGCSqNxHVLYST1JU8k1 ydWA== 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=1ZG77eWanTGsmZ1s78/KM/3RHg5rOHP7FjW+74Z549k=; b=gHDj8rjvHt1w+F1fFYGKJ5ydzpBn8N6BkCzc+jS6wB3mGXU/wo5VDGkiqgAcBblcdo dMd8NvQsaf0OYSqC1JjFUSrj6Xs8L+ocyz6UJ1q14q5zBFrxn7Af1IlMa6J7w96qjpqE ULNG07Xq8ga+uyCTI1zyCuQzp1I4LoRGBot6g5acE1LqQ2vrzeM3rgaVQL60dvPU7EhD dB5HS5qJwjdo91AEmkQQsUhiTZb/gYcefQSDNVHbbDk5p+GsJCPpRS+4/Kks7Mc3cEnU HvS/O3GHlhIPJoALMVbQu0gqNdlEr2NYPpzCVm9/m9UInRGkH5PVy283z8/q25j+b/T5 bZaQ== X-Gm-Message-State: APt69E3vXKHUzF47Pe7tXgqJDoYSPRwJB+kRHbiim/tpEi8EErLV1wPD SxMmtpgfo2mPjm8rI91CH0ntOEN6oX8wW2RHrYEA808/wL4= X-Google-Smtp-Source: ADUXVKIoLO+iqLBYuitvdGAbi5omi2rOo3PpVFu32BMA3vZL1KqfJw+KtUuvtMaido3m2ygZ4NKHo54doF7JcJkOkH8= X-Received: by 2002:a1c:992:: with SMTP id 140-v6mr6817628wmj.86.1528216080180; Tue, 05 Jun 2018 09:28:00 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a1c:2907:0:0:0:0:0 with HTTP; Tue, 5 Jun 2018 09:27:59 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Tue, 5 Jun 2018 17:27:59 +0100 Message-ID: Subject: Re: [pgadmin][patch] Electron version 4.X To: Joao De Almeida Pereira Cc: pgadmin-hackers Content-Type: multipart/alternative; boundary="000000000000997bdf056de78847" List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --000000000000997bdf056de78847 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 base= . > Cool. FYI, I'd like to get this into rough shape and then push it to a dev 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 Serve= r > > 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 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 need to deprecate 2.7 as there are some Unicode related issues that cannot be fixed in it. - The Linux build isn't a Linux build in the general sense - it's a Debian 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 will 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 systems or other processes/procedures that folks use. For example, build scripts should be under pkg/, completed packages left in dist/, build staging done 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-packager/darwin-x= 64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/venv/lib/python3.= 6/site-packages/setuptools/command/launcher manifest.xml Compiling /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x= 64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/venv/lib/python3.= 6/site-packages/setuptools/command/launcher 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-packager/darwin-x= 64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/brows= er/server_groups/servers/templates/servers/supported_servers.js /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x= 64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/brows= er/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-packager/darwin-x= 64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/brows= er/templates/browser/js/endpoints.js /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x= 64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/brows= er/templates/browser/js/endpoints.js: Unexpected token (5:6) Failed to compile file: /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x= 64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/brows= er/templates/browser/js/messages.js /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x= 64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/brows= er/templates/browser/js/messages.js: Unexpected token (37:1) Failed to compile file: /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x= 64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/brows= er/templates/browser/js/utils.js /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x= 64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/brows= er/templates/browser/js/utils.js: Unexpected token (28:23) =E2=A0=8B Compiling ApplicationFailed to compile file: /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x= 64/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-packager/darwin-x= 64/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-packager/darwin-x= 64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/stati= c/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-packager/darwin-x= 64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/stati= c/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-packager/darwin-x= 64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/stati= c/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-packager/darwin-x= 64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/templ= ates/base.html /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x= 64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/templ= ates/base.html:inline_1.js: Unexpected token (2:13) =E2=A0=B4 Compiling ApplicationFailed to compile file: /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x= 64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/tools= /templates/js/translations.js /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x= 64/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-packager/darwin-x= 64/pgAdmin-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-x= 64/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 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/pwf0k2d509s2xx6vh0h633vm0000gn/T/tmp.cTDTnGt3/elec= tron/node_modules/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/pwf0k2d509s2xx6vh0h633vm0000gn/T/tmp.cTDTnGt3/elec= tron/node_modules/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! --=20 Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company --000000000000997bdf056de78847 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

On Mon, Jun 4, 2018 at 10:27 PM, Joao De Almeida Pereira <jde= almeidapereira@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 ini= tial patch for people to start paying around with the electron version. The= re 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 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.

- The Linux build isn't a Linux b= uild in the general sense - it's a Debian build and should be named as = such (and if we're including that, we should have a Redhat version - th= ough that needn't hold up the current work). Sidenote: I'm not sure= that either the APT or YUM PostgreSQL projects will accept a package built= in this way as they're somewhat picky about following platform packagi= ng rules which would mean using the system-installed Python. I think this i= s 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 existi= ng conventions as much as reasonable, to avoid having to change build syste= ms or other processes/procedures that folks use. For example, build scripts= should be under pkg/, completed packages left in dist/, build staging done= 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<= /div>
$ electron-forge make --platfrom=3Ddarwin --arch=3Dx64 --targets= =3Ddmg
=E2=9C=94 Checking your system
=E2=9C=94 Resolvi= ng 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/fold= ers/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x64/pgAdmi= n-darwin-x64/Electron.app/Contents/Resources/app/venv/lib/python3.6/site-pa= ckages/setuptools/command/launcher manifest.xml
Compiling /var/fo= lders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x64/pgAd= min-darwin-x64/Electron.app/Contents/Resources/app/venv/lib/python3.6/site-= packages/setuptools/command/launcher manifest.xml resulted in a MIME type o= f application/xml, which we don't know how to handle
=E2=A0= =8B Compiling ApplicationFailed to compile file: /var/folders/c6/pwf0k2d509= s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x64/pgAdmin-darwin-x64/Elec= tron.app/Contents/Resources/app/web/pgadmin/browser/server_groups/servers/t= emplates/servers/supported_servers.js
/var/folders/c6/pwf0k2d509s= 2xx6vh0h633vm0000gn/T/electron-packager/darwin-x64/pgAdmin-darwin-x64/Elect= ron.app/Contents/Resources/app/web/pgadmin/browser/server_groups/servers/te= mplates/servers/supported_servers.js: Unexpected token (6:7)
=E2= =A0=A6 Compiling ApplicationFailed to compile file: /var/folders/c6/pwf0k2d= 509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x64/pgAdmin-darwin-x64/E= lectron.app/Contents/Resources/app/web/pgadmin/browser/templates/browser/js= /endpoints.js
/var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/el= ectron-packager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/Resourc= es/app/web/pgadmin/browser/templates/browser/js/endpoints.js: Unexpected to= ken (5:6)
Failed to compile file: /var/folders/c6/pwf0k2d509s2xx6= vh0h633vm0000gn/T/electron-packager/darwin-x64/pgAdmin-darwin-x64/Electron.= app/Contents/Resources/app/web/pgadmin/browser/templates/browser/js/message= s.js
/var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-pa= ckager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/we= b/pgadmin/browser/templates/browser/js/messages.js: Unexpected token (37:1)=
Failed to compile file: /var/folders/c6/pwf0k2d509s2xx6vh0h633vm= 0000gn/T/electron-packager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Conte= nts/Resources/app/web/pgadmin/browser/templates/browser/js/utils.js
/var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwi= n-x64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/br= owser/templates/browser/js/utils.js: Unexpected token (28:23)
=E2= =A0=8B Compiling ApplicationFailed to compile file: /var/folders/c6/pwf0k2d= 509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x64/pgAdmin-darwin-x64/E= lectron.app/Contents/Resources/app/web/pgadmin/misc/file_manager/templates/= file_manager/js/languages/en.js
/var/folders/c6/pwf0k2d509s2xx6vh= 0h633vm0000gn/T/electron-packager/darwin-x64/pgAdmin-darwin-x64/Electron.ap= p/Contents/Resources/app/web/pgadmin/misc/file_manager/templates/file_manag= er/js/languages/en.js: Unexpected token, expected ; (2:29)
=E2=A0= =8B Compiling ApplicationFailed to compile file: /var/folders/c6/pwf0k2d509= s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x64/pgAdmin-darwin-x64/Elec= tron.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=A0ba= ckground: $color-green-3;

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

=E2=A0=99 Compiling ApplicationFailed to comp= ile file: /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-package= r/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pga= dmin/static/scss/_alertify.overrides.scss
Error: ".ajs-messa= ge.ajs-error.ajs-visible" failed to @extend ".bg-red-1".
=C2=A0 =C2=A0 =C2=A0 =C2=A0The selector ".bg-red-1" was no= t found.
=C2=A0 =C2=A0 =C2=A0 =C2=A0Use "@extend .bg-red-1 != optional" if the extend should be able to fail.
=C2=A0 =C2= =A0 =C2=A0 =C2=A0 on line 164 of /stdin
>>=C2=A0 =C2=A0@ext= end .bg-red-1;

=C2=A0 =C2=A0----------^
=
=E2=A0=B4 Compiling ApplicationFailed to compile file: /var/= folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x64/pg= Admin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/static/scs= s/sqleditor/_history.scss
Error: Undefined variable: "$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 $color-gray-3;=

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

=E2=A0=87 Compiling ApplicationFailed to compile file: = /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x= 64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/templ= ates/base.html
/var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/e= lectron-packager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents/Resour= ces/app/web/pgadmin/templates/base.html:inline_1.js: Unexpected token (2:13= )
=E2=A0=B4 Compiling ApplicationFailed to compile file: /var/fol= ders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x64/pgAdm= in-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/tools/templat= es/js/translations.js
/var/folders/c6/pwf0k2d509s2xx6vh0h633vm000= 0gn/T/electron-packager/darwin-x64/pgAdmin-darwin-x64/Electron.app/Contents= /Resources/app/web/pgadmin/tools/templates/js/translations.js: Unexpected t= oken (2:10)
=E2=A0=A6 Compiling ApplicationFailed to compile file= : /var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin= -x64/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/too= ls/user_management/templates/user_management/js/current_user.js
/= var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/electron-packager/darwin-x6= 4/pgAdmin-darwin-x64/Electron.app/Contents/Resources/app/web/pgadmin/tools/= user_management/templates/user_management/js/current_user.js: Unexpected to= ken (3:15)
=E2=9C=94 Compiling Application
=E2=9C=94 Pr= eparing native dependencies
=E2=9C=94 Packaging Application
=
Making for the following targets:
=E2=A0=8B Making for targe= t: dmg - On platform: darwin - For arch: x64
An unhandled excepti= on has occurred inside Forge:
Cannot find module 'macos-alias= '
Error: Cannot find module 'macos-alias'
= =C2=A0 =C2=A0 at Function.Module._resolveFilename (module.js:547:15)
<= div>=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/module.js:11:18)
=C2=A0 =C2=A0 at Object.<an= onymous> (/private/var/folders/c6/pwf0k2d509s2xx6vh0h633vm0000gn/T/tmp.c= TDTnGt3/electron/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= .Module._extensions..js (module.js:663:10)
=C2=A0 =C2=A0 at Modul= e.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 Object.<anonymous> (/private/var/folders/c6/pwf0k2d509s2xx6vh0h63= 3vm0000gn/T/tmp.cTDTnGt3/electron/node_modules/appdmg/lib/appdmg.js:5:15)
=C2=A0 =C2=A0 at Module._compile (module.js:652:30)
=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 Command fai= led with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation a= bout 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
--000000000000997bdf056de78847--