We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
If pixiedust_node is installed, could it conceivably install Node.js (node/npm) on the target system? If so how?
pixiedust_node
@DTAIEB said
"yeah, I think we could do a command line download/install of node under PIXIEDUST_HOME directory when we detect it’s not there"
Currently, we assume node is in the PATH so we run
node
self.ps = subprocess.Popen( ('node', path), stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
This could be changed to:
home = get_ipython().home_dir self.ps = subprocess.Popen( ('node', path), stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, cwd = home)
This would ensure node's home directory is the same as Pixiedust's.
The text was updated successfully, but these errors were encountered:
So this module now detects whether it can find 'node' before attempting to run it. This is the first stage of doing this ticket.:)
see: c9d142f
Sorry, something went wrong.
No branches or pull requests
If
pixiedust_node
is installed, could it conceivably install Node.js (node/npm) on the target system? If so how?@DTAIEB said
Currently, we assume
node
is in the PATH so we runself.ps = subprocess.Popen( ('node', path), stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
This could be changed to:
This would ensure node's home directory is the same as Pixiedust's.
The text was updated successfully, but these errors were encountered: