electron-icon-generator icon indicating copy to clipboard operation
electron-icon-generator copied to clipboard

Does not work on Mac.

Open countrdd opened this issue 7 years ago • 6 comments

It is not creating the directory, I manually created it but your install process deletes it.

PhantomJS not found on PATH Download already available at /tmp/phantomjs/phantomjs-2.1.1-macosx.zip Verified checksum of previously downloaded file Extracting zip contents Removing /usr/local/lib/node_modules/electron-icon-generator/node_modules/phantomjs-prebuilt/lib/phantom Copying extracted folder /tmp/phantomjs/phantomjs-2.1.1-macosx.zip-extract-1515928191620/phantomjs-2.1.1-macosx -> /usr/local/lib/node_modules/electron-icon-generator/node_modules/phantomjs-prebuilt/lib/phantom Phantom installation failed { Error: EACCES: permission denied, link '/tmp/phantomjs/phantomjs-2.1.1-macosx.zip-extract-1515928191620/phantomjs-2.1.1-macosx' -> '/usr/local/lib/node_modules/electron-icon-generator/node_modules/phantomjs-prebuilt/lib/phantom' errno: -13, code: 'EACCES', syscall: 'link', path: '/tmp/phantomjs/phantomjs-2.1.1-macosx.zip-extract-1515928191620/phantomjs-2.1.1-macosx', dest: '/usr/local/lib/node_modules/electron-icon-generator/node_modules/phantomjs-prebuilt/lib/phantom' } Error: EACCES: permission denied, link '/tmp/phantomjs/phantomjs-2.1.1-macosx.zip-extract-1515928191620/phantomjs-2.1.1-macosx' -> '/usr/local/lib/node_modules/electron-icon-generator/node_modules/phantomjs-prebuilt/lib/phantom' npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! [email protected] install: node install.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the [email protected] install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /Users/dustiancountryman/.npm/_logs/2018-01-14T11_09_52_368Z-debug.log

countrdd avatar Jan 14 '18 11:01 countrdd

@countrdd Try to run it with sudo. It looks like you have permission problem here.

manojsinghnegiwd avatar Jan 14 '18 11:01 manojsinghnegiwd

First thing I tried...

countrdd avatar Jan 14 '18 11:01 countrdd

@countrdd Give me some time. I will look into the issue.

manojsinghnegiwd avatar Jan 14 '18 11:01 manojsinghnegiwd

I also have the same problem.

tmdh avatar Feb 19 '18 13:02 tmdh

Same running as root not working

cpass78 avatar May 10 '18 17:05 cpass78

Also getting this issue. If you clone and repo and run a npm install locally (call node index.js) it will work.

peteringram0 avatar Dec 19 '18 12:12 peteringram0