Jiale-Li

Results 4 comments of Jiale-Li

> 您是否尝试过添加 ?`phantomPath` > > ```js > pdf.create(html, { > phantomPath: path.resolve( > process.cwd(), > "node_modules/phantomjs-prebuilt/bin/phantomjs" > ), > }) > ``` ReferenceError: path is not defined, What's the path...

> @Jiale-Li path is a node module. You will need to require it like so: > > `const path = require('path')` > > In your code what the resolve method...

> So I believe that `write EPIPE` errors usually mean that the writing failed because the receiving end closed the connection. > > Which bit of your code is on...

> So I believe that `write EPIPE` errors usually mean that the writing failed because the receiving end closed the connection. > > Which bit of your code is on...