[SOLVED] Pas2js on Lazarus... 'Can't find unit "system"' error lazarus / 76-Pas2JS ---------------------------------------------------------------------- egsuh · 2019-12-18 02:35 I just installed Pas2js, and created a new project, and typed in one line: Code: Pascal  [Select][+][-]window.onload = function(){var x1 = document.getElementById("main_content_section"); if (x1) { var x = document.getElementsByClassName("geshi");for (var i = 0; i program Pas2js1; {$mode objfpc} uses   JS, Classes, SysUtils, Web; begin  // Your code here   Writeln('Hello, World');end.                 And when I tried to compile, I met 'can't find unit "System" error. Does it need any option settings? ---------------------------------------------------------------------- egsuh · 2019-12-18 03:17 I solved this problem by removing Pas2JS...Master something from packages.  But I cannot see pas2js tab on component palettes. ---------------------------------------------------------------------- egsuh · 2019-12-18 03:29 I resolved this problem by uninstalling - and re installing Pas2JS designer widgetset. ---------------------------------------------------------------------- mattias · 2019-12-18 11:19 I guess a simple restart of the IDE would have been enough.