Closed
Description
Do you want to request a feature or report a bug?
Bug
What is the current behavior?
Version 0.23 breaks installation of local filesystem tgz files where 0.22 functioned as expected.
If the current behavior is a bug, please provide the steps to reproduce.
-"dependencies": {
"bell": "^8.6.0",
"local-package-on-fs": "file:.modules/local-package-on-fs-3.0.3.tgz",
The above excerpt from a package.json functions in 0.22 but fails in 0.23 as it attempts to find the package by the full name, including tgz on npm with the following error:
yarn
yarn install v0.23.2
[1/4] 🔍 Resolving packages...
error An unexpected error occurred: "https://npm-proxy.fury.io/.../.modules/local-package-on-fs-3.0.3.tgz: Request failed \"404 Not Found\"".
info If you think this is a bug, please open a bug report with the information provided in "/yarn-error.log".
info Visit https://yarnpkg.com/en/docs/cli/install for documentation about this command.
What is the expected behavior?
Yarn should respect file:
references to .tgz
files.
Please mention your node.js, yarn and operating system version.
- Node: 6.10
- Yarn: 0.23
- Mac OS: 10.12.4
I originally mentioned this issue on this pull request as it was dealing with files:
#2723
I can provide the full package.json or whatever other information you require.