Instalei e funcionou à primeira.
Linux goldBoste 4.15.0-74-generic #84-Ubuntu SMP Thu Dec 19 08:06:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Debug:
[email protected] install /home/samu/node_modules/autocosts/node_modules/libxmljs
node-pre-gyp install --fallback-to-build --loglevel http
node-pre-gyp WARN Using request for node-pre-gyp https download
node-pre-gyp http GET https://github.com/libxmljs/libxmljs/releases/download/v0.19.7/node-v64-linux-x64.tar.gz
node-pre-gyp http 200 https://github.com/libxmljs/libxmljs/releases/download/v0.19.7/node-v64-linux-x64.tar.gz
[libxmljs] Success: “/home/samu/node_modules/autocosts/node_modules/libxmljs/build/Release/xmljs.node” is installed via remote
[email protected] install /home/samu/node_modules/autocosts/node_modules/phantomjs-prebuilt
node install.js
PhantomJS not found on PATH
Downloading https://github.com/Medium/phantomjs/releases/download/v2.1.1/phantomjs-2.1.1-linux-x86_64.tar.bz2
Saving to /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2
Receiving…
[========================================] 100%
Received 22866K total.
Extracting tar contents (via spawned process)
Removing /home/samu/node_modules/autocosts/node_modules/phantomjs-prebuilt/lib/phantom
Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-linux-x86_64.tar.bz2-extract-1582050181146/phantomjs-2.1.1-linux-x86_64 → /home/samu/node_modules/autocosts/node_modules/phantomjs-prebuilt/lib/phantom
Writing location.js file
Done. Phantomjs binary available at /home/samu/node_modules/autocosts/node_modules/phantomjs-prebuilt/lib/phantom/bin/phantomjs
[email protected] postinstall /home/samu/node_modules/autocosts/node_modules/core-js
node -e “try{require(‘./postinstall’)}catch(e){}”
Thank you for using core-js ( GitHub - zloirock/core-js: Standard Library ) for polyfilling JavaScript standard library!
The project needs your help! Please consider supporting of core-js on Open Collective or Patreon:
https://opencollective.com/core-js
Denis Pushkarev | creating core-js | Patreon
Also, the author of core-js ( zloirock (Denis Pushkarev) · GitHub ) is looking for a good job -)
[email protected] postinstall /home/samu/node_modules/autocosts
node build.js -cm -r prod && node bin/index.js --print --pdf -r prod
Release: ‘prod’
Making a clean copy from src/ to bin/
Files from src/ to bin/ copied successfully
Copying npm packages files to bin/
Copied: [jquery, jquery-color, jquery-sidebar, pdfmake, chart.js, smart-app-banner]
Concatenating CSS files
Merged file mergedInit.css from: style.css, responsive.css and fonts.css.
Merged file mergedDeferred.css from: colors.css, results.css and smart-app-banner.css.
Minify js, html/hbs, css and json files
Running script build/minifyFiles.js
[================================================================================] 100%
All files minified successfully
Run node bin/index.js to start application with default options
or node bin/index.js -h for more information
Release: ‘prod’
Running script at /home/samu/node_modules/autocosts/bin
Listening on port 3028
To stop server press CTRL+C
** The Car Costs Calculator **
** can be now accessed on http://localhost:3028 **