{"id":27008,"library":"galaxy-framework","title":"Galaxy Framework","description":"A utility framework with Rollup bundling and TypeScript support. Current stable version: 4.0.32. Frequent releases. Note: No README data available. Includes peer dependency on antd ^3.26.16, which may cause compatibility issues with newer versions.","status":"active","version":"4.0.32","language":"javascript","source_language":"en","source_url":null,"tags":["javascript","typescript"],"install":[{"cmd":"npm install galaxy-framework","lang":"bash","label":"npm"},{"cmd":"yarn add galaxy-framework","lang":"bash","label":"yarn"},{"cmd":"pnpm add galaxy-framework","lang":"bash","label":"pnpm"}],"dependencies":[{"reason":"Required peer dependency for UI components","package":"antd","optional":false}],"imports":[{"note":"ESM-only; CommonJS require will fail. Use import.","wrong":"const Galaxy = require('galaxy-framework');","symbol":"Galaxy","correct":"import { Galaxy } from 'galaxy-framework'"},{"note":"Default export available; CommonJS require leads to undefined.","wrong":"const galaxy = require('galaxy-framework').default;","symbol":"default","correct":"import galaxy from 'galaxy-framework'"},{"note":"TypeScript types shipped; use type import for better bundling.","symbol":"types","correct":"import type { GalaxyConfig } from 'galaxy-framework'"}],"quickstart":{"code":"import { Galaxy } from 'galaxy-framework';\nconst config = { antd: { theme: 'dark' } };\nconst app = new Galaxy(config);\napp.run();","lang":"typescript","description":"Initialize a Galaxy application with antd theme configuration."},"warnings":[{"fix":"Replace `import galaxy from 'galaxy-framework'` with `import { Galaxy } from 'galaxy-framework'`.","message":"In version 4.x, the default export was removed. Use named exports.","severity":"breaking","affected_versions":">=4.0.0"},{"fix":"Replace `app.init()` with `app.run()`.","message":"The `init()` method is deprecated. Use `run()` instead.","severity":"deprecated","affected_versions":">=3.0.0"},{"fix":"Install antd@3.26.16: `npm install antd@3.26.16`","message":"Requires antd ^3.26.16. Using antd v4+ will cause runtime errors.","severity":"gotcha","affected_versions":"*"}],"env_vars":null,"last_verified":"2026-05-01T00:00:00.000Z","next_check":"2026-07-30T00:00:00.000Z","problems":[{"fix":"Use named import: `import { Galaxy } from 'galaxy-framework'`","cause":"Using default import after version 4.0.0 where default export was removed.","error":"TypeError: galaxy is not a function"},{"fix":"Run: `npm install antd@3.26.16`","cause":"Missing peer dependency antd.","error":"Module not found: Can't resolve 'antd'"}],"ecosystem":"npm","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}