-
-
Notifications
You must be signed in to change notification settings - Fork 940
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix (or document changes in) "file:" protocol #8053
Comments
@KSXGitHub could this be related to the fix you did? |
@zkochan It's hard to say. I cannot reproduce the bug with Here's my {
"private": true,
"dependencies": {
"@pnpm/tabtab": "*"
},
"pnpm": {
"overrides": {
"@pnpm/tabtab": "file:../../programming/pnpm-tabtab"
}
}
} |
And I cannot reproduce the bug with the latest release of |
I have same issue with monorepo + This commit 04310be fix absolute path issue but lost relation to root workspace directory. pnpm/hooks/read-package-hook/src/createVersionsOverrider.ts Lines 100 to 111 in 88f53d4
|
I have created #8055 |
Verify latest release
pnpm version
9
Which area(s) of pnpm are affected? (leave empty if unsure)
Dependencies resolver
Link to the code that reproduces this issue or a replay of the bug
No response
Reproduction steps
try to use 'file:../../path/to/some/modude' which now fails.
Describe the Bug
In 8.x, this is the main way that I used to do local dev on local modules (not in the host monorepo)
in 9.x, this produces:
ERR_PNPM_LINKED_PKG_DIR_NOT_FOUND Could not install from "/home//mydoamin/monorepo/otherdomain/othermodulename/" as it does not exist.
(ie, it's not even concatenating the filenames correctly!)
Also, any mention of the "file:" protocol seems to be gone from the docs
Expected Behavior
Should install and use the module as specified with "file:" above.
Which Node.js version are you using?
18
Which operating systems have you used?
If your OS is a Linux based, which one it is? (Include the version if relevant)
Mint 20
The text was updated successfully, but these errors were encountered: