Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dBHm4-0004EI-DF for pgadmin-hackers@arkaria.postgresql.org; Thu, 18 May 2017 09:31:12 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dBHm4-0001K1-0G for pgadmin-hackers@arkaria.postgresql.org; Thu, 18 May 2017 09:31:12 +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.84_2) (envelope-from ) id 1dBHm3-0001Jp-Gj for pgadmin-hackers@postgresql.org; Thu, 18 May 2017 09:31:11 +0000 Received: from mail-io0-x232.google.com ([2607:f8b0:4001:c06::232]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dBHm0-0000U9-DA for pgadmin-hackers@postgresql.org; Thu, 18 May 2017 09:31:10 +0000 Received: by mail-io0-x232.google.com with SMTP id f102so24787246ioi.2 for ; Thu, 18 May 2017 02:31:08 -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=HnSs3BFljJlaWx3ZgaZ6rCHya5acUmrQU7LDUKltyIE=; b=syTYK3rFNBStFNtgEouhhBmhz2YntodHpDT9SwIRxbLq2YuTDdTzVZ1c65/7NHCkTf fZFSog49k2NBfjPgxyatmzQ4t2SKXYtMH8qySc+aaGj8h3uXTX40J73e8E65USffqCk1 c0Fty00CEXjH0Pn/iNuAeIYmNsXIT4SiPCemUk9xwyHCDFU3Z+jUjdNf5Xf+Gob80wnk 36CZWs7QBexlN1iLNmrh6/edDfYsIwwdglCYnIyOKv0P1p5hIu0JyxcmrB4LYT9cgsZq y8Iv1fx8JXcvfOg/C0RoT/kCVnhzyH5ZNGsEHPhmMVBrCbKlzAeG5iJsVqAh/zXZY+hg JraA== 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=HnSs3BFljJlaWx3ZgaZ6rCHya5acUmrQU7LDUKltyIE=; b=kHZ7BvxqaaPI1pmgFPXoVQ9wmC+XN+Tts1BD5IBqmjWTKK4/n9/HR2hnVnk4uAfDNe Y0Y3eOTpPxNrk+WYMZtMagv1jLKrIiOLqu+Zdx8YjtT+MkrHzlEaN61yHDnrNjyJu3S+ NAhtbSz7Kjtyv8lvpuJMrWk+K8UFbGxhfhKfjUbtSEFe22TqHvixuryFoI03MjcJ/6LN Vi3oS5d+nl9E7gO6UkR8LIarrd5ODEptGeTVGh34HyzX3QeOa04sdXsKLcNv+TslfdQV a/kuRz4J6H9xxnhX9xzsfG0bc5Ffg0T+xzHx4PANoXKLNms1iV2+C4nP6oWXpbH8W7Wk 0X1Q== X-Gm-Message-State: AODbwcCRHYBn9q9et7j+aJRex8/HcwxtKECMZNNCBFq1iTvG1FxW1Ya4 /2aNOU7z5gywvgQRhkdDG46oQzjoWv5U X-Received: by 10.107.3.165 with SMTP id e37mr3450139ioi.232.1495099867754; Thu, 18 May 2017 02:31:07 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.174.147 with HTTP; Thu, 18 May 2017 02:31:06 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Thu, 18 May 2017 10:31:06 +0100 Message-ID: Subject: Re: [pgAdmin4] [PATCH] History Tab rewrite in React To: Murtuza Zabuawala Cc: Matthew Kleiman , pgadmin-hackers , Shruti B Iyer Content-Type: multipart/alternative; boundary="001a113ed3be85a058054fc91021" X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org --001a113ed3be85a058054fc91021 Content-Type: text/plain; charset="UTF-8" Hi On Thu, May 18, 2017 at 9:56 AM, Murtuza Zabuawala wrote: > > Go to 'pgadmin4/web' directory > > Try running, > > run 'yarn install' > > (if you have installed globally) > then run 'grunt' > OR > run './node_modules/grunt-cli/bin/grunt' > > > Then run pgAdmin4 > OK, that worked - though pgAdmin now takes a lot longer to start up, which is a problem. The Jasmine tests now fail: (pgadmin4)piranha:web dpage$ yarn run karma start --single-run yarn run v0.24.4 $ "/Users/dpage/git/pgadmin4/web/node_modules/.bin/karma" start 18 05 2017 10:22:01.182:ERROR [plugin]: Error during loading "karma-phantomjs-launcher" plugin: Path must be a string. Received null webpack: Compiled successfully. webpack: Compiling... webpack: wait until bundle finished: webpack: wait until bundle finished: webpack: wait until bundle finished: webpack: wait until bundle finished: webpack: wait until bundle finished: webpack: wait until bundle finished: webpack: wait until bundle finished: webpack: wait until bundle finished: webpack: wait until bundle finished: webpack: wait until bundle finished: webpack: wait until bundle finished: webpack: wait until bundle finished: (node:12214) DeprecationWarning: loaderUtils.parseQuery() received a non-string value which can be problematic, see https://github.com/webpack/ loader-utils/issues/56 parseQuery() will be replaced with getOptions() in the next major version of loader-utils. 18 05 2017 10:22:07.281:WARN [karma]: No captured browser, open http://localhost:9876/ webpack: Compiled successfully. 18 05 2017 10:22:07.294:ERROR [karma]: Found 1 load error error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company --001a113ed3be85a058054fc91021 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Hi

On Thu, May 18, 2017 at 9:56 AM, Murtuza Zabuawala = <murtuza.zabuawala@enterprisedb.com> wrote:

Go to 'pgadmin4/web' directory

Try runn= ing,

run 'yarn install'

=
(if you have installed globally)
then run 'gru= nt'=C2=A0
OR
run './node_modules/grunt-cli/bin/= grunt'


Then run pgAdmin4

OK, that worked - though pgAdmin= now takes a lot longer to start up, which is a problem.

The Jasmine tests now fail:

(pgadmin4)piran= ha:web dpage$ yarn run karma start --single-run
yarn run v0.24.4<= /div>
$ "/Users/dpage/git/pgadmin4/web/node_modules/.bin/karm= a" start
18 05 2017 10:22:01.182:ERROR [plugin]: Error durin= g loading "karma-phantomjs-launcher" plugin:
=C2=A0 Pat= h must be a string. Received null

webpack: Compile= d successfully.
webpack: Compiling...
webpack: wait unt= il bundle finished:=C2=A0
webpack: wait until bundle finished:=C2= =A0
webpack: wait until bundle finished:=C2=A0
webpack:= wait until bundle finished:=C2=A0
webpack: wait until bundle fin= ished:=C2=A0
webpack: wait until bundle finished:=C2=A0
webpack: wait until bundle finished:=C2=A0
webpack: wait until b= undle finished:=C2=A0
webpack: wait until bundle finished:=C2=A0<= /div>
webpack: wait until bundle finished:=C2=A0
webpack: wai= t until bundle finished:=C2=A0
webpack: wait until bundle finishe= d:=C2=A0
(node:12214) DeprecationWarning: loaderUtils.parseQuery(= ) received a non-string value which can be problematic, see https://gi= thub.com/webpack/loader-utils/issues/56
parseQuery() wil= l be replaced with getOptions() in the next major version of loader-utils.<= /div>
18 05 2017 10:22:07.281:WARN [karma]: No captured browser, open <= a href=3D"http://localhost:9876/" target=3D"_blank">http://localhost:9876/<= /a>

webpack: Compiled successfully.
18 0= 5 2017 10:22:07.294:ERROR [karma]: Found 1 load error
error Comma= nd failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cl= i/run for documentation about this command.=C2=A0

<= div>

--
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company<= br>
--001a113ed3be85a058054fc91021--