yunabe / tslab

Interactive JavaScript and TypeScript programming with Jupyter
Apache License 2.0
731 stars 45 forks source link

library issues #71

Open Makki93 opened 2 years ago

Makki93 commented 2 years ago

Hi, I am using the tslab version 1.0.15. I installed the newest version of node.js (16.14.2) but I also tried version 14.15.1 (as used in the (getting started guide)[https://nbviewer.org/github/yunabe/tslab-examples/blob/master/notebooks/getting_started.ipynb]).

I'm having the same issues as many issues already have, e.g. #63 or #68. The TypeScript compiler doesn't recognize some imports or standard data types.

image

I've seen in another issue that with tslab, one actually cannot use a tsconfig file, so I cannot even specify lib properties. Anyhow, with the same installations, a college of mine got it running on Mac. We're discussion whether one has to install additional packages, but couldn't figure out which one that would be. Currently, this is my installation:

+-- @eventstore/db-client@3.3.1 | +-- @grpc/grpc-js@1.6.7 | | +-- @grpc/proto-loader@0.6.9 | | | +-- @types/long@4.0.1 | | | +-- lodash.camelcase@4.3.0 | | | +-- long@4.0.0 | | | +-- protobufjs@6.11.2 | | | | +-- @protobufjs/aspromise@1.1.2 | | | | +-- @protobufjs/base64@1.1.2 | | | | +-- @protobufjs/codegen@2.0.4 | | | | +-- @protobufjs/eventemitter@1.1.0 | | | | +-- @protobufjs/fetch@1.1.0 | | | | | +-- @protobufjs/aspromise@1.1.2 deduped | | | | | -- @protobufjs/inquire@1.1.0 deduped | | | | +-- @protobufjs/float@1.0.2 | | | | +-- @protobufjs/inquire@1.1.0 | | | | +-- @protobufjs/path@1.1.2 | | | | +-- @protobufjs/pool@1.1.0 | | | | +-- @protobufjs/utf8@1.1.0 | | | | +-- @types/long@4.0.1 deduped | | | | +-- @types/node@17.0.27 deduped | | | |-- long@4.0.0 deduped | | | -- yargs@16.2.0 | | | +-- cliui@7.0.4 | | | | +-- string-width@4.2.3 deduped | | | | +-- strip-ansi@6.0.1 | | | | |-- ansi-regex@5.0.1 | | | | -- wrap-ansi@7.0.0 | | | | +-- ansi-styles@4.3.0 | | | | |-- color-convert@2.0.1 | | | | | -- color-name@1.1.4 | | | | +-- string-width@4.2.3 deduped | | | |-- strip-ansi@6.0.1 deduped | | | +-- escalade@3.1.1 | | | +-- get-caller-file@2.0.5 | | | +-- require-directory@2.1.1 | | | +-- string-width@4.2.3 | | | | +-- emoji-regex@8.0.0 | | | | +-- is-fullwidth-code-point@3.0.0 | | | | -- strip-ansi@6.0.1 deduped | | | +-- y18n@5.0.8 | | |-- yargs-parser@20.2.9 | | -- @types/node@17.0.27 deduped | +-- @types/debug@4.1.7 | |-- @types/ms@0.7.31 | +-- @types/google-protobuf@3.15.5 | +-- @types/node@16.11.29 | +-- debug@4.3.4 | | -- ms@2.1.2 | +-- google-protobuf@3.20.1 |-- uuid@8.3.2 deduped +-- @types/node@17.0.27 +-- @types/uuid@8.3.4 +-- typescript@4.6.3 `-- uuid@8.3.2