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

problem with setting up https://www.github.com/Maluuba/bokeh #4

Open
sidharthrai opened this issue Dec 31, 2021 · 1 comment
Open

Comments

@sidharthrai
Copy link

sidharthrai commented Dec 31, 2021

Hi All,
I'm working on the prerequisites step 1: that is installing https://www.github.com/Maluuba/bokeh

I have followed all the steps in the instruction but the problem is arising whenever I'm trying to do step 9 i.e.
python setup.py install --build-js

When I run this command it is creating the error message below.

Building BokehJS... Failed.

ERROR: 'gulp build' returned the following

---- on stdout:

---- on stderr:
(node:24913) [DEP0005] DeprecationWarning: Buffer() is deprecated due to security and usability issues. Please use the Buffer.alloc(), Buffer.allocUnsafe(), or Buffer.from() methods instead.
(Use node --trace-deprecation ... to show where the warning was created)
AssertionError [ERR_ASSERTION] [ERR_ASSERTION]: Task function must be specified
at Gulp.set [as _setTask] (/home/sidharth/Documents/FigureQA/bokeh/bokehjs/node_modules/undertaker/lib/set-task.js:10:3)
at Gulp.task (/home/sidharth/Documents/FigureQA/bokeh/bokehjs/node_modules/undertaker/lib/task.js:13:8)
at Object. (/home/sidharth/Documents/FigureQA/bokeh/bokehjs/gulp/tasks/build.ts:4:6)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Module.m._compile (/home/sidharth/Documents/FigureQA/bokeh/bokehjs/node_modules/ts-node/src/index.ts:392:23)
at Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Object.require.extensions. [as .ts] (/home/sidharth/Documents/FigureQA/bokeh/bokehjs/node_modules/ts-node/src/index.ts:395:12)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.module.constructor.require (/home/sidharth/Documents/FigureQA/bokeh/bokehjs/gulpfile.js:11:29) {
generatedMessage: false,
code: 'ERR_ASSERTION',
actual: false,
expected: true,
operator: '=='
}

I have tried a few different things to solve the problem which includes following the instructions of
Maluuba/bokeh#8

decreasing the version of gulp (sorry can remember the versions now ), nodejs from latest to 10, 8, 6

Not only that I have tried a few more solutions like following the instructions from the link below.
bokeh/bokeh#7854

I still cannot solve the issue. Can you please help me out? Please let me know if you have any questions for me regarding the problem or
Thank you so much in advance for trying to help me out.

Secondly, I will appreciate it if you can suggest me some annotation tools which I can use for annotating the graphs.

Thank you so much once again, please let me know if you have any questions for me.

@MarcWong
Copy link

MarcWong commented Mar 31, 2022

Solved it by downgrading many packages:

npm v6.4.1
node v11.15.0
[email protected]
[email protected]
[email protected]
[email protected]
[email protected]

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