Comments (6)
For the first one: http://stackoverflow.com/questions/15846076/command-not-found-after-installation/15850125#15850125 I would probably use the Node prompt that comes bundled with the Node installer.
from pageres.
I managed to get the command to be found, on Windows you need a pageres
file in any path folder, that should contain:
#!/bin/sh
basedir=`dirname "$0"`
case `uname` in
*CYGWIN*) basedir=`cygpath -w "$basedir"`;;
esac
if [ -x "$basedir/node.exe" ]; then
"$basedir/node.exe" "$basedir/node_modules/pageres/cli.js" "$@"
else
node "$basedir/node_modules/pageres/cli.js" "$@"
fi
but I still get the second bug. pageres
alone works fine and displays the help, but as soon as I provide arguments, I get the error message.
from pageres.
I don't use Windows, so can't really help much on that.
Try using master, it has a lot of improvements: npm install --global sindresorhus/pageres
from pageres.
I'm investigating, and I found that index.js
, line 11:
var phantomjsBin = require('phantomjs').path;
the var phantomjsBin
is null
. It should contain the path to phantomjs bin folder, right ?
from pageres.
I use windows 7 and do not get any errors as long as I am using the node.js command shell. If I try to use powershell, it gacks. I would expect this though, so I use the node shell.
@sindresorhus Great job on this by the way!
from pageres.
There's better PhantomJS detection in 0.3.0: https://github.com/sindresorhus/pageres/releases/tag/v0.3.0
from pageres.
Related Issues (20)
- pageres swamping server with requests HOT 3
- Retrieve "final" URL after redirects HOT 2
- Capture a livecam page HOT 1
- Default timeout is not working with pageres-cli when run with PowerShell HOT 1
- Installation problem with MacOS M1 chip HOT 5
- Update version of capture-website HOT 5
- Heroku CLI HOT 1
- Doesn't find chromium binary on aarch64 HOT 1
- Support beforeScreenshot option HOT 1
- Options beforeScreenshot doesn't work
- pageres stuck HOT 1
- My project works on windows server but not on my Ubuntu server. Error: Failed to launch the browser process! HOT 3
- Error: EPERM: operation not permitted, unlink errno: -4048 HOT 3
- Script not working HOT 3
- Support for vercel
- Weird error received HOT 6
- Package Update HOT 2
- Failed at the [email protected] postinstall script. HOT 1
- ERR_CERT_AUTHORITY_INVALID
- Crawl website? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pageres.