oba, I've built today pas2js directly from the trunk!
a) One strange thing is the missing rtls.js from the trunk https://svn.freepascal.org/svn/projects/pas2js/trunk/packages/rtl/
I manually have copied this required file to the folder ..packages/rtl/ to compile some projects.
b) the required pas2js_rtl package does not compile out the box. When I compile a project from the demos/translate_basic.lpr for instance,
It shows this msg:
========================================
Project: Executing command before: Exit code 6, Errors: 1 Pas2JS Compiler version 1.5.1 [2019/07/24] for Win64 x86_64 Copyright (c) 2019 Free Pascal team.
translate_basic.lpr(5,5) Error: can't find unit "System" Fatal: Compilation aborted
Panic: tool stopped with exit code 6. Use context menu to get more information.
========================================
We can not compile a pas2js project because it requires this dependency 'pas2js_rtl'.
but if I include the package "pas2js_rtl" this error disappear.
----------------------------------
Lazarus version# 2.1.0
Date: 2019-07-24
FPC Version 3.3.1
SVN Revision 61596
x86_64-win64-win32/win64
----------------------------------
