yunabe / tslab

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

Error upon executing anything #26

Closed erichiller closed 4 years ago

erichiller commented 4 years ago

Hello, I've just freshly (and for the first time) installed tslab. I get an error however when I go to use it:

unexpected error: TypeError: notifyUpdateSrc is not a function
    at updateContent (C:\nodejs\node_modules\tslab\dist\converter.js:533:9)
    at Object.convert (C:\nodejs\node_modules\tslab\dist\converter.js:188:9)
    at Object.execute (C:\nodejs\node_modules\tslab\dist\executor.js:140:32)
    at JupyterHandlerImpl.handleExecuteImpl (C:\nodejs\node_modules\tslab\dist\jupyter.js:205:38)
    at count.execQueue.add (C:\nodejs\node_modules\tslab\dist\jupyter.js:163:57)

To be clear, the kernel does start. this error occurs when trying to run anything. ie console.log('hello');

I'm running:

If you need any more information, let me know!

RGFTheCoder commented 4 years ago

Same error here

yunabe commented 4 years ago

Thanks you for the report. Because I don't have Windows environment to test tslab continuously, I did not notice there is a critical path in the path handling of tslab.

I think the most critical bug is fixed by https://github.com/yunabe/tslab/commit/792c032925158c585722eeddc975d4f88fbf5737. If you have troubles on Windows, please let me know (or please fix them if you are interested in)

erichiller commented 4 years ago

I just wanted to confirm that you did fix everything, it works great now. thank you, Eric