node-ase-utils icon indicating copy to clipboard operation
node-ase-utils copied to clipboard

Warning: Trying to access beyond buffer length Use --force to continue.

Open mLihs opened this issue 10 years ago • 1 comments

Hi i got an error -> "Warning: Trying to access beyond buffer length Use --force to continue." if i'am using the this script as grunttask.

'use strict';

var ase = require('ase-utils'); var fs = require('fs');

module.exports = function (grunt) { grunt.registerMultiTask('colorTable', 'Generate colors files for sass.', function () { grunt.log.writeln('Hello, world.'); var buffer = fs.readFileSync('./test/test.ase'); var output = ase.decode(buffer) //grunt.log(ase.decode(buffer)); })

}

mLihs avatar Nov 10 '15 12:11 mLihs

Hmm, is that the same test.ase from this repository? It shouldn't cause that particular error. Can you run grunt --stack and report back with the output?

lazd avatar Apr 29 '16 02:04 lazd