moeru-ai/airi · info
The entrypoint you imported for ${name} doesn't have any exp
Error message
The entrypoint you imported for ${name} doesn't have any exports. Try importing ${name}/pages instead. What it means
The root entrypoint of @proj-airi/stage-layouts deliberately exports nothing; importing it only executes this warning. The usable API (page/layout component registrations) lives under the /pages subpath export.
Source
Thrown at packages/stage-layouts/src/index.ts:3
import { name } from '../package.json'
console.warn(`The entrypoint you imported for ${name} doesn't have any exports. Try importing ${name}/pages instead.`)
View on GitHub (pinned to 677329427f)
Solutions
- Import from '@proj-airi/stage-layouts/pages' instead
- Grep the workspace for bare '@proj-airi/stage-layouts' imports and fix each
- Add a lint restriction on the root specifier to catch regressions
Example fix
// before
import { SettingsLayout } from '@proj-airi/stage-layouts'
// after
import { SettingsLayout } from '@proj-airi/stage-layouts/pages' Defensive patterns
Strategy: validation
Validate before calling
// lint-level validation in eslint.config.js
'import/no-restricted-imports': ['error', {
paths: [{ name: '@proj-airi/stage-layouts', message: 'import @proj-airi/stage-layouts/pages instead' }],
}] Prevention
- Deep-import stage-layouts/pages always
- Disabling auto-import for these packages avoids the root specifier
- Treat the warning text in the console as a build smell, not runtime noise
When it happens
Trigger: Any `import ... from '@proj-airi/stage-layouts'` root specifier, typically left behind by auto-import tooling or copy-paste.
Common situations: IDE auto-complete picks the bare package name; refactor from a layout where the root used to re-export pages.
Related errors
- import @proj-airi/plugin-protocol/types instead
- The entrypoint you imported for ${name} doesn't have any exp
- Widgets element not found
- The file is not an AIRI Live2D motion project.
- The motion project source is invalid.
AI-assisted analysis of moeru-ai/airi@677329427f (2026-08-18).
Data as JSON: /api/errors/aa702ae596d66f1c.
Report an issue: GitHub.