{"record":{"id":"8681df5ca02bf02d","repo":"moeru-ai/airi","slug":"the-entrypoint-you-imported-for-name-doesn-t-ha-8681df","errorCode":null,"errorMessage":"The entrypoint you imported for ${name} doesn't have any exports. Try importing ${name}/pages instead.","messagePattern":"The entrypoint you imported for (.+?) doesn't have any exports\\. Try importing (.+?)/pages instead\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"info","filePath":"packages/stage-pages/src/index.ts","lineNumber":3,"sourceCode":"import { name } from '../package.json'\n\nconsole.warn(`The entrypoint you imported for ${name} doesn't have any exports. Try importing ${name}/pages instead.`)\n","sourceCodeStart":1,"sourceCodeEnd":4,"githubUrl":"https://github.com/moeru-ai/airi/blob/677329427f32468c74b17f3ec47eeca4e05bec65/packages/stage-pages/src/index.ts#L1-L4","documentation":"Identical guard pattern in @proj-airi/stage-pages: the root entry has no exports and only prints this warning. The actual shared page bases are exported from the /pages subpath; importing the root gives you nothing.","triggerScenarios":"Any `import ... from '@proj-airi/stage-pages'` root specifier instead of '@proj-airi/stage-pages/pages'.","commonSituations":"Auto-import choosing the package root; copy-pasted imports from before the entrypoint split.","solutions":["Change the specifier to '@proj-airi/stage-pages/pages'","Search the monorepo for remaining root imports and correct them","Restrict the root specifier with import/no-restricted-imports"],"exampleFix":"// before\nimport { ChatPageBase } from '@proj-airi/stage-pages'\n\n// after\nimport { ChatPageBase } from '@proj-airi/stage-pages/pages'","handlingStrategy":"validation","validationCode":"'import/no-restricted-imports': ['error', {\n  paths: [{ name: '@proj-airi/stage-pages', message: 'import @proj-airi/stage-pages/pages instead' }],\n}]","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Deep-import stage-pages/pages always","Grep for bare package imports when the warning appears","Enforce with lint so the wrong specifier never merges"],"tags":["import","package-entrypoint","stage-pages"],"backgroundTag":"wrong-package-entrypoint","analyzedSha":"677329427f32468c74b17f3ec47eeca4e05bec65","analyzedAt":"2026-08-18T17:29:58.153Z","contentChangedAt":"2026-08-18T17:29:58.153Z","schemaVersion":2},"datasetVersion":"2026-09-14T00:17:10.932Z"}