-
-
Notifications
You must be signed in to change notification settings - Fork 10
Support global or root-user installations on Linux #13
Comments
Update: running |
Hi @TekuConcept |
First, I have a development linux system where root is the only user. (It’s a barebones system.) As I demonstrated in the second attempt above, qode could not even be installed in some local folder as root. Second, I wanted to run nodegui-specific apps without npm or running I shared my workaround solution above in the second post. |
Just a suggestion (not sure if you already know this) : In any case can I close this issue since there is nothing to be done here ? |
I already know about the node_modules/.bin folder. Let’s drop the concept of installing globally and instead focus on installing locally... I cannot install locally as root. (where root is the only user available and creating a new user is not an option) I’ll hopefully come back later with a patch to help fix this. |
Any attempt to install the qode npm package as the super user fails.
npm install -g @nodegui/qode
fails to run with Error while setting up Qode { [Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/@nodegui/qode/dist']cd /root && npm install @nodegui/qode
fails with Cannot find module '/root/node_modules/@nodegui/qode/install.js'cd /home/some_user/Desktop/some_folder && npm install @nodegui/qode
fails with Failed at the @nodegui/qode@1.0.6 postinstall script.Running
npm install @nodegui/qode
in any other folder as a non-super-user works.System Information:
The text was updated successfully, but these errors were encountered: