Package Details: ijavascript 5.2.1-3

Git Clone URL: https://aur.archlinux.org/ijavascript.git (read-only, click to copy)
Package Base: ijavascript
Description: JavaScript kernel for Jupyter
Upstream URL: https://github.com/n-riesco/ijavascript
Licenses: BSD-3-Clause
Submitter: appelgriebsch
Maintainer: None
Last Packager: simonzack
Votes: 3
Popularity: 0.000000
First Submitted: 2016-11-17 07:05 (UTC)
Last Updated: 2022-04-04 06:36 (UTC)

Latest Comments

1 2 Next › Last »

simonzack commented on 2024-02-18 16:49 (UTC)

I can't get IJavascript working anymore. It hasn't seen updates since 2022, and isn't compatible with the latest ZeroMQ.

tslab is a good alternative. It also supports TypeScript.

lahwaacz commented on 2023-07-02 16:46 (UTC)

If I run npm install -g --omit=dev --prefix . --cache . ijavascript outside of the chroot, it builds just fine and nan.h is found in ./lib/node_modules/ijavascript/node_modules/nan/nan.h. But when I build the package in chroot, the ${pkgdir}/usr/lib dir is completely empty after the error. There is probably some cleanup that makes debugging hard...

simonzack commented on 2023-07-02 15:28 (UTC) (edited on 2023-07-02 15:34 (UTC) by simonzack)

@lahwaacz Sorry I'm really unsure what's going on then. Could you perhaps try to install the ijavascript package manually as an NPM package? See if that builds or not.

lahwaacz commented on 2023-07-02 15:25 (UTC)

@simonzack I'm building in a clean chroot too /o\

simonzack commented on 2023-07-02 14:44 (UTC) (edited on 2023-07-02 14:44 (UTC) by simonzack)

@lahwaacz I actually just tried it out in a clean chroot just now. Builds fine. I clean all caches pretty often anyway. Guess you need to try building in a clean chroot then.

lahwaacz commented on 2023-07-02 08:22 (UTC)

@simonzack Weird, I can't find nan.h anywhere in the build tree. Did you build in a clean chroot? Can you try removing the sources if they are cached?

simonzack commented on 2023-07-02 07:06 (UTC)

@lahwaacz Can you find nan.h anywhere in the build directory? I actually had to rebuild this just yesterday and it worked for me.

lahwaacz commented on 2023-07-01 20:13 (UTC)

The package does not build:

...
npm ERR! /bin/sh: line 1: cd: ../.: Not a directory
npm ERR! /build/ijavascript/pkg/ijavascript/usr/lib/node_modules/ijavascript/node_modules/zeromq/scripts/build_libzmq.sh: line 24: cd: /build/ijavascript/pkg/ijavascript/usr/lib/node_modules/ijavascript/node_modules/zeromq/scripts/../zmq: Not a directory
npm ERR! cc1plus: warning: ../../nan: not a directory
npm ERR! ../binding.cc:40:10: fatal error: nan.h: No such file or directory
npm ERR!    40 | #include "nan.h"
npm ERR!       |          ^~~~~~~
npm ERR! compilation terminated.
npm ERR! make: *** [zmq.target.mk:116: Release/obj.target/zmq/binding.o] Error 1
...

simonzack commented on 2021-11-23 16:20 (UTC)

The 5.2.1 update changed the kernel display_name. This shows up on the top right of the Jupyter page.

This is just a cosmetic issue. But to update this, delete ~/.local/share/jupyter/kernels/* and refresh the page.

languitar commented on 2019-02-10 12:32 (UTC)

@igvalor I tried that, but for me installation fails with a C++ compiler error:

make[1]: Entering directory '/home/languitar/abs/ijavascript/pkg/ijavascript/usr/lib/node_modules/ijavascript/node_modules/zeromq/zmq/zeromq-4.2.2'
  CXX      src/src_libzmq_la-address.lo
  CXX      src/src_libzmq_la-client.lo
In file included from /usr/include/errno.h:25,
                 from src/../include/zmq.h:56,
                 from src/precompiled.hpp:41,
                 from src/client.cpp:30:
/usr/include/features.h:381:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
In file included from /usr/include/errno.h:25,
                 from src/../include/zmq.h:56,
                 from src/precompiled.hpp:41,
                 from src/address.cpp:30:
/usr/include/features.h:381:4: error: #warning _FORTIFY_SOURCE requires compiling with optimization (-O) [-Werror=cpp]
 #  warning _FORTIFY_SOURCE requires compiling with optimization (-O)
    ^~~~~~~
cc1plus: all warnings being treated as errors
make[1]: *** [Makefile:3283: src/src_libzmq_la-client.lo] Error 1
make[1]: *** Waiting for unfinished jobs....
cc1plus: all warnings being treated as errors
make[1]: *** [Makefile:3276: src/src_libzmq_la-address.lo] Error 1
make[1]: Leaving directory '/home/languitar/abs/ijavascript/pkg/ijavascript/usr/lib/node_modules/ijavascript/node_modules/zeromq/zmq/zeromq-4.2.2'
make: *** [Makefile:4044: all-recursive] Error 1
child process exited with code 2
make: Entering directory '/home/languitar/abs/ijavascript/pkg/ijavascript/usr/lib/node_modules/ijavascript/node_modules/zeromq/build'
  CXX(target) Release/obj.target/zmq/binding.o
In file included from ../binding.cc:40:

That's where I was stuck.