pas2js 2.2.0 installation ERROR RTTI lazarus / 76-Pas2JS ---------------------------------------------------------------------- Mongkey · 2023-07-18 00:48 Anybody has ever encountered this message? rtti.pas(148,23) Error: Method "Create" hides method of base type "TRttiObject" at E:\fpcupdeluxe\lazarus\components\pas2js- windows-2.2.0\packages\rtl\rtti.pas(112,23) How to solve this? I tried another method, via fpcupdeluxe, got error also: The installer encountered the following error: External command "E:/fpcupdeluxe/fpc/bin/i386-win32/fpc.exe -Twin32 -FEbin\i386-win32 -FUunits\i386-win32\ -Fucompiler/utils/pas2js -Fucompiler/packages/pastojs/src -Fucompiler/packages/fcl-passrc/src -Fucompiler/packages/fcl-js/src -Fucompiler/packages/fcl-json/src -Ficompiler/packages/pastojs/src -di386 -Sc -viq compiler/utils/pas2js\pas2js.pp" failed with exit code 1. Console output: Target OS: Win32 for i386 Compiling compiler\utils\pas2js\pas2js.pp Compiling .\compiler\packages\pastojs\src\pas2jsfileutils.pp Compiling .\compiler\packages\pastojs\src\pas2jsutils.pp Compiling .\compiler\packages\pastojs\src\pas2jslogger.pp Compiling .\compiler\packages\fcl-passrc\src\pastree.pp Compiling .\compiler\packages\fcl-passrc\src\pscanner.pp pscanner.pp(4184,31) Error: Identifier not found "RTLString" pscanner.pp(6401) Fatal: There were 1 errors compiling module, stopping Fatal: Compilation aborted Error: E:\fpcupdeluxe\fpc\bin\i386-win32\ppc386.exe returned an error exitcode fpcupdeluxe: ERROR: Pas2jsInstaller (BuildModule: pas2js-rtl): make.exe returned error code 2 Details: ERROR: Fpcupdeluxe fatal error ! Sequencer (pas2js-rtl): Failure running fpcupdeluxe: error executing sequence pas2js-rtl Sequencer (Only): Failure running fpcupdeluxe: error executing sequence Only Thank you guys! ---------------------------------------------------------------------- Mongkey · 2023-07-18 01:07 rtl package only complied at 1.4.34 version, fcl-db error at cannot find system on compiling Thank you --> SOLUTION COPY ALL RTL,FCL-DB units on demo folder ->> RUN SMOOTHLY  , may be need to config all the project search unit for more convenient not dirty solution like this. ---------------------------------------------------------------------- DonAlfredo · 2023-07-18 04:51 About fpcupdeluxe. Fpcupdeluxe gets the pas2js sources from GitLab: https://gitlab.com/freepascal.org/fpc/pas2js As you can see, the FPC compiler used for pas2js is the current FPC trunk (main) compiler. This compiler is currently changing rapidly. And this might cause some trouble for pas2js. ---------------------------------------------------------------------- Mongkey · 2023-07-18 05:40 Quote from: DonAlfredo on July 18, 2023, 06:51:15 amAbout fpcupdeluxe. Fpcupdeluxe gets the pas2js sources from GitLab: https://gitlab.com/freepascal.org/fpc/pas2js As you can see, the FPC compiler used for pas2js is the current FPC trunk (main) compiler. This compiler is currently changing rapidly. And this might cause some trouble for pas2js. Thank you, DonAlfredo, your tools help a lot on this fastest changing environment, fpcupdeluxe is a real hero!