Open sjvanrossum opened 10 years ago
The dependency bufferjs/concat was removed in version 2.0.0. The following changes were necessary to resolve the issue.
Line 12: require('bufferjs/concat'); (original) //require('bufferjs/concat'); (changed)
require('bufferjs/concat');
//require('bufferjs/concat');
Line 154: buffer = Buffer.concat(buffer, chunk); (original) buffer = Buffer.concat([buffer, chunk]); (changed)
buffer = Buffer.concat(buffer, chunk);
buffer = Buffer.concat([buffer, chunk]);
Thanks, you fixed my problem.
Alternatively, update node_modules/filternet/package.json - to change the dependency and rerun npm install.
"dependencies": { "bufferjs": "1.0.0" },
The dependency bufferjs/concat was removed in version 2.0.0. The following changes were necessary to resolve the issue.
Line 12:
require('bufferjs/concat');
(original)//require('bufferjs/concat');
(changed)Line 154:
buffer = Buffer.concat(buffer, chunk);
(original)buffer = Buffer.concat([buffer, chunk]);
(changed)