{"id":29930360,"url":"https://github.com/filipoliko/npm-install-overrides-error","last_synced_at":"2025-10-06T04:08:18.150Z","repository":{"id":307138482,"uuid":"1028404515","full_name":"Filipoliko/npm-install-overrides-error","owner":"Filipoliko","description":null,"archived":false,"fork":false,"pushed_at":"2025-07-30T05:34:26.000Z","size":3,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-08-29T06:17:58.785Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/Filipoliko.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,"zenodo":null}},"created_at":"2025-07-29T13:33:37.000Z","updated_at":"2025-07-30T05:34:30.000Z","dependencies_parsed_at":"2025-07-29T18:36:31.658Z","dependency_job_id":"819b7f2f-5493-4a82-a859-86c9a9bada23","html_url":"https://github.com/Filipoliko/npm-install-overrides-error","commit_stats":null,"previous_names":["filipoliko/npm-install-overrides-error"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Filipoliko/npm-install-overrides-error","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Filipoliko%2Fnpm-install-overrides-error","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Filipoliko%2Fnpm-install-overrides-error/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Filipoliko%2Fnpm-install-overrides-error/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Filipoliko%2Fnpm-install-overrides-error/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Filipoliko","download_url":"https://codeload.github.com/Filipoliko/npm-install-overrides-error/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Filipoliko%2Fnpm-install-overrides-error/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278556306,"owners_count":26006118,"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","status":"online","status_checked_at":"2025-10-06T02:00:05.630Z","response_time":65,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":"2025-08-02T16:13:45.595Z","updated_at":"2025-10-06T04:08:18.094Z","avatar_url":"https://github.com/Filipoliko.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# npm-install-overrides-error\n\nFirst start local NPM registry with Verdaccio:\n\n```bash\nnpx --registry https://registry.npmjs.org/ verdaccio --config ./verdaccio.yaml\n```\n\nThen publish the packages to the local registry:\n\n```bash\n./publish.sh\n```\n\nThen install the packages with the following command:\n\n```bash\nnpm install\n```\n\nTry different NPM versions (NPM \u003c 11.2 works, while NPM \u003e= 11.2 does not work).\n\n## npm pack\n\nYou can also use `npm pack` to create tarballs of the packages instead of publishing them to the registry:\n\n```bash\n./pack.sh\n```\n\nChange the contents of the `package.json` file.\n\n```json\n{\n  \"name\": \"web\",\n  \"version\": \"0.0.0\",\n  \"dependencies\": {\n    \"package-a\": \"./package-a-1.0.0.tgz\",\n    \"package-b\": \"./package-b-1.0.0.tgz\",\n    \"package-c\": \"./package-c-1.0.0.tgz\"\n  },\n  \"overrides\": {\n    \"package-b\": \"./package-b-1.0.0.tgz\",\n    \"package-c\": \"./package-c-1.0.0.tgz\"\n  }\n}\n```\n\nNow you can run `npm install` again and it will fail again, but the error message is a bit less clear.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilipoliko%2Fnpm-install-overrides-error","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilipoliko%2Fnpm-install-overrides-error","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilipoliko%2Fnpm-install-overrides-error/lists"}