MCPcopy
hub / github.com/rollup/rollup / throwUnsupportedError

Function throwUnsupportedError

native.js:145–161  ·  view source on GitHub ↗
(isMusl)

Source from the content-addressed store, hash-verified

143}
144
145function throwUnsupportedError(isMusl) {
146 throw new Error(
147 `Your current platform "${platform}${isMusl ? ' (musl)' : ''}" and architecture "${arch}" combination is not yet supported by the native Rollup build. Please use the WASM build "@rollup/wasm-node" instead.
148
149The following platform-architecture combinations are supported:
150${Object.entries(bindingsByPlatformAndArch)
151 .flatMap(([platformName, architectures]) =>
152 Object.entries(architectures).flatMap(([architectureName, { musl }]) => {
153 const name = `${platformName}-${architectureName}`;
154 return musl ? [name, `${name} (musl)`] : [name];
155 })
156 )
157 .join('\n')}
158
159If this is important to you, please consider supporting Rollup to make a native build for your platform and architecture available.`
160 );
161}
162
163module.exports.parse = parse;
164module.exports.parseAsync = parseAsync;

Callers 1

getPackageBaseFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…