From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id 6L10JgU9yl9VJQAA0tVLHw (envelope-from ) for ; Fri, 04 Dec 2020 13:43:33 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id a8Q8IgU9yl+FJAAAB5/wlQ (envelope-from ) for ; Fri, 04 Dec 2020 13:43:33 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 29EAF9400D3 for ; Fri, 4 Dec 2020 13:43:33 +0000 (UTC) Received: from localhost ([::1]:48114 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1klBMw-0000p6-EZ for larch@yhetil.org; Fri, 04 Dec 2020 08:43:30 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33604) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kkMnD-0004CU-IJ for emacs-orgmode@gnu.org; Wed, 02 Dec 2020 02:43:16 -0500 Received: from mail-ej1-x62e.google.com ([2a00:1450:4864:20::62e]:35966) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kkMnC-0003EN-31 for emacs-orgmode@gnu.org; Wed, 02 Dec 2020 02:43:15 -0500 Received: by mail-ej1-x62e.google.com with SMTP id lt17so2031478ejb.3 for ; Tue, 01 Dec 2020 23:43:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=zQyTpmqBbYZNgYdqTzEVWDJYA5vbcOCitCSY2vFjrc0=; b=PVyTfcya58giKY6JV3yIgd87Edt8lseKx0MCoRhze2k0Z6Q+hpsxu/Xy1geQAr590b Fz+SvRauBDqd/H8KaUOcxgM9EIUKsaWB08eV1lQKM6RlExp6UhUD0k91/nEx5zCRXVdq 18FpBL/BzaMxrsJHGLC0nivmqyVzGgLeoAt/UT4ClJwMbVch+DtoX6MtzkMCa+IuZRhx JZ229bcORB0+Ici4b1ZrGrk33SI6Cp+tb3voM6gZDcEt98YaovPBU/9PdRcq2SlV42VW PgJXmcGNXdReAA68iEgNCPa9FhFslRN8KyDnLvnJIDO+FPJZleny0C4js4WirridtXpu NRtQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=zQyTpmqBbYZNgYdqTzEVWDJYA5vbcOCitCSY2vFjrc0=; b=Df+dPn7Qd8qsjuXvhQVKmgCIj0zAcx4C7O5qdWqjGDRKr2fBOTuylMN1XJKGqD4gfW 6bJUlRChi5LKvwCjTVzLNpHpHyM6UF63OAO9iNgdek9tlqFMcFkY/LezB4igCVbhw2lj eASEivQxvBcU29gA7xI9Wo9CzVw8yF58m6JZBA0db5L6wE4UFaaJnJfQ1OSIRxTIJok2 IYt5MekoVNi3JyxP4giwM89rdTVMSJnnNvCjnSI2Un4TqldgWnZ5I3qrrDQz933zY548 S1DWqHOiXPkI337pGO6FPvFdZRu7QUEql3JNeCPcHufOpuhiPJK2SbM8wWrRhFBSjfkv RPmg== X-Gm-Message-State: AOAM532CEod+6Yri1ZYf3fWNQgAe5z2Vn6UgoUaisk5ek+RYDZMgb/gy Zt1ieXITozjUe+gkdwMoanOMlJfu4UPvzS6P9CElR+VV8uMyeV+n X-Google-Smtp-Source: ABdhPJzXoo2DRdKsESNciqap30WQWW3uBQdLHk6pi0ZigLJJ3bT1RDKMSTcOJiFYbiFogbF9m2wV52YhNUc6OyTm+m8= X-Received: by 2002:a17:906:4698:: with SMTP id a24mr1166253ejr.90.1606894990432; Tue, 01 Dec 2020 23:43:10 -0800 (PST) MIME-Version: 1.0 From: Xu Chunyang Date: Wed, 2 Dec 2020 15:42:58 +0800 Message-ID: Subject: Bug: [ob-js] error: require(...).print is not a function [9.3 (release_9.3 @ /Users/xcy/src/emacs-mac/lisp/org/)] To: emacs-orgmode@gnu.org Content-Type: text/plain; charset="UTF-8" Received-SPF: pass client-ip=2a00:1450:4864:20::62e; envelope-from=xuchunyang56@gmail.com; helo=mail-ej1-x62e.google.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Fri, 04 Dec 2020 08:43:00 -0500 X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: "Emacs-orgmode" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.99 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20161025 header.b=PVyTfcya; dmarc=pass (policy=none) header.from=gmail.com; spf=pass (aspmx1.migadu.com: domain of emacs-orgmode-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=emacs-orgmode-bounces@gnu.org X-Migadu-Queue-Id: 29EAF9400D3 X-Spam-Score: -1.99 X-Migadu-Scanner: ns3122888.ip-94-23-21.eu X-TUID: 2DUoGT33XGfa * The issue ob-js does not work for me, e.g., #+begin_src js 1 + 2 #+end_src throws the error: /private/var/folders/7f/s191h4q97p90374yw15ssrs00000gn/T/babel-gBvsRp/js-script-zTHHhe:1 require('sys').print(require('sys').inspect(function(){ ^ TypeError: require(...).print is not a function at Object. (/private/var/folders/7f/s191h4q97p90374yw15ssrs00000gn/T/babel-gBvsRp/js-script-zTHHhe:1:16) at Module._compile (internal/modules/cjs/loader.js:1063:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10) at Module.load (internal/modules/cjs/loader.js:928:32) at Function.Module._load (internal/modules/cjs/loader.js:769:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) at internal/main/run_main_module.js:17:47 * Information M-! node -v v14.15.0 Emacs : GNU Emacs 27.1 (build 2, x86_64-apple-darwin19.6.0, Carbon Version 162 AppKit 1894.6) of 2020-11-11 Package: Org mode version 9.3 (release_9.3 @ /Users/xcy/src/emacs-mac/lisp/org/) * Another issue: What's SBCL in the commentary? ;;; Commentary: ;; Now working with SBCL for both session and external evaluation.