[Pas2js] I would like to get JS units substitutes to compile my wcl treeview

Mattias Gaertner nc-gaertnma at netcologne.de
Tue Nov 16 18:44:20 CET 2021


On Tue, 16 Nov 2021 18:03:14 +0100
Matthieu GIROUX <girouxmatthieu at gmail.com> wrote:

> Le 16/11/2021 à 17:14, Mattias Gaertner a écrit :
> > On Tue, 16 Nov 2021 16:49:57 +0100
> > Matthieu GIROUX <girouxmatthieu at gmail.com> wrote:
> >  
> >> [...]
> >> I cannot get the line and instruction to debug.  
> > How did you install pas2js? Did you clone the git repo or did you
> > download the release?  
> I dowloaded the release.
> > What Lazarus version are using?
>[...] >
> I use Lazarus 2.2 RC2.

:)

In the menu Tools / Options / Environment / Pas2js / Path of pas2js
set the path to the pas2js of the release (
yourpath/bin/x86_64-linux/pas2js ).

And open the lpk file once using Package / Open package file
yourpath/packages/rtl/pas2js_rtl.lpk
This way the IDE knows what pas2js_rtl.lpk to use.

Then your webapp should compile.

Mattias


More information about the Pas2js mailing list