Open antho227 opened 8 years ago
Hello,
I get an issue installing html-pdf :
html-pdf
*****@*****:/var/www/myapp.3000$ sudo npm install html-pdf --save [sudo] password for ****: npm WARN install Couldn't install optional dependency: Unsupported npm ERR! gentlyRm /var/www/myapp.3000/node_modules/grunt-docco2/node_modules/.bin/docco is outside /var/www/myapp.3000/node_modules/grunt-docco2/node_modules/docco and not a link npm WARN install:docco@0.6.2 Refusing to delete: /var/www/myapp.3000/node_modules/grunt-docco2/node_modules/.bin/docco not in /var/www/myapp.3000/node_modules/grunt-docco2/node_modules/docco npm ERR! gentlyRm /var/www/myapp.3000/node_modules/grunt-contrib-watch/node_modules/tiny-lr/node_modules/noptify/node_modules/.bin/nopt is outside /var/www/myapp.3000/node_modules/grunt-contrib-watch/node_modules/tiny-lr/node_modules/noptify/node_modules/nopt and not a link nopt@2.0.0 node_modules/grunt-contrib-watch/node_modules/tiny-lr/node_modules/noptify/node_modules/nopt -> node_modules/grunt-contrib-watch/node_modules/nopt - docco@0.6.2 node_modules/grunt-docco2/node_modules/docco npm ERR! Linux 3.16.0-50-generic npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "install" "html-pdf" "--save" npm ERR! node v4.2.1 npm ERR! npm v3.3.8 npm ERR! path /var/www/myapp.3000/node_modules/grunt-contrib- watch/node_modules/tiny-lr/node_modules/noptify/node_modules/.bin/nopt npm ERR! code EEXIST npm ERR! Refusing to delete: /var/www/myapp.3000/node_modules/grunt-contrib-watch/node_modules/tiny-lr/node_modules/noptify/node_modules/.bin/nopt not in /var/www/myapp.3000/node_modules/grunt-contrib-watch/node_modules/tiny-lr/node_modules/noptify/node_modules/nopt File exists: /var/www/myapp.3000/node_modules/grunt-contrib-watch/node_modules/tiny-lr/node_modules/noptify/node_modules/.bin/nopt Move it away, and try again.
Strange errors. I think your npm setup is/was broken Looks like some permission problems.
Hello,
I get an issue installing
html-pdf
: