Just installed jp-babel kernel, started a new notebook. Then the kernel died:
Error: EACCES: permission denied, scandir '/store/mycomputer/datastore'
at Object.fs.readdirSync (fs.js:904:18)
at findFile (/store/mycomputer/datastore/myusername/programs/jupyter/node_modules/jp-babel/lib/kernel.js:100:21)
at findFile (/store/mycomputer/datastore/myusername/programs/jupyter/node_modules/jp-babel/lib/kernel.js:110:12)
at findFile (/store/mycomputer/datastore/myusername/programs/jupyter/node_modules/jp-babel/lib/kernel.js:110:12)
at Object.<anonymous> (/store/mycomputer/datastore/myusername/programs/jupyter/node_modules/jp-babel/lib/kernel.js:84:19)
at Module._compile (module.js:643:30)
at Object.Module._extensions..js (module.js:654:10)
at Module.load (module.js:556:32)
at tryModuleLoad (module.js:499:12)
at Function.Module._load (module.js:491:3)
It looks like jp-babel traverses up the directories in order to find a .babelrc.
$ ls -l /store/mycomputer/datastore
ls: cannot open directory '/store/mycomputer/datastore': Permission denied
$ ls -ld /store/mycomputer/datastore
drwx--x--x 9 root root 4096 Jan 4 15:41 /store/mycomputer/datastore
This is how things are on the computer I'm currently at. I guess we can't assume all parent dirs are accessible.
Just installed jp-babel kernel, started a new notebook. Then the kernel died:
It looks like jp-babel traverses up the directories in order to find a
.babelrc
.This is how things are on the computer I'm currently at. I guess we can't assume all parent dirs are accessible.
Versions