First install nodejs
nodejs installation method https://nodejs.org/dist/v4.4.6/node-v4.4.6-x64.msi Download it directly and install it. After installation,
open a cmd window and enter node to see if there is a result. If the prompt does not If the file is found, configure the corresponding system path. After
installing the node,
execute the test.js execution method in the decompressed file
node test.js
--------------------
If it cannot be executed, the Execute
npm config set registry in the decompressed path https://registry.npm.taobao.org
npm install
npm install https://github.com/brenden/node-webshot.git
If the installation fails, the error of git command not fund appears
Then you need to install git
https://git-scm.com/download/win
When installing git, you need to pay attention to choose use windows's default console window
phantomjs screenshot
Guess you like
Origin http://10.200.1.11:23101/article/api/json?id=326839925&siteId=291194637
Recommended
Ranking