-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The connection was reset
If I host the package myself, it validates fine. I suspect this has something to do with GitHub's headers.
Error log:
$ docker logs openreferral-validator
> openreferral-validator@1.0.1 start /app
> node src/app.js
info: Server launched [0.0.0.0:8004]
/app/node_modules/csv-parse/lib/index.js:369
})(this))) || (l - i <= this.options.delimiter.length && this.options.delimiter.substr(0, l - i) === remainingBuffer) || (l - i <= this.options.escape.length && this.options.escape.substr(0, l - i) === remainingBuffer)) {
^
TypeError: Cannot read property 'length' of null
at Parser.__write (/app/node_modules/csv-parse/lib/index.js:369:54)
at Parser._transform (/app/node_modules/csv-parse/lib/index.js:207:14)
at Parser.Transform._read (_stream_transform.js:186:10)
at Parser.Transform._write (_stream_transform.js:174:12)
at doWrite (_stream_writable.js:396:12)
at writeOrBuffer (_stream_writable.js:382:5)
at Parser.Writable.write (_stream_writable.js:290:11)
at IncomingMessage.ondata (_stream_readable.js:639:20)
at emitOne (events.js:121:20)
at IncomingMessage.emit (events.js:211:7)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! openreferral-validator@1.0.1 start: `node src/app.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the openreferral-validator@1.0.1 start script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2020-07-15T15_39_36_668Z-debug.log
Metadata
Metadata
Assignees
Labels
No labels