{"id":22117,"library":"rollup-plugin-local-import-linux-x64-gnu","title":"rollup-plugin-local-import (Linux x64 GNU binary)","description":"Platform-specific binary for the rollup-plugin-local-import package, targeting x86_64-unknown-linux-gnu. Version 1.2.0 is current and stable. This package is part of a system that provides native binaries for Node.js addons; it is automatically installed as an optional dependency and should never be imported directly. The Linux x64 GNU binary enables compilation-free usage on Linux glibc systems.","status":"active","version":"1.2.0","language":"javascript","source_language":"en","source_url":null,"tags":["javascript"],"install":[{"cmd":"npm install rollup-plugin-local-import-linux-x64-gnu","lang":"bash","label":"npm"},{"cmd":"yarn add rollup-plugin-local-import-linux-x64-gnu","lang":"bash","label":"yarn"},{"cmd":"pnpm add rollup-plugin-local-import-linux-x64-gnu","lang":"bash","label":"pnpm"}],"dependencies":[],"imports":[{"note":"Never import this binary package directly. Always import 'rollup-plugin-local-import' which selects the correct platform binary.","wrong":"import localImport from 'rollup-plugin-local-import-linux-x64-gnu'","symbol":"default export","correct":"import localImport from 'rollup-plugin-local-import'"},{"note":"The plugin is exported as a default function. CommonJS require is supported via 'rollup-plugin-local-import', not the binary package.","wrong":"const { localImport } = require('rollup-plugin-local-import-linux-x64-gnu')","symbol":"rollup config usage","correct":"import localImport from 'rollup-plugin-local-import'; export default { plugins: [localImport()] }"},{"note":"Type exports are only available from the parent package, not the platform binary. Use the parent package for both types and runtime.","wrong":"import type { RollupPluginLocalImportOptions } from 'rollup-plugin-local-import-linux-x64-gnu'","symbol":"type import (TypeScript)","correct":"import type { RollupPluginLocalImportOptions } from 'rollup-plugin-local-import'"}],"quickstart":{"code":"// This package should NOT be used directly. Use the parent package.\n// Instead, in your rollup.config.js:\nimport localImport from 'rollup-plugin-local-import';\n\nexport default {\n  input: 'src/index.js',\n  plugins: [\n    localImport({\n      // options here\n    })\n  ],\n  output: {\n    file: 'dist/bundle.js',\n    format: 'cjs'\n  }\n};","lang":"javascript","description":"Demonstrates how to use the parent rollup-plugin-local-import package, not the binary. Always use the parent package."},"warnings":[{"fix":"Always import 'rollup-plugin-local-import' instead of this binary package.","message":"This package is a platform-specific binary. Importing it directly will fail or cause unexpected behavior.","severity":"gotcha","affected_versions":">=0.0.0"},{"fix":"Use the correct platform-specific binary for your OS (listed as optional dependencies of the parent package).","message":"Package is intended only for x86_64 GNU/Linux systems. Will not work on other architectures or operating systems.","severity":"breaking","affected_versions":">=0.0.0"},{"fix":"Upgrade Node.js to version 10 or later.","message":"Node.js >=10 is required; older versions are not supported.","severity":"deprecated","affected_versions":"<1.0.0"}],"env_vars":null,"last_verified":"2026-04-27T00:00:00.000Z","next_check":"2026-07-26T00:00:00.000Z","problems":[{"fix":"Install and import 'rollup-plugin-local-import' instead.","cause":"Attempted to import the binary package directly instead of the parent package.","error":"Error: Cannot find module 'rollup-plugin-local-import-linux-x64-gnu'"},{"fix":"Ensure you are on x86_64 GNU/Linux with glibc, and use the parent package 'rollup-plugin-local-import' which handles platform detection.","cause":"Trying to require a binary-only package in a non-compatible environment (e.g., missing glibc or wrong architecture).","error":"Error: The module 'rollup-plugin-local-import-linux-x64-gnu' is not a valid native addon"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}