headcr4sh / node-maven

Maven for Node.js
Apache License 2.0
18 stars 14 forks source link

Not able to get it work! #27

Open singhemant opened 4 years ago

singhemant commented 4 years ago

Simply following the instructions: keep getting the following error. code:1 signal:null

My code is: const mvn = require('maven').create({ cwd: 'path to java/mvn project', settings: 'path to my settings.xml' }); mvn.execute('clean').then((res) => { console.log(res); }).catch((err) => { console.log(err); });

What am I missing?