Uninstall gpio and rpio for now. Just use onoff
This commit is contained in:
parent
f10956985a
commit
238656a1e1
|
@ -2,6 +2,7 @@
|
|||
|
||||
//Optimized rpio-writebuf re-write of the intval module
|
||||
//https://gist.github.com/jperkin/e1f0ce996c83ccf2bca9
|
||||
//on hold
|
||||
|
||||
const db = require('../db')
|
||||
const log = require('../log')('intval3')
|
||||
|
|
|
@ -692,11 +692,6 @@
|
|||
"path-is-absolute": "^1.0.0"
|
||||
}
|
||||
},
|
||||
"gpio": {
|
||||
"version": "0.2.10",
|
||||
"resolved": "https://registry.npmjs.org/gpio/-/gpio-0.2.10.tgz",
|
||||
"integrity": "sha512-VBFvAye/pK/oWHDUCa2F8jyrtHhnHXR/zHxMz3REEgznfMCQyzy6yRU8hFNuMSO+AG3YN4fH71Suj6mvM3cG3w=="
|
||||
},
|
||||
"graceful-fs": {
|
||||
"version": "4.1.15",
|
||||
"resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.1.15.tgz",
|
||||
|
@ -1643,27 +1638,6 @@
|
|||
"glob": "^7.1.3"
|
||||
}
|
||||
},
|
||||
"rpio": {
|
||||
"version": "1.0.13",
|
||||
"resolved": "https://registry.npmjs.org/rpio/-/rpio-1.0.13.tgz",
|
||||
"integrity": "sha512-9Aj7PmYe5N+Tyy93thDfShCJ2Sjmx1znsluyDdr9altRYZZcFwhXwKRlMGbtp6GX0EnN01Me0x6HNmv/VC4HpA==",
|
||||
"requires": {
|
||||
"bindings": "~1.3.0",
|
||||
"nan": "~2.11.0"
|
||||
},
|
||||
"dependencies": {
|
||||
"bindings": {
|
||||
"version": "1.3.1",
|
||||
"resolved": "https://registry.npmjs.org/bindings/-/bindings-1.3.1.tgz",
|
||||
"integrity": "sha512-i47mqjF9UbjxJhxGf+pZ6kSxrnI3wBLlnGI2ArWJ4r0VrvDS7ZYXkprq/pLaBWYq4GM0r4zdHY+NNRqEMU7uew=="
|
||||
},
|
||||
"nan": {
|
||||
"version": "2.11.1",
|
||||
"resolved": "https://registry.npmjs.org/nan/-/nan-2.11.1.tgz",
|
||||
"integrity": "sha512-iji6k87OSXa0CcrLl9z+ZiYSuR2o+c0bGuNmXdrhTQTakxytAFsC56SArGYoiHlJlFoHSnvmhpceZJaXkVuOtA=="
|
||||
}
|
||||
}
|
||||
},
|
||||
"safe-buffer": {
|
||||
"version": "5.1.2",
|
||||
"resolved": "https://registry.npmjs.org/safe-buffer/-/safe-buffer-5.1.2.tgz",
|
||||
|
|
|
@ -26,12 +26,10 @@
|
|||
"dependencies": {
|
||||
"bleno": "^0.5.0",
|
||||
"cron": "^1.2.1",
|
||||
"gpio": "^0.2.7",
|
||||
"node-ipc": "^9.1.0",
|
||||
"node-persist": "^3.0.4",
|
||||
"onoff": "^3.2.8",
|
||||
"restify": "^8.0.0",
|
||||
"rpio": "^1.0.13",
|
||||
"sqlite3": "^4.0.2",
|
||||
"squel": "^5.12.0",
|
||||
"uuid": "^3.1.0",
|
||||
|
|
|
@ -41,7 +41,7 @@ sudo service nginx restart
|
|||
|
||||
echo "Install node"
|
||||
|
||||
sudo npm install --allow-root --unsafe-perm=true
|
||||
npm install
|
||||
sudo pm2 start process.json
|
||||
sudo pm2 save
|
||||
sudo pm2 startup
|
||||
|
|
Loading…
Reference in New Issue