jupyterlab-vim icon indicating copy to clipboard operation
jupyterlab-vim copied to clipboard

build fails with node 17+

Open Coleej opened this issue 3 years ago • 1 comments

Building against node 17+ fails because of new crypto library. Node throws the error "Error: error:0308010C:digital envelope routines::unsupported".

Workarounds are either downgrade node or set the environmental variable NODE_OPTIONS="--openssl-legacy-provider" when running build commands.

I'm not familiar with yarn/npm packages or I would add this to the configs where appropriate. Also just wanted let people know about the workarounds without having to Google.

Coleej avatar Feb 22 '22 17:02 Coleej

I noticed this too. In general I think there is more success when using one of the nodejs LTS releases (e.g. 14 or 16). When releasing we always use one of those.

@Coleej out of curiosity why were you trying to build this manually?

ianhi avatar Mar 12 '22 02:03 ianhi

Closing as we are now testing against Node 18 (v18.17.1 as of today).

krassowski avatar Sep 03 '23 20:09 krassowski