npm / fstream

Advanced FS Streaming for Node
ISC License
208 stars 43 forks source link

error reading package json #58

Open kprabowo opened 7 years ago

kprabowo commented 7 years ago

"mkdirp":">=0.5 0"

should be

"mkdirp":">=0.5.0"

SOMERSOFTAndrewCrook commented 7 years ago

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"
  }
}
darksnake747 commented 6 years ago

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

hdoddema commented 5 years ago

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)