agmoyano / node-jasper

JasperReports from Node.js
84 stars 52 forks source link

Problem when installing on node 8.4.0 #33

Closed tiagowippel closed 5 years ago

tiagowippel commented 7 years ago

Hi,

strangely when a I install node-jasper on node 8 it try to install java@0.7.2 package (and breaks), but according with package.json on node-jasper it should install java@0.8.0 wich installs correctly.. (tested cloning the repo).

Maybe an update of npm package is missing...

tiagowippel commented 7 years ago

Hey guys, Is someone having trouble with this too ?

jostin957 commented 6 years ago

Same here, node v8.9.1 and npm v5.5.1 npm ERR! Failed at the java@0.7.2 install script.

Did you find a solution?

tiagowippel commented 6 years ago

2 options:

1-downgrade your node version (to 6 maybe), or 2-clone the node-jasper repo and manually change the java package version (to 0.8.0, witch works on node 8, tested)

KThen commented 6 years ago

Leaving a comment here to add to this issue. npm install --save node-jasper failed to compile java files.

node version: 8.11.3 npm version: 5.6.0 os: centos

However, if changing the dependency of java in package.json to exactly 0.8.0 works. Haven't got the time to try with anything above java@^0.8.0 yet.

agmoyano commented 6 years ago

Sorry guys it took so long.. I updated npm version to add java@0.8.0

agmoyano commented 6 years ago

Please let me know if this fixes the issue and I'll close it.