nodejs / snap

Node.js snap source and updater
MIT License
169 stars 38 forks source link

Version detection fails #31

Open nextgenthemes opened 2 years ago

nextgenthemes commented 2 years ago

Please see this issue I just filed. (https://github.com/WordPress/gutenberg/issues/40403)

Works perfectly fine with the nodesource apt install of nodejs.

rvagg commented 2 years ago

Unfortunately I don't think there's much we can do here because it likely comes down to a dynamic PATH problem that Snaps introduce. Some methods of executing node fail to find the proper executable when it's in a Snap; due to the way /snap/ is organised and paths are appended for users.