fstream icon indicating copy to clipboard operation
fstream copied to clipboard

error reading package json

Open kprabowo opened this issue 8 years ago • 3 comments

"mkdirp":">=0.5 0"

should be

"mkdirp":">=0.5.0"

kprabowo avatar Feb 14 '17 19:02 kprabowo

The reason why this being raised as an issue is because when you use composer and the composer package repository https://asset-packagist.org, it reports the following error

 npm-asset/fstream 1.0.11 requires npm-asset/mkdirp >=0.5,0 -> no matching package found.

when you try to use the npm-asset/node-sass package as an example. Example composer.json

{
  "repositories" : [{
    "type" : "composer",
    "url" : "https://asset-packagist.org"
  }],
  "require" : {
    "npm-asset/node-sass" : "^4.0"
  }
}

SOMERSOFTAndrewCrook avatar Jul 17 '17 11:07 SOMERSOFTAndrewCrook

Thank you for fixing this, but we're still seeing this problem. Any idea when we'll see the fix published? Thanks!

darksnake747 avatar Apr 04 '18 19:04 darksnake747

2 years later and packages depending on this one still fail to be installed.

 npm-asset/fstream 1.0.12 requires npm-asset/mkdirp >=0.5,0 -> no matching package found

(I'm trying to install this via composer npm-assets, if that makes a difference, but it seems a pretty straightforward typo in the package.json of this project)

hdoddema avatar Aug 14 '19 13:08 hdoddema