These are chat archives for internalfx/quickshot

2nd
Jun 2016
Rick Davies
@rickydazla
Jun 02 2016 22:38
qs pages download
/usr/local/lib/node_modules/quickshot/bin/quickshot:3
let Promise = require('bluebird')
^^^

SyntaxError: Block-scoped declarations (let, const, function, class) not yet supported outside strict mode
    at exports.runInThisContext (vm.js:53:16)
    at Module._compile (module.js:373:25)
    at Object.Module._extensions..js (module.js:416:10)
    at Module.load (module.js:343:32)
    at Function.Module._load (module.js:300:12)
    at Function.Module.runMain (module.js:441:10)
    at startup (node.js:139:18)

    at node.js:968:3
Bryan Morris
@internalfx
Jun 02 2016 22:39
tisk tisk....didn't read the docs
Rick Davies
@rickydazla
Jun 02 2016 22:39
Me?
Winston Hughes
@hughker
Jun 02 2016 22:39
hah
Bryan Morris
@internalfx
Jun 02 2016 22:39
Runs on node.js v6+.
Rick Davies
@rickydazla
Jun 02 2016 22:39
Where the docs at?
Winston Hughes
@hughker
Jun 02 2016 22:39
quickshot.io
Bryan Morris
@internalfx
Jun 02 2016 22:39
@hughker moved
Winston Hughes
@hughker
Jun 02 2016 22:39
oh!
Bryan Morris
@internalfx
Jun 02 2016 22:39
the V6 is just on the github page
working on some nice shiny new docs now!
Winston Hughes
@hughker
Jun 02 2016 22:40
@internalfx fancy
Rick Davies
@rickydazla
Jun 02 2016 22:45
I am getting errors from node-sass
Bryan Morris
@internalfx
Jun 02 2016 22:46
hmmm..
error?
Rick Davies
@rickydazla
Jun 02 2016 22:46
Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 6.x
Bryan Morris
@internalfx
Jun 02 2016 22:47
what?...how can that be, if linux has it? how does OSX not?
Winston Hughes
@hughker
Jun 02 2016 22:47
@internalfx still showing 1.3.0 for me » https://www.npmjs.com/package/quickshot — are we still on that or officially 2.0 now?
Rick Davies
@rickydazla
Jun 02 2016 22:47
/usr/local/lib/node_modules/quickshot/node_modules/node-sass/lib/index.js:14
    throw new Error(errors.missingBinary());
    ^

Error: Missing binding /usr/local/lib/node_modules/quickshot/node_modules/node-sass/vendor/darwin-x64-48/binding.node
Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 6.x

Found bindings for the following environments:
  - OS X 64-bit with Node.js 4.x

This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to build the binding for your current environment.
    at Object.<anonymous> (/usr/local/lib/node_modules/quickshot/node_modules/node-sass/lib/index.js:14:11)

    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/quickshot/lib/theme/watch.js:13:12)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
Bryan Morris
@internalfx
Jun 02 2016 22:47
ah
try that npm rebuild node-sass
Rick Davies
@rickydazla
Jun 02 2016 22:48
Yeah, I did. Same thing
Bryan Morris
@internalfx
Jun 02 2016 22:48
This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to build the binding for your current environment.
probably need to blow out your npm cache
npm cache clear
if that doesn't work try rm -rf ~/.npm
Rick Davies
@rickydazla
Jun 02 2016 22:49
Tried both and rebuild node-sass after but same error
npm rebuild node-sass doesn’t really seem to do anything
Bryan Morris
@internalfx
Jun 02 2016 22:50
try sudo npm rebuild node-sass
Rick Davies
@rickydazla
Jun 02 2016 22:50
That too
Bryan Morris
@internalfx
Jun 02 2016 22:52
I am trying an install from nothing now
Rick Davies
@rickydazla
Jun 02 2016 22:53
Nexus6-3:taylorstitch Rick$ sudo npm cache clear
Password:
Nexus6-3:taylorstitch Rick$ sudo rm -rf ~/.npm
Nexus6-3:taylorstitch Rick$ sudo npm rebuild node-sass
Nexus6-3:taylorstitch Rick$ qs pages download
/usr/local/lib/node_modules/quickshot/node_modules/node-sass/lib/index.js:14
    throw new Error(errors.missingBinary());
    ^

Error: Missing binding /usr/local/lib/node_modules/quickshot/node_modules/node-sass/vendor/darwin-x64-48/binding.node
Node Sass could not find a binding for your current environment: OS X 64-bit with Node.js 6.x

Found bindings for the following environments:
  - OS X 64-bit with Node.js 4.x


