Skip to content
This repository has been archived by the owner on Aug 11, 2021. It is now read-only.

error reading package json #58

Open
kprabowo opened this issue Feb 14, 2017 · 3 comments
Open

error reading package json #58

kprabowo opened this issue Feb 14, 2017 · 3 comments

Comments

@kprabowo
Copy link

"mkdirp":">=0.5 0"

should be

"mkdirp":">=0.5.0"

@SOMERSOFTAndrewCrook
Copy link

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"
  }
}

gartner added a commit to gartner/fstream that referenced this issue Jan 22, 2018
A missing . in a version constraint. Causing issues at least when using composer (a php tool) and asset-packagist.org.
@darksnake747
Copy link

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

@hdoddema
Copy link

hdoddema commented Aug 14, 2019

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)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants