2.5.0 TypeError: this is not a typed array
See original GitHub issueWe 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:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
yazl version 2.5.1 is now published. This should resolve all the compatibility issues.
Thank you all for your patience!
I’ve just gotten travis set up to test yazl against old versions of node. I should be able to fix this tonight.