Re:Show HN: Teach your friends to lock their computers
by builtbyproxy on Wednesday September 06, 2017 @09:05AM
(#15183289)
Hey Davey that was my mistake with variable declarations. Could you test the latest version please?
Thankyou!
Re:Show HN: Teach your friends to lock their computers
by Daviey on Wednesday September 06, 2017 @09:12AM
(#15183348)
We aren't having much luck here. :).
$ weebg
/usr/local/lib/node_modules/weebg/index.js:24
async function setImgName(){
^^^^^^^^
SyntaxError: Unexpected token function at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions..js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3
Re:Show HN: Teach your friends to lock their computers
by builtbyproxy on Wednesday September 06, 2017 @11:48AM
(#15184562)
Ah damn!
Could you confirm your version number and your node version please?
For Version Number: npm list -g weebg
For Node Version: node -v
I believe this could be because this functionality was implemented in node version 7.x, At least that's where i remember encountering this issue
If possible could you make an issue on github so we can clarify it there, this article has no link to the project unfortunately :)
Thanks again for the continued support in trying to get this to work! I broke it completely with a recent push because I was using a global request module instead of adding one to the actual project.
Outside testers are fantastic!
Thanks again@
$ sudo npm install -g weebg
[sudo] password for dave:
/usr/local/bin/weebg ->
/usr/local/lib/node_modules/weebg/index.js
/usr/local/lib
└─┬ [email protected]
$ weebg2. Image Should Be Saved
3. Image Should Be Set
1. Image Should Be Located
events.js:141
Error: EACCES: permission denied, open'/usr/local/lib/node_modules/weebg/weebgReferenceBackground'