{"id":17315278,"url":"https://github.com/frando/remix-prod-fail-repro","last_synced_at":"2025-06-15T17:08:45.465Z","repository":{"id":136981110,"uuid":"601218441","full_name":"Frando/remix-prod-fail-repro","owner":"Frando","description":null,"archived":false,"fork":false,"pushed_at":"2023-02-13T16:11:29.000Z","size":161,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-27T01:32:49.550Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Frando.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":"2023-02-13T16:00:33.000Z","updated_at":"2023-02-13T16:00:54.000Z","dependencies_parsed_at":"2023-03-22T12:17:00.775Z","dependency_job_id":null,"html_url":"https://github.com/Frando/remix-prod-fail-repro","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Frando/remix-prod-fail-repro","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frando%2Fremix-prod-fail-repro","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frando%2Fremix-prod-fail-repro/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frando%2Fremix-prod-fail-repro/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frando%2Fremix-prod-fail-repro/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Frando","download_url":"https://codeload.github.com/Frando/remix-prod-fail-repro/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Frando%2Fremix-prod-fail-repro/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260016014,"owners_count":22946319,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-15T13:07:23.824Z","updated_at":"2025-06-15T17:08:45.459Z","avatar_url":"https://github.com/Frando.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# repro for [remix #5477](https://github.com/remix-run/remix/issues/5447)\n\n### 1) install, build, start (in development mode)\n```\nyarn \u0026\u0026 yarn build \u0026\u0026 yarn start\n```\nthis works!\n\n```\nyarn install v1.22.19\n[1/5] Validating package.json...\n[2/5] Resolving packages...\n[3/5] Fetching packages...\n[4/5] Linking dependencies...\n[5/5] Building fresh packages...\nsuccess Saved lockfile.\nDone in 3.17s.\nyarn run v1.22.19\n$ remix build\nBuilding Remix app in production mode...\nBuilt in 452ms\nDone in 1.45s.\nyarn run v1.22.19\n$ remix-serve build\nRemix App Server started at http://localhost:3000 (http://10.23.2.100:3000)\n```\neverything ok!\n\n### 2) install in production mode, start\n```\nyarn install --production --frozen-lockfile \u0026\u0026 yarn start\n```\nthis fails!\n\n```\nyarn install v1.22.19\n[1/5] Validating package.json...\n[2/5] Resolving packages...\n[3/5] Fetching packages...\n[4/5] Linking dependencies...\n[5/5] Building fresh packages...\nDone in 1.87s.\nyarn run v1.22.19\n$ remix-serve build\nError: Cannot find module 'is-plain-obj'\nRequire stack:\n- /tmp/foo/build/index.js\n- /tmp/foo/node_modules/@remix-run/serve/dist/cli.js\n    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:985:15)\n    at Function.Module._load (node:internal/modules/cjs/loader:833:27)\n    at Module.require (node:internal/modules/cjs/loader:1057:19)\n    at require (node:internal/modules/cjs/helpers:103:18)\n    at Object.\u003canonymous\u003e (/tmp/foo/build/index.js:270:136)\n    at Module._compile (node:internal/modules/cjs/loader:1155:14)\n    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1209:10)\n    at Module.load (node:internal/modules/cjs/loader:1033:32)\n    at Function.Module._load (node:internal/modules/cjs/loader:868:12)\n    at Module.require (node:internal/modules/cjs/loader:1057:19)\nerror Command failed with exit code 1.\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\n```\n\n### 3) like 2 but with `@remix-run/dev` in production `dependencies`\n```\nyarn add @remix-run/dev --production \u0026\u0026 yarn start\n```\n```\nyarn add v1.22.19\n[1/5] Validating package.json...\n[2/5] Resolving packages...\n[3/5] Fetching packages...\n[4/5] Linking dependencies...\n[5/5] Building fresh packages...\nwarning \"@remix-run/dev\" is already in \"devDependencies\". Please remove existing entry first before adding it to \"dependencies\".\nsuccess Saved 1 new dependency.\ninfo Direct dependencies\n└─ @remix-run/dev@1.12.0\ninfo All dependencies\n└─ @remix-run/dev@1.12.0\nDone in 5.26s.\nyarn run v1.22.19\n$ remix-serve build\nRemix App Server started at http://localhost:3000 (http://10.23.2.100:3000)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrando%2Fremix-prod-fail-repro","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffrando%2Fremix-prod-fail-repro","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffrando%2Fremix-prod-fail-repro/lists"}