DevelopingMagic / pdfassembler

MIT License
183 stars 34 forks source link

Cannot install #3

Closed vitaly-zdanevich closed 6 years ago

vitaly-zdanevich commented 6 years ago

$ npm install pdfassembler events.js:165░░░░░░⸩ ⠸ extract:json-schema-traverse: sill extract pdfassembler@0.1.0-beta.6 throw er; // Unhandled 'error' event ^

Error [ERR_STREAM_WRITE_AFTER_END]: write after end at writeAfterEnd (_stream_writable.js:237:12) at PassThrough.Writable.write (_stream_writable.js:287:5) at PassThrough.Writable.end (_stream_writable.js:572:10) at ReadEntry.entry.on (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/extract-stream.js:19:41) at ReadEntry.emit (events.js:185:15) at ReadEntry.emit (/usr/local/lib/node_modules/npm/node_modules/tar/node_modules/minipass/index.js:296:25) at ReadEntry.[maybeEmitEnd] (/usr/local/lib/node_modules/npm/node_modules/tar/node_modules/minipass/index.js:249:12) at ReadEntry.end (/usr/local/lib/node_modules/npm/node_modules/tar/node_modules/minipass/index.js:162:27) at Unpack.[consumeBody] (/usr/local/lib/node_modules/npm/node_modules/tar/lib/parse.js:210:13) at Unpack.[consumeChunkSub] (/usr/local/lib/node_modules/npm/node_modules/tar/lib/parse.js:391:40) at Unpack.[consumeChunk] (/usr/local/lib/node_modules/npm/node_modules/tar/lib/parse.js:362:30) at Unzip.(anonymous function).on.chunk (/usr/local/lib/node_modules/npm/node_modules/tar/lib/parse.js:291:59) at Unzip.emit (events.js:180:13) at Unzip.emit (/usr/local/lib/node_modules/npm/node_modules/tar/node_modules/minipass/index.js:296:25) at Unzip.write (/usr/local/lib/node_modules/npm/node_modules/tar/node_modules/minipass/index.js:99:17) at Unzip.write (/usr/local/lib/node_modules/npm/node_modules/tar/node_modules/minizlib/index.js:284:29) Emitted 'error' event at: at writeAfterEnd (_stream_writable.js:239:10) at PassThrough.Writable.write (_stream_writable.js:287:5) [... lines matching original stack trace ...] at Unzip.write (/usr/local/lib/node_modules/npm/node_modules/tar/node_modules/minizlib/index.js:284:29) events.js:165░░░░░░⸩ ⠸ extract:ajv-keywords: sill extract pdfassembler@0.1.0-beta.6 throw er; // Unhandled 'error' event ^

Error [ERR_STREAM_WRITE_AFTER_END]: write after end at writeAfterEnd (_stream_writable.js:237:12) at PassThrough.Writable.write (_stream_writable.js:287:5) at PassThrough.Writable.end (_stream_writable.js:572:10) at ReadEntry.entry.on (/usr/local/lib/node_modules/npm/node_modules/pacote/lib/extract-stream.js:19:41) at ReadEntry.emit (events.js:185:15) at ReadEntry.emit (/usr/local/lib/node_modules/npm/node_modules/tar/node_modules/minipass/index.js:296:25) at ReadEntry.[maybeEmitEnd] (/usr/local/lib/node_modules/npm/node_modules/tar/node_modules/minipass/index.js:249:12) at ReadEntry.end (/usr/local/lib/node_modules/npm/node_modules/tar/node_modules/minipass/index.js:162:27) at Unpack.[consumeBody] (/usr/local/lib/node_modules/npm/node_modules/tar/lib/parse.js:210:13) at Unpack.[consumeChunkSub] (/usr/local/lib/node_modules/npm/node_modules/tar/lib/parse.js:391:40) at Unpack.[consumeChunk] (/usr/local/lib/node_modules/npm/node_modules/tar/lib/parse.js:362:30) at Unzip.(anonymous function).on.chunk (/usr/local/lib/node_modules/npm/node_modules/tar/lib/parse.js:291:59) at Unzip.emit (events.js:180:13) at Unzip.emit (/usr/local/lib/node_modules/npm/node_modules/tar/node_modules/minipass/index.js:296:25) at Unzip.write (/usr/local/lib/node_modules/npm/node_modules/tar/node_modules/minipass/index.js:99:17) at Unzip.write (/usr/local/lib/node_modules/npm/node_modules/tar/node_modules/minizlib/index.js:284:29) Emitted 'error' event at: at writeAfterEnd (_stream_writable.js:239:10) at PassThrough.Writable.write (_stream_writable.js:287:5) [... lines matching original stack trace ...] at Unzip.write (/usr/local/lib/node_modules/npm/node_modules/tar/node_modules/minizlib/index.js:284:29) npm WARN enoent ENOENT: no such file or directory, open '/Users/vitaly/Desktop/test/js/package.json' npm WARN pdfjs-dist@2.0.489 requires a peer of webpack@^2.0.0 || ^3.0.0 but none is installed. You must install peer dependencies yourself. npm WARN worker-loader@1.1.1 requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself. npm WARN schema-utils@0.4.5 requires a peer of webpack@^2.0.0 || ^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself. npm WARN js No description npm WARN js No repository field. npm WARN js No README data npm WARN js No license field.

npm ERR! cancel after 1 retries!

npm ERR! A complete log of this run can be found in: npm ERR! /Users/vitaly/.npm/_logs/2018-07-05T14_48_51_684Z-debug.log

dschnelldavis commented 6 years ago

Hmmm. I don't know what's causing this.

PDF Assembler has been upgraded to version 0.1.0-beta.7. Would you please try installing that version, and post your results?

If the new version doesn't work either, please tell me what OS and NPM version you're using, so I can hopefully recreate the problem and figure out what's going on.

Thanks!

vitaly-zdanevich commented 6 years ago

Installed correctly now, thank you.

dschnelldavis commented 6 years ago

Thanks for the update!

If you have additional questions or problems, let me know.