-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Add from github source, in a specific subfolder #4765
Copy link
Copy link
Closed
Labels
Description
I want to add a dependency from github, but the source code for the package is only in a subfolder javascript/node/selenium-webdriver in that git repo.
$ pnpm add https://github.com/SeleniumHQ/selenium/tree/trunk/javascript/node/selenium-webdriver
WARN GET https://github.com/SeleniumHQ/selenium/tree/trunk/javascript/node/selenium-webdriver error (undefined). Will retry in 10 seconds. 2 retries left.
ERR_PNPM_MISSING_PACKAGE_NAME Can't install SeleniumHQ/selenium: Missing package name
Progress: resolved 43, reused 43, downloaded 0, added 0
I guess the reason for this error is that the root package.json does not have a "name" key, and that makes me think this is simply a feature that pnpm does not yet implement.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
in progress