derpoho / grunt-raygun-sourcemaps

Grunt plugin to upload multiple sourcemap files to Raygun.io
MIT License
1 stars 1 forks source link

sourcemap file upload failed #2

Open kundaiAtPropertyMe opened 7 years ago

kundaiAtPropertyMe commented 7 years ago

After run raygun task, I get following error: (node:58203) DeprecationWarning: fs.read's legacy String interface is deprecated. Use the Buffer API as mentioned in the documentation instead.

Upload failed of ".....map"

is it my sourcemap file issue?

after update node.js to version 8

it returns error message "Fatal error: Second argument needs to be a buffer"

kundaiAtPropertyMe commented 7 years ago

The issue is caused by restler is too old to match latest node.js (version 8)

the restler is important dependency of raygun-sourcemaps to upload the source map file to raygun server.

looks like both restler and grunt-raygun-sourcemaps stop update now, I just fork the project and create new npm package which fix the upload issue

if anyone want to use it, can run following npm package https://www.npmjs.com/package/pm-grunt-raygun-sourcemaps

or download from the folk project https://github.com/kundaiatpropertyme/grunt-raygun-sourcemaps