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
$ sudo npm i -g wiringpi-node
[email protected] install /usr/local/lib/node_modules/wiringpi-node /bin/bash ./install.sh
Making libWiringPi ... ./install.sh: line 28: ../../install.log: Permission denied ./install.sh: line 29: ../../install.log: Permission denied failed.
Cannot find file install.sh to fix it. All directories removed again. If I press CTRL-C during the build, I still cannot find the file.
THANKS!!
-M
The text was updated successfully, but these errors were encountered:
Node tries to install as user nobody:
npm/npm#1259
Which is seen as a security issue by many:
npm/npm#3849
There's apparently a work-around of using the "unsafe" flag:
sudo npm install blerg --unsafe
What's happening here is that it is trying to create the file install.log in the current directory:
git clone https://github.com/nekuz0r/wiringpi.git -b 2.25 > ./install.log 2>&1
But, since "nobody" has no access, it fails.
If it used something like mktemp it could possibly still run as nobody, but it seems like installed files should be owned by a non-nobody user.
Sorry, something went wrong.
No branches or pull requests
$ sudo npm i -g wiringpi-node
Making libWiringPi ... ./install.sh: line 28: ../../install.log: Permission denied
./install.sh: line 29: ../../install.log: Permission denied
failed.
Cannot find file install.sh to fix it. All directories removed again. If I press CTRL-C during the build, I still cannot find the file.
THANKS!!
The text was updated successfully, but these errors were encountered: