jsreport / jsreport-phantom-pdf

jsreport recipe which is rendering pdf from html using phantomjs
GNU Lesser General Public License v3.0
11 stars 8 forks source link

phantomjs package can not be downloaded anymore. #33

Closed aschick82 closed 5 years ago

aschick82 commented 5 years ago

There is an issue with installing this package as phantomjs is now being moved to phantomjs-prebuilt.

Can you please make an update?

pofider commented 5 years ago

There should be no issue with installing this package. It is true that the new releases of phantomjs has been moved to phantomjs-prebuilt, however this package is using older release which is still available in the phantomjs npm package.

It is possible that the location from which is phantomjs downloaded was temporary down. Please try again...

See my output which shows working download

C:\temp3>npm i jsreport-phantom-pdf
npm WARN deprecated npmconf@2.0.9: this package has been reintegrated into npm and is now out of date with respect to npm
npm WARN deprecated graceful-fs@3.0.11: please upgrade to graceful-fs 4 for compatibility with current and future versions of Node.js
npm WARN deprecated node-uuid@1.4.8: Use uuid module instead
npm WARN deprecated npmconf@2.1.1: this package has been reintegrated into npm and is now out of date with respect to npm

> phantomjs@1.9.15 install C:\temp3\node_modules\phantom-workers\node_modules\phantomjs
> node install.js

invalid config loglevel="notice"
Downloading https://bitbucket.org/ariya/phantomjs/downloads/phantomjs-1.9.8-windows.zip
Saving to C:\Users\janbl\AppData\Local\Temp\phantomjs\phantomjs-1.9.8-windows.zip
Receiving...
  [=======================================-] 98% 0.0s
Received 7292K total.
Extracting zip contents
Removing C:\temp3\node_modules\phantom-workers\node_modules\phantomjs\lib\phantom
Copying extracted folder C:\Users\janbl\AppData\Local\Temp\phantomjs\phantomjs-1.9.8-windows.zip-extract-1539541853436\phantomjs-1.9.8-windows -> C:\temp3\node_modules\phantom-workers\node_modules\phantomjs\lib\phantom
Writing location.js file
Done. Phantomjs binary available at C:\temp3\node_modules\phantom-workers\node_modules\phantomjs\lib\phantom\phantomjs.exe

> phantomjs@1.9.17 install C:\temp3\node_modules\phantomjs
> node install.js

invalid config loglevel="notice"
Download already available at C:\Users\janbl\AppData\Local\Temp\phantomjs\phantomjs-1.9.8-windows.zip
Extracting zip contents
Removing C:\temp3\node_modules\phantomjs\lib\phantom
Copying extracted folder C:\Users\janbl\AppData\Local\Temp\phantomjs\phantomjs-1.9.8-windows.zip-extract-1539541860248\phantomjs-1.9.8-windows -> C:\temp3\node_modules\phantomjs\lib\phantom
Writing location.js file
Done. Phantomjs binary available at C:\temp3\node_modules\phantomjs\lib\phantom\phantomjs.exe
npm WARN saveError ENOENT: no such file or directory, open 'C:\temp3\package.json'
npm notice created a lockfile as package-lock.json. You should commit this file.
npm WARN enoent ENOENT: no such file or directory, open 'C:\temp3\package.json'
npm WARN temp3 No description
npm WARN temp3 No repository field.
npm WARN temp3 No README data
npm WARN temp3 No license field.

+ jsreport-phantom-pdf@2.1.3
added 91 packages from 60 contributors and audited 181 packages in 33.149s
found 21 vulnerabilities (1 low, 18 moderate, 2 high)
  run `npm audit fix` to fix them, or `npm audit` for details

C:\temp3>