Skip to content

fail to add npm-asset/react #261

@kiuka

Description

@kiuka

Hello,

I tried to add npm-asset/react dependency, but I got the following error:

C:\Users\user\PhpstormProjects\test>composer require npm-asset/react
Using version ^15.3 for npm-asset/react
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your GitHub credentials are required to fetch private repository metadata (https://github.com/babel/babel/tree/master/packages/babel-plugin-syntax-flow)
Head to https://github.com/settings/tokens/new?scopes=repo&description=Composer+on+DESKTOP-OC2FD2F+2016-10-25+1507
to retrieve a token. It will be stored in "C:/Users/user/AppData/Roaming/Composer/auth.json" for future use by Composer.
Token (hidden):
Token stored successfully.

Installation failed, reverting ./composer.json to its original content.

[UnexpectedValueException]
Invalid version string "0.8.0-SNAPSHOT"

require [--dev] [--prefer-source] [--prefer-dist] [--no-progress] [--no-update] [--no-scripts] [--update-no-dev] [--update-with-dependencies] [--ignore-platform-reqs] [--prefer-sta
ble] [--prefer-lowest] [--sort-packages] [-o|--optimize-autoloader] [-a|--classmap-authoritative] [--] []...

My dev environment:
Win 10

npm -v
3.10.8

git --version
git version 2.10.0.windows.1

composer --version
Composer version 1.2.1 2016-09-12 11:27:19

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions