Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error executing ijs #48

Closed
Qtrain opened this issue Oct 25, 2015 · 7 comments
Closed

error executing ijs #48

Qtrain opened this issue Oct 25, 2015 · 7 comments

Comments

@Qtrain
Copy link

Qtrain commented Oct 25, 2015

fs.js:500
return binding.open(pathModule._makeLong(path), stringToFlags(flags), mode);
^
Error: EACCES, permission denied '/usr/local/lib/node_modules/ijavascript/spec/javascript/kernel.json'
at Error (native)
at Object.fs.openSync (fs.js:500:18)
at Object.fs.writeFileSync (fs.js:1099:15)
at installKernelAsync (/usr/local/lib/node_modules/ijavascript/bin/ijavascript.js:287:8)
at /usr/local/lib/node_modules/ijavascript/bin/ijavascript.js:120:5
at /usr/local/lib/node_modules/ijavascript/bin/ijavascript.js:236:13
at ChildProcess.exithandler (child_process.js:742:7)
at ChildProcess.emit (events.js:110:17)
at maybeClose (child_process.js:1015:16)
at Socket. (child_process.js:1183:11)

@n-riesco
Copy link
Owner

Thanks for reporting this issue. I've tried to reproduce the problem on an Ubuntu 14.04 and I can't. Please, can you post the steps to reproduce it?
I'd like to undertand why ijs can't create the file kernel.json in folder /usr/local/lib/node_modules/ijavascript/spec/javascript/.

@Qtrain
Copy link
Author

Qtrain commented Oct 27, 2015

Sry. Actually using OSX which might be the problem. I will try on an Ubuntu distro and report back.

@n-riesco
Copy link
Owner

This is issue has made realise that I should use a temporary folder to create the kernel spec folder for Jupyter.

I'm very surprised no other OSX users have reported this issue before.

@Qtrain
Copy link
Author

Qtrain commented Oct 28, 2015

Cool. Thx for looking into this. I'm really interested in using this. Pls let me know if you come up with a new install for OSX.

@n-riesco
Copy link
Owner

n-riesco commented Oct 28, 2015 via email

@n-riesco
Copy link
Owner

n-riesco commented Oct 28, 2015 via email

@n-riesco
Copy link
Owner

@Qtrain Please, reopen this issue if the problem is still present in OSX. Thanks again.

n-riesco added a commit to n-riesco/jp-coffeescript that referenced this issue Nov 1, 2015
* Fixes global installation on OSX. For details, see
  n-riesco/ijavascript#48
n-riesco added a commit to n-riesco/jp-babel that referenced this issue Nov 1, 2015
* Fixes global installation on OSX. For details, see
  n-riesco/ijavascript#48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants