While using the Pacote package, which uses this dependency, I am getting the following error from lib/parse.js:
TypeError: Cannot convert a Symbol value to a string
at Unpack.<anonymous> (zone.js/dist/zone-node.js:1688:52)
at new Parser (/gulp-custom-plugin/node_modules/custom-module/node_modules/tar/lib/parse.js:70:12)
at new <anonymous> (/gulp-custom-plugin/node_modules/custom-module/node_modules/tar/lib/warn-mixin.js:2:26)
at new Unpack (/gulp-custom-plugin/node_modules/custom-module/node_modules/tar/lib/unpack.js:52:5)
at extract (/gulp-custom-plugin/node_modules/custom-module/node_modules/tar/lib/extract.js:111:10)
at Object.module.exports (/gulp-custom-plugin/node_modules/custom-module/node_modules/tar/lib/extract.js:38:7)
at extractStream (/gulp-custom-plugin/node_modules/custom-module/node_modules/pacote/lib/extract-stream.js:39:1
The error seems to stem from this line here:
this.on(DONE, opt.ondone)
Interestingly, if I go into the tar/lib/parse.js module and manually replace the Symbol DONE with a string equivalent, onDone, everything works as expected. I'm not sure where exactly the Symbol is being coerced, however.
While using the Pacote package, which uses this dependency, I am getting the following error from
lib/parse.js:The error seems to stem from this line here:
Interestingly, if I go into the
tar/lib/parse.jsmodule and manually replace the SymbolDONEwith a string equivalent,onDone, everything works as expected. I'm not sure where exactly the Symbol is being coerced, however.