Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Old nodejs installed causes Bokeh error on CI #384

Closed
jakirkham opened this issue Jul 29, 2022 · 2 comments
Closed

Old nodejs installed causes Bokeh error on CI #384

jakirkham opened this issue Jul 29, 2022 · 2 comments

Comments

@jakirkham
Copy link
Member

jakirkham commented Jul 29, 2022

On CI, am seeing the following error about nodejs being too old. While it seems possible to install nodejs version 14.0.0, CI is picking up an older version of nodejs (namely 12.4.0), which causes this Bokeh error.

/opt/conda/envs/rapids/lib/python3.8/site-packages/bokeh/util/compiler.py in _detect_nodejs()
    410     # if we've reached here, no valid version was found
    411     version = ".".join(map(str, nodejs_min_version))
--> 412     raise RuntimeError('node.js v%s or higher is needed to allow compilation of custom models ' % version +
    413                        '("conda install nodejs" or follow https://nodejs.org/en/download/)')
    414 

RuntimeError: node.js v14.0.0 or higher is needed to allow compilation of custom models ("conda install nodejs" or follow https://nodejs.org/en/download/)
@ajschmidt8
Copy link
Member

@jakirkham, I opened the PRs below to hopefully resolve this.

rapids-bot bot pushed a commit that referenced this issue Jul 29, 2022
The current `nodejs` version specifier is outdated and is causing issues related to #384. This PR updates the specifier to uncap the maximum version and set a new minimum.

Authors:
  - AJ Schmidt (https://github.com/ajschmidt8)

Approvers:
  - Sevag H (https://github.com/sevagh)

URL: #385
@ajschmidt8
Copy link
Member

Fixed in #385. Closing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants