gulp-spritesmith icon indicating copy to clipboard operation
gulp-spritesmith copied to clipboard

I cannot build nothing because DeprecationWarning: 'GLOBAL' is deprecated, use 'global'

Open francisrod01 opened this issue 7 years ago • 0 comments

I reported the same on nodejs repository: https://github.com/nodejs/node/issues/13152

$ gulp sprite
[10:52:46] Using gulpfile ~/projects/website/gulpfile.js
(node:6778) DeprecationWarning: 'GLOBAL' is deprecated, use 'global'
[10:52:46] Starting 'sprite'...
[10:52:46] Finished 'sprite' after 25 ms
/home/paneladm/projects/website/node_modules/temporary/lib/detector.js:23
  var last = Array.prototype.pop.apply(path);
                                 ^

TypeError: Cannot delete property '4' of [object String]
    at String.pop (<anonymous>)
    at normalize (/home/paneladm/projects/website/node_modules/temporary/lib/detector.js:23:34)
    at Object.detector.tmp (/home/paneladm/projects/website/node_modules/temporary/lib/detector.js:43:10)
    at Object.generator.build (/home/paneladm/projects/website/node_modules/temporary/lib/generator.js:45:27)
    at File.Base.init (/home/paneladm/projects/website/node_modules/temporary/lib/base.js:31:28)
    at new File (/home/paneladm/projects/website/node_modules/temporary/lib/file.js:23:8)
    at Object.createCanvas (/home/paneladm/projects/website/node_modules/gmsmith/lib/gmsmith.js:96:21)
    at generateCanvas (/home/paneladm/projects/website/node_modules/spritesmith/src/smith.js:124:16)
    at fn (/home/paneladm/projects/website/node_modules/async/lib/async.js:582:34)
    at Immediate.<anonymous> (/home/paneladm/projects/website/node_modules/async/lib/async.js:498:34)

francisrod01 avatar May 22 '17 13:05 francisrod01