{"id":15883066,"url":"https://github.com/plmercereau/npm-vs-pnpm","last_synced_at":"2026-01-11T03:03:56.743Z","repository":{"id":106020248,"uuid":"576368353","full_name":"plmercereau/npm-vs-pnpm","owner":"plmercereau","description":null,"archived":false,"fork":false,"pushed_at":"2022-12-09T17:17:31.000Z","size":5,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-04-02T05:47:51.451Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"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/plmercereau.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":"2022-12-09T17:11:59.000Z","updated_at":"2022-12-09T17:11:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"c89c67e3-795c-45d8-b634-33c1a1543947","html_url":"https://github.com/plmercereau/npm-vs-pnpm","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/plmercereau/npm-vs-pnpm","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plmercereau%2Fnpm-vs-pnpm","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plmercereau%2Fnpm-vs-pnpm/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plmercereau%2Fnpm-vs-pnpm/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plmercereau%2Fnpm-vs-pnpm/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/plmercereau","download_url":"https://codeload.github.com/plmercereau/npm-vs-pnpm/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/plmercereau%2Fnpm-vs-pnpm/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28274283,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-11T02:08:32.518Z","status":"ssl_error","status_checked_at":"2026-01-11T02:08:32.093Z","response_time":60,"last_error":"SSL_read: 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-06T04:08:25.414Z","updated_at":"2026-01-11T03:03:56.723Z","avatar_url":"https://github.com/plmercereau.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"##\n\nBoth `yarn`, `npm` and `pnpm` support workspaces, but in a slight different way.\n\nNpm's adoption of workspaces is quite new, and we were likely using an `npm` version that were not using them. We now are.\n\nThis repo is a basic monorepo set with `pnpm`. What we want to do is to install eveything in the `nhost` directory without taking into account the rest of the repo:\n\n```sh\ncd nhost\nnpm i\n```\n\nOutput:\n\n```\nnpm ERR! code EUNSUPPORTEDPROTOCOL\nnpm ERR! Unsupported URL Type \"workspace:\": workspace:*\n\nnpm ERR! A complete log of this run can be found in:\nnpm ERR!     ~/.npm/_logs/2022-12-09T17_15_24_731Z-debug-0.log\n```\n\nNpm is resolving the parent `package.json`, and tries to install the entire workspace. But in the `unrelated` package, a dependency is using the `pnpm` syntax: `\"workspace:*\"`.\nTherefore it fails.\n\nTo solve it:\n\n```sh\ncd nhost\nnpm i --no-workspaces\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplmercereau%2Fnpm-vs-pnpm","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fplmercereau%2Fnpm-vs-pnpm","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fplmercereau%2Fnpm-vs-pnpm/lists"}