-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Executing a snap binary from the Node snap distribution #663
Comments
I have similar problem. I spent a lot of time reading the code and debugging, figuring out what was happening in one of the npm modules.
|
I'm having exactly the same problem when using the aws cdk installed via the node snap: whenever it tries to Example output:
|
Ran into this too. Took me a while to figure out it was the snap layer where it was breaking. I don't know how to fix it, here's some more debugging info: Running
gives:
and generates a bunch of denies in
Running the command that's spawned by node manually works (prints out 'Hello World!') with two denies in
I'm running Node 10.16.1 on Pop!_OS 19.04 (Ubuntu derivative), notes from
|
Failing for me as well. Had to opt out of snap and found a way to install an up-to-date version of NodeJS, npm, npx via apt instead.
|
FYI, this seems to be https://bugs.launchpad.net/snapd/+bug/1835805 |
I am running into a strange problem with the snap distribution of Node on Ubuntu 18.04. For some reason the
child_process
module is not able toexec
other snap programs if they are started with thesnap
binary (including via the/snap/bin
symlinks). To reproduce:Install the
hello
andnode
snaps:Run the
hello
command withchild_process.exec
:With this setup I am getting the following error:
instead of seeing
Additionally:
chp.exec("ls"
)v8.11.1
andv11.0.0-nightly2018051220509ebee6
snap distributions -- both have the issue.Versions:
The text was updated successfully, but these errors were encountered: