I accidentally upgraded npm and now I can’t compile bokeh from source.
Does anyone know how to link to an older version of node? I was able to install node@8, but I’m not sure how to link to it?
Thanks in advance.
Dan
nightowl:bokeh-master nightowl$ sudo python setup.py install
Password:
Bokeh includes a JavaScript library (BokehJS) that has its own
build process. How would you like to handle BokehJS:
-
build and install fresh BokehJS
-
install last built BokehJS from bokeh/bokehjs/build
Choice? 1
Building BokehJS… Failed.
ERROR: ‘gulp build’ returned the following
---- on stdout:
node >=8.8 <9.0 is required. Current version is v10.0.0.
---- on stderr:
nightowl:bokeh-master nightowl$ brew search node
==> Searching local taps…
node node@8 leafnode libbitcoin-node llnode node-build node@4 node@6 nodebrew nodeenv nodenv
==> Searching taps on GitHub…
caskroom/cask/node-profiler
==> Searching blacklisted, migrated and deleted formulae…
nightowl:bokeh-master nightowl$ brew list --versions
gdbm 1.14.1_1
icu4c 61.1
node 10.0.0
node@8 8.11.1
openssl 1.0.2o_1
python@2 2.7.14_3
readline 7.0.3_1
sqlite 3.23.1
nightowl:bokeh-master nightowl$ brew switch node 8.11.1
Error: node does not have a version “8.11.1” in the Cellar.
node installed versions: 10.0.0
nightowl:bokeh-master nightowl$ brew switch node node@8
Error: node does not have a version “node@8” in the Cellar.
node installed versions: 10.0.0