Open planner77 opened 4 years ago
const fs = require("fs");
I can not reproduce this issue on my Linux or the "Binder" demo in README.md.
Could you share the information of you environment?
e.g.
import * as tslab from 'tslab';
import * as os from 'os';
console.log(tslab.versions);
console.log(os.platform());
console.log(os.release());
Also, you should use ES6 import in TypeScript to enable type-checking on modules.
const fs = require("fs");
I can not reproduce this issue on my Linux or the "Binder" demo in README.md.
Could you share the information of you environment?
e.g.
import * as tslab from 'tslab'; import * as os from 'os'; console.log(tslab.versions); console.log(os.platform()); console.log(os.release());
Also, you should use ES6 import in TypeScript to enable type-checking on modules.
Hi @yunabe,
Previously I had installed jupyter lab and set up data folder not using default folder(user default folder). Now reinstalled jupyter lab and set updata folder using default folder(%userprofile%) and it works. How to fix the problem what occurred in the jupyter lab not using default folder?
regards, planner77.
Hi there,
When try below code in the jupyter lab after installing the tslab, result message is 'Cannot find module 'fs' or its corresponding type declarations'
const fs = require("fs");
Next is no problem.
const tslab = require("tslab");
What do I need to check?
Thanks.