question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

2.5.0 TypeError: this is not a typed array

See original GitHub issue

We use gulp-zip which uses yazl and a few days ago our build broke because of changes in 2.5.0 Here’s the error

node_modules/gulp-zip/node_modules/yazl/index.js:111
var eocdrSignatureBuffer = Buffer.from([0x50, 0x4b, 0x05, 0x06]);
                                  ^
TypeError: this is not a typed array.
  at Function.from (na  at Object.<anonymous> (node_modules/gulp-zip/node_modules/yazl/index.js:111:35)

I forked gulp-zip and hardcoded yazl to use version 2.4.3 till this is fixed. Hopefully will be fixed soon.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
thejoshwolfecommented, Dec 1, 2018

yazl version 2.5.1 is now published. This should resolve all the compatibility issues.

Thank you all for your patience!

0reactions
thejoshwolfecommented, Nov 30, 2018

I’ve just gotten travis set up to test yazl against old versions of node. I should be able to fix this tonight.

Read more comments on GitHub >

github_iconTop Results From Across the Web

node.js - how to resolve TypeError : this is not a typed array
Short Answer : Either increase the node version above 4.5 or use "kafka-node": "1.6.2" or lesser. Long Answer with node 4.5 and above, ......
Read more >
TypeError: this is not a typed array. · Issue #1019 - GitHub
This error is occurring on many scripts since the last update from postCSS. Even with nodejs and npm on the last version.
Read more >
TypeError: invalid arguments
Typed arrays, for example a Uint8Array , can't be constructed from a string. In fact, strings can't be in typed arrays at all....
Read more >
Typed Arrays and ArrayBuffers / Jules Blom - Observable
Typed arrays are array-like objects that provide a mechanism for reading and writing raw binary data in memory ... TypeError: uint8.splice is not...
Read more >
Class: Array (Ruby 2.5.0)
In the first form, if no arguments are sent, the new array will be empty. ... nil a.dig(0, 0, 0) #=> TypeError: Integer...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found