yunabe / tslab

Interactive JavaScript and TypeScript programming with Jupyter
Apache License 2.0
701 stars 44 forks source link

Cannot find module when launched from another drive under Windows #30

Open shunf4 opened 4 years ago

shunf4 commented 4 years ago
C:\>ver

Microsoft Windows [Version 10.0.18363.752]

C:\>jupyter console --kernel=jslab
unknown msg_type: history_request
Jupyter console 6.1.0

JavaScript
In [1]: const fs = require("fs")

In [2]:
Do you really want to exit ([y]/n)? y
Shutting down kernel

C:\>d:

D:\>jupyter console --kernel=jslab
unknown msg_type: history_request
Jupyter console 6.1.0

JavaScript
In [1]: const fs = require("fs")
1:20 - Cannot find module 'fs'.

In [2]:
Do you really want to exit ([y]/n)? y
Shutting down kernel

D:\>

const fs = require("fs") failed with Cannot find module 'fs' when jupyter is launched from somewhere under another drive other than C:.