Error Code Portal
Node.jsNode.jsError code

ERR_NAPI_INVALID_TYPEDARRAY_ALIGNMENT

napi invalid typedarray alignment

Code ERR_NAPI_INVALID_TYPEDARRAY_ALIGNMENT · An issue reported by Node.js.

While calling napi_create_typedarray(), the provided offset was not a multiple of the element size.

Troubleshooting and diagnostic links

First check that the document's product, version, and environment match your situation.