Registry /
devops / rollup-plugin-local-import-linux-x64-gnu
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslnode 18–223 runs
build_error
glibcnode 18–223 runs
build_error
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
default export
✓ import localImport from 'rollup-plugin-local-import'
✗ import localImport from 'rollup-plugin-local-import-linux-x64-gnu'
Never import this binary package directly. Always import 'rollup-plugin-local-import' which selects the correct platform binary.
rollup config usage
✓ import localImport from 'rollup-plugin-local-import'; export default { plugins: [localImport()] }
✗ const { localImport } = require('rollup-plugin-local-import-linux-x64-gnu')
The plugin is exported as a default function. CommonJS require is supported via 'rollup-plugin-local-import', not the binary package.
type import (TypeScript)
✓ import type { RollupPluginLocalImportOptions } from 'rollup-plugin-local-import'
✗ import type { RollupPluginLocalImportOptions } from 'rollup-plugin-local-import-linux-x64-gnu'
Type exports are only available from the parent package, not the platform binary. Use the parent package for both types and runtime.
Demonstrates how to use the parent rollup-plugin-local-import package, not the binary. Always use the parent package.
// This package should NOT be used directly. Use the parent package.
// Instead, in your rollup.config.js:
import localImport from 'rollup-plugin-local-import';
export default {
input: 'src/index.js',
plugins: [
localImport({
// options here
})
],
output: {
file: 'dist/bundle.js',
format: 'cjs'
}
};
Errors
Common errors & fixes
Error: Cannot find module 'rollup-plugin-local-import-linux-x64-gnu'
Attempted to import the binary package directly instead of the parent package.
fixInstall and import 'rollup-plugin-local-import' instead.
Error: The module 'rollup-plugin-local-import-linux-x64-gnu' is not a valid native addon
Trying to require a binary-only package in a non-compatible environment (e.g., missing glibc or wrong architecture).
fixEnsure you are on x86_64 GNU/Linux with glibc, and use the parent package 'rollup-plugin-local-import' which handles platform detection.
Audit
Dependencies
No dependency data recorded yet.