A media packaging and development framework for VOD and Live DASH and HLS applications, supporting Common Encryption for Widevine and other DRM Systems.
(1) Find a Mac computer running Apple Silicon chips.
(2) On this Mac create a Node.js project with index.js file, install the npm package shaka-packager, then try to call installed module in that index.js file: require('shaka-packager').
What is the expected result?
Macs on M chips have Rosetta 2 technology, which makes it possible to seamlessly run applications with x64 architecture. I would like to be able to run the executable on Apple Silicon: either allow the mac x64 build to run, or add a mac arm64 variant to the builds.
What happens instead?
An error occurs when I call a module from Node.js script.
/Users/user/project/node_modules/shaka-packager/index.js:28
throw new Error(
^
Error: Architecture not supported: darwin/arm64
at Object.<anonymous> (/Users/user/project/node_modules/shaka-packager/index.js:28:9)
System info
Operating System: macOS Sonoma 14.3.1 (23D60) Shaka Packager Version: v3.0.3
Issue and steps to reproduce the problem
(1) Find a Mac computer running Apple Silicon chips. (2) On this Mac create a Node.js project with
index.js
file, install the npm packageshaka-packager
, then try to call installed module in thatindex.js
file:require('shaka-packager')
.What is the expected result? Macs on M chips have Rosetta 2 technology, which makes it possible to seamlessly run applications with x64 architecture. I would like to be able to run the executable on Apple Silicon: either allow the mac x64 build to run, or add a mac arm64 variant to the builds.
What happens instead? An error occurs when I call a module from Node.js script.