Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing package name and version #696

Closed
kristfal opened this issue Apr 27, 2018 · 1 comment
Closed

Missing package name and version #696

kristfal opened this issue Apr 27, 2018 · 1 comment

Comments

@kristfal
Copy link

kristfal commented Apr 27, 2018

Description

package.json is missing package name and version. This prevents yarn and npm from installing master branch or any other non-published branch/tag.

Steps to Reproduce

yarn add https://github.com/wix/detox.git

or

npm add https://github.com/wix/detox.git

Error

NPM
npm ERR! Can't install git+https://github.com/wix/detox.git#866ee447bad07ba2896b79972be6dfb4e002c007: Missing package name

Yarn
error An unexpected error occurred: "Can't add undefined: invalid package version undefined.".

@kristfal kristfal changed the title Missing package name Missing package name and version Apr 27, 2018
@rotemmiz
Copy link
Member

Detox is a multi package repo, managed with Lerna.
This is currently not supported, not sure if it ever will. Please consult yarn/npm documentation.
Moreover, we package native iOS code during prepublish stage, so the actual npm package is different than what we have on the actual repo.

@wix wix locked and limited conversation to collaborators Jul 23, 2018
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

2 participants