You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create any csv file and run perspective host my-csv.csv Sample file:
name,value
a,2
b,2
c,4
Expected Result:
I expect it to host a server allowing me to see the data
Actual Result:
It shows this error:
Listening on port 8080
TypeError: input.on_delete is not a function
/usr/local/lib/node_modules/@finos/perspective-cli/node_modules/@finos/perspective/dist/cjs/@finos/perspective-cpp/dist/cjs/perspective.cpp.js:85
throw ex;
^
RuntimeError: abort(TypeError: input.on_delete is not a function). Build with -s ASSERTIONS=1 for more info.
at process.abort (/usr/local/lib/node_modules/@finos/perspective-cli/node_modules/@finos/perspective/dist/cjs/@finos/perspective-cpp/dist/cjs/perspective.cpp.js:700:15)
at process.emit (events.js:314:20)
at processPromiseRejections (internal/process/promises.js:209:33)
at processTicksAndRejections (internal/process/task_queues.js:98:32)
Environment:
MacOs 10.15.7, node versions tested on 16.0.0 and 12.21.0
Additional Context:
I also tried installing @finso/perspective-cli as a local project dependency and running it with npx perspective host test.csv and it produced the same error.
The text was updated successfully, but these errors were encountered:
This issue is due to a bitrot in perspective-cli—in v0.7.0 we updated the table and view API to be async, but when I went through and changed the constructors to the async form I must have missed the use of the table constructor in perspective-cli.
This would be a good first issue for somebody to look at; it's a pretty easy fix and offers a good springboard to familiarize oneself with the development steps for Perspective.
Bug Report
Steps to Reproduce:
perspective host my-csv.csv
Sample file:Expected Result:
I expect it to host a server allowing me to see the data
Actual Result:
It shows this error:
Environment:
MacOs 10.15.7, node versions tested on 16.0.0 and 12.21.0
Additional Context:
I also tried installing @finso/perspective-cli as a local project dependency and running it with
npx perspective host test.csv
and it produced the same error.The text was updated successfully, but these errors were encountered: