{"id":15890599,"url":"https://github.com/dimfeld/vite-ssr-eventemitter3","last_synced_at":"2026-02-10T23:31:21.434Z","repository":{"id":80575825,"uuid":"423020026","full_name":"dimfeld/vite-ssr-eventemitter3","owner":"dimfeld","description":"Reproduction of Vite problems including eventemitter3 as a transitive dependency","archived":false,"fork":false,"pushed_at":"2021-10-31T00:47:30.000Z","size":9,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-23T03:44:06.107Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dimfeld.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-10-31T00:33:32.000Z","updated_at":"2021-10-31T00:47:33.000Z","dependencies_parsed_at":null,"dependency_job_id":"978eb9c1-5d6a-49f7-a611-c87dd117a9ef","html_url":"https://github.com/dimfeld/vite-ssr-eventemitter3","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/dimfeld/vite-ssr-eventemitter3","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimfeld%2Fvite-ssr-eventemitter3","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimfeld%2Fvite-ssr-eventemitter3/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimfeld%2Fvite-ssr-eventemitter3/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimfeld%2Fvite-ssr-eventemitter3/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dimfeld","download_url":"https://codeload.github.com/dimfeld/vite-ssr-eventemitter3/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dimfeld%2Fvite-ssr-eventemitter3/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29321332,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-10T20:44:44.282Z","status":"ssl_error","status_checked_at":"2026-02-10T20:44:43.393Z","response_time":65,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-06T07:07:00.154Z","updated_at":"2026-02-10T23:31:21.408Z","avatar_url":"https://github.com/dimfeld.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vite SSR eventemitter3 Transitive Dependency Reproduction\n\nTo run\n\n1. pnpm i\n2. pnpm dev\n3. Open the browser\n\nNote that you can reproduce this with `yarn` as well if you prefer.\n\nIt appears that when included as a transitive dependency `eventemitter3` is not prebundled, and since it's a CommonJS package this causes problems. In the reproduction repository case it's being included through the `@solana/wallet-adapter-base` package.\n\nUsing yarn we can add eventemitter3 to optimizeDeps.include, but with pnpm it's nested in some other directories, so that doesn't work and I get a \"Failed to resolve force included dependency\" error. I also tried \"@solana/wallet-adapter-base \u003e eventemitter3\" but that didn't seem to do anything. \n\nThe eventemitter3 package does some unusual stuff at the end when it exposes the module:\n\n```\nif ('undefined' !== typeof module) {\n  module.exports = EventEmitter;\n}\n```\n\nAnd then when it actually runs, since it hasn't been converted to ESM `module` is undefined and it can't do anything.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimfeld%2Fvite-ssr-eventemitter3","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdimfeld%2Fvite-ssr-eventemitter3","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdimfeld%2Fvite-ssr-eventemitter3/lists"}