Skip to content

Incorrect package install version #2648

@msaglietto

Description

@msaglietto

Do you want to request a feature or report a bug?

Bug

What is the current behavior?
Running yarn with "bootstrap-loader": "^2.0.0-beta.20", install "bootstrap-loader": "^2.0.0-export.1",

If the current behavior is a bug, please provide the steps to reproduce.

Create the following package.json

{
  "name": "test",
  "version": "1.0.0",
  "description": "",
  "main": "index.js",
  "scripts": {
    "test": "echo \"Error: no test specified\" && exit 1"
  },
  "author": "",
  "license": "ISC",
  "dependencies": {
    "bootstrap-loader": "^2.0.0-beta.20"
  }
}

run yarn

What is the expected behavior?
Install version "bootstrap-loader": "^2.0.0-beta.20",
As npm does

Please mention your node.js, yarn and operating system version.
node v6.9.2
yarn v0.19.1

If you check the information on the package npm view bootstrap-loader versions dist-tags
versions: [ '0.0.1', ... '2.0.0-beta.20', '2.0.0-exports.1' ],
2.0.0-exports.1 is the last on the array of versions but the lastest version is
'dist-tags': { latest: '2.0.0-beta.20', 'ver0.1.0-beta1': '0.1.0-beta1' },

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions