Skip to content

Instantly share code, notes, and snippets.

@wattengard
Created November 19, 2013 08:22
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wattengard/7542052 to your computer and use it in GitHub Desktop.
Save wattengard/7542052 to your computer and use it in GitHub Desktop.
Phantomjs hard fail
Renaming extracted folder \tmp\phantomjs\phantomjs-1.9.2-windows.zip-extract-1384849047801\phantomjs-1.9.2-windows -> d:\src\highcharts_senterforledelse\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\lib\phantom
Phantom installation failed { [Error: ENOTEMPTY, directory not empty 'd:\tmp\phantomjs\phantomjs-1.9.2-windows.zip-extract-1384849047801\phantomjs-1.9.2-windows']
errno: 53,
code: 'ENOTEMPTY',
path: 'd:\\tmp\\phantomjs\\phantomjs-1.9.2-windows.zip-extract-1384849047801\\phantomjs-1.9.2-windows', syscall: 'rmdir' } Error: ENOTEMPTY, directory not empty 'd:\tmp\phantomjs\phantomjs-1.9.2-windows.zip-extract-1384849047801\phantomjs-1.9.2-windows'
at Object.fs.rmdirSync (fs.js:456:18)
at rimrafSync (d:\src\highcharts_senterforledelse\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\node_modules\rimraf\rimraf.js:160:6)
at d:\src\highcharts_senterforledelse\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\node_modules\rimraf\rimraf.js:158:5
at Array.forEach (native)
at rimrafSync (d:\src\highcharts_senterforledelse\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\node_modules\rimraf\rimraf.js:157:21)
at Promise._successFn (d:\src\highcharts_senterforledelse\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\install.js:291:12)
at Promise._withInput (d:\src\highcharts_senterforledelse\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\node_modules\kew\kew.js:204:25)
at Promise.resolve (d:\src\highcharts_senterforledelse\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\node_modules\kew\kew.js:92:25)
at resolver (d:\src\highcharts_senterforledelse\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\node_modules\kew\kew.js:264:17)
at cb (d:\src\highcharts_senterforledelse\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\node_modules\ncp\lib\ncp.js:217:38)
npm ERR! error rolling back Error: ENOTEMPTY, rmdir 'd:\src\highcharts_senterforledelse\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\lib\phantom'
npm ERR! error rolling back phantomjs@1.9.2-2 { [Error: ENOTEMPTY, rmdir 'd:\src\highcharts_senterforledelse\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\lib\phantom']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path: 'd:\\src\\highcharts_senterforledelse\\node_modules\\grunt-mocha\\node_modules\\grunt-lib-phantomjs\\node_modules\\phantomjs\\lib\\phantom' }
npm ERR! error rolling back Error: ENOTEMPTY, rmdir 'd:\src\highcharts_senterforledelse\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\lib\phantom'
npm ERR! error rolling back grunt-lib-phantomjs@0.3.1 { [Error: ENOTEMPTY, rmdir 'd:\src\highcharts_senterforledelse\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\lib\phantom']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path: 'd:\\src\\highcharts_senterforledelse\\node_modules\\grunt-mocha\\node_modules\\grunt-lib-phantomjs\\node_modules\\phantomjs\\lib\\phantom' }
npm ERR! error rolling back Error: ENOTEMPTY, rmdir 'd:\src\highcharts_senterforledelse\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\lib\phantom'
npm ERR! error rolling back grunt-mocha@0.3.4 { [Error: ENOTEMPTY, rmdir 'd:\src\highcharts_senterforledelse\node_modules\grunt-mocha\node_modules\grunt-lib-phantomjs\node_modules\phantomjs\lib\phantom']
npm ERR! error rolling back errno: 53,
npm ERR! error rolling back code: 'ENOTEMPTY',
npm ERR! error rolling back path: 'd:\\src\\highcharts_senterforledelse\\node_modules\\grunt-mocha\\node_modules\\grunt-lib-phantomjs\\node_modules\\phantomjs\\lib\\phantom' }
npm ERR! phantomjs@1.9.2-2 install: `node install.js`
npm ERR! `cmd "/c" "node install.js"` failed with 1
npm ERR!
npm ERR! Failed at the phantomjs@1.9.2-2 install script.
npm ERR! This is most likely a problem with the phantomjs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node install.js
npm ERR! You can get their info via:
npm ERR! npm owner ls phantomjs
npm ERR! There is likely additional logging output above.
npm ERR! System Windows_NT 6.2.9200
npm ERR! command "C:\\Program Files\\nodejs\\\\node.exe" "C:\\Program Files\\nod
ejs\\node_modules\\npm\\bin\\npm-cli.js" "install"
npm ERR! cwd d:\src\highcharts_senterforledelse
npm ERR! node -v v0.8.21
npm ERR! npm -v 1.2.11
npm ERR! code ELIFECYCLE
npm ERR!
npm ERR! Additional logging details can be found in:
npm ERR! d:\src\highcharts_senterforledelse\npm-debug.log
npm ERR! not ok code 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment