Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

@beta release re-installs receiving incorrect package version #447

@masaka3620

Description

@masaka3620

Version of EOSJS
20.0.0-beta2

Describe the bug
When installing eosjs@beta, the correct version is installed, however, subsequent reinstalls based on the package.json incorrectly pulls in prerelease versions

To Reproduce

  1. Install eosjs@beta via yarn or npm
  2. Remove the package-lock.json or yarn-lock.json file and node_modules
  3. Execute a yarn/npm install

Expected behavior
Version 20.0.0-beta2 is installed into the package

Additional context
This is strange behavior from NPM and yarn. They install the correct version on the initial package add, however if the package needs to be reinstalled, it attempts to pull in newer versions, even if that version is a prerelease.

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