This usually happens because your environment has changed since running `npm install`.
Run `npm rebuild node-sass` to build the binding for your current environment.
    at Object.<anonymous> (/usr/local/lib/node_modules/quickshot/node_modules/node-sass/lib/index.js:14:11)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/usr/local/lib/node_modules/quickshot/lib/theme/watch.js:13:12)
    at Module._compile (module.js:541:32)
    at Object.Module._extensions..js (module.js:550:10)
    at Module.load (module.js:458:32)
    at tryModuleLoad (module.js:417:12)
    at Function.Module._load (module.js:409:3)
    at Module.require (module.js:468:17)
    at require (internal/module.js:20:19)
Bryan Morris
@internalfx
Jun 02 2016 22:54
ah there it is sudo rm -rf /usr/local/lib/node_modules
your packages are there
you will need to run npm install -g quickshot@beta again afterwards
note this will uninstall all npm packages, they will have to be reinstalled
Rick Davies
@rickydazla
Jun 02 2016 22:56
All my nodules?
Shiyit
ok
Bryan Morris
@internalfx
Jun 02 2016 22:56
kk..one sec
sudo rm -rf /usr/local/lib/node_modules/quickshot
try that
just the one
Rick Davies
@rickydazla
Jun 02 2016 22:57
then?
Bryan Morris
@internalfx
Jun 02 2016 22:57
only quickshot will be removed
npm install -g quickshot@beta
reinstall
You may want to look into getting NVM....way easier
Rick Davies
@rickydazla
Jun 02 2016 22:58
I need some more install buckets
Bryan Morris
@internalfx
Jun 02 2016 22:58
it's what I use
did it reinstall
yeah, they really didn't like my idea
Rick Davies
@rickydazla
Jun 02 2016 22:58
Hooray
Bryan Morris
@internalfx
Jun 02 2016 22:59
2.0?
Rick Davies
@rickydazla
Jun 02 2016 22:59
Yes! 03:58:43 pm - Downloaded 37 pages.
Bryan Morris
@internalfx
Jun 02 2016 22:59
yeah..check the folder
your gonna like it
super easy to edit
unfortunately it cant push changes yet...
just copies
but we'll get there eventually
Rick Davies
@rickydazla
Jun 02 2016 23:00
I never really watch pages
Bryan Morris
@internalfx
Jun 02 2016 23:00
well, even upload will create NEW pages
not update existing...
Rick Davies
@rickydazla
Jun 02 2016 23:01
Hmm
Bryan Morris
@internalfx
Jun 02 2016 23:01
thats what I meant
Rick Davies
@rickydazla
Jun 02 2016 23:01
I want my money back
jk
Bryan Morris
@internalfx
Jun 02 2016 23:01
I will make it check first in the future..
I just sent it to you.....all of it
Rick Davies
@rickydazla
Jun 02 2016 23:02
Out of interest… why can’t you overwrite?
Bryan Morris
@internalfx
Jun 02 2016 23:02
check your paypal to verify you have no transactions
:smile:
I can, I just haven't programmed it for that yet
It can be done, and probably will within the week
Rick Davies
@rickydazla
Jun 02 2016 23:03
catO9.jpeg
qs products watch
that would be the tits
Bryan Morris
@internalfx
Jun 02 2016 23:05
Now that this "massive" undertaking of a rewrite is done....I can actually get back to features
Your gonna really like the concurrency setting
did you notice that yet
?
qs configure
Now you can tune quickshot to whatever connection your on
Winston Hughes
@hughker
Jun 02 2016 23:06
:clap:
i thought it automatically ran a speedtest and configured that :wink2:
Bryan Morris
@internalfx
Jun 02 2016 23:07
not that good
basically you can choose how many requests to keep in-flight at a time.
Rick Davies
@rickydazla
Jun 02 2016 23:07
Oh that’s cool. Is there a maximum?
Bryan Morris
@internalfx
Jun 02 2016 23:07
setting it to 1 is basically close to the old sync option
but now you no longer have to choose between turbo and snail
you can have it be in the middle
Rick Davies
@rickydazla
Jun 02 2016 23:08
The old turbo == 20?
Bryan Morris
@internalfx
Jun 02 2016 23:08
and no there is no maximum
old turbo was infinity
Rick Davies
@rickydazla
Jun 02 2016 23:08
People at the workzone will hate me
How can I set infinity?
Winston Hughes
@hughker
Jun 02 2016 23:09
hahah
Bryan Morris
@internalfx
Jun 02 2016 23:09
but for all practicality setting it above 40 is useless.....you can guess why
Rick Davies
@rickydazla
Jun 02 2016 23:09
there’s a hole in the bucket?
Bryan Morris
@internalfx
Jun 02 2016 23:09
and it aint very big
2 requests a second....psh
thats an insult to node.js