Skip to content

lodash-amd installs 3.5.3 for ~3.5.0, but npm doesn't see this version #260

@nazar-pc

Description

@nazar-pc

It looks like version installed by fxp/composer-asset-plugin is just copied from GitHub (the same contents as here), however, NPM only knows following versions (no 3.5.3):

npm ERR! notarget No compatible version found: lodash-amd@3.5.3
npm ERR! notarget Valid install targets:
npm ERR! notarget 4.16.4, 4.16.3, 4.16.2, 4.16.1, 4.16.0, 4.15.0, 4.14.2, 4.14.1, 4.14.0, 4.13.1, 4.13.0, 4.12.0, 4.11.2, 4.11.1, 4.11.0, 4.10.0, 4.9.0, 4.8.2, 4.8.0, 4.7.0, 4.6.1, 4.6.0, 4.5.1, 4.5.0, 4.4.0, 4.3.0, 4.2.1, 4.2.0, 4.1.0, 4.0.1, 4.0.0, 3.10.2, 3.10.1, 3.10.0, 3.9.3, 3.9.2, 3.9.0, 3.8.0, 3.7.0, 3.6.0, 3.5.0, 3.4.0, 3.3.1, 3.3.0, 3.2.0, 3.1.0, 3.0.1, 3.0.0, 2.4.1, 2.4.0, 2.3.0, 2.2.1, 2.2.0, 2.1.0, 2.0.0

Moreover, installing 3.5.0 using NPM results in very different contents of the lodash-amd directory:

$ cat package.json              
{
  "_args": [
    [
      {
        "raw": "lodash-amd@3.5",
        "scope": null,
        "escapedName": "lodash-amd",
        "name": "lodash-amd",
        "rawSpec": "3.5",
        "spec": ">=3.5.0 <3.6.0",
        "type": "range"
      },
      "/media/Data/tmp"
    ]
  ],
  "_from": "lodash-amd@>=3.5.0 <3.6.0",
  "_id": "lodash-amd@3.5.0",
...
$ ls                            
compat/  LICENSE.txt  main.js  modern/  package.json  README.md

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions