2023-10-09 19:29:22 +00:00
|
|
|
diff -ru a/src/bokeh/util/compiler.py b/src/bokeh/util/compiler.py
|
|
|
|
--- a/src/bokeh/util/compiler.py
|
|
|
|
+++ b/src/bokeh/util/compiler.py
|
|
|
|
@@ -411,8 +411,8 @@
|
|
|
|
raise RuntimeError(f'node.js v{version_repr} or higher is needed to allow compilation of custom models ' +
|
2020-04-24 23:36:52 +00:00
|
|
|
'("conda install nodejs" or follow https://nodejs.org/en/download/)')
|
|
|
|
|
|
|
|
-_nodejs = None
|
|
|
|
-_npmjs = None
|
|
|
|
+_nodejs = "@node_bin@"
|
|
|
|
+_npmjs = "@npm_bin@"
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
def _nodejs_path() -> str:
|
2020-04-24 23:36:52 +00:00
|
|
|
global _nodejs
|