onehilltech / ember-cli-mdc

ember-cli addon for material-components-web
Apache License 2.0
44 stars 15 forks source link

Ember Addon Install Problem #39

Closed pathway27 closed 2 years ago

pathway27 commented 3 years ago

Hey, I just did a ember install ember-cli-mdc, and I get this error:

Command failed with exit code 1: yarn add --dev ember-cli-mdc-typography@^2.3.4 --non-interactive
error Couldn't find any versions for "ember-cli-mdc-typography" that matches "^2.3.4"

Is there something wrong with the versioning of this package?

hilljh82 commented 3 years ago

@pathway27 Is it safe to assume that the top-level command you ran was

yarn add --dev ember-cli-mdc-typography@^2.3.4 --non-interactive
pathway27 commented 3 years ago

Nope, I ran ember install ember-cli-mdc and it's stuck at a different package now:

...
Command failed with exit code 1: yarn add --dev ember-cli-mdc-rtl@^2.3.4 --non-interactive
error Couldn't find any versions for "ember-cli-mdc-rtl" that matches "^2.3.4"

I'm wondering why it tries to install version 2.3.4?

hilljh82 commented 3 years ago

@pathway27 This add-on uses a specialized blueprint that tries to speed up the installation when compared to just installing it the traditional way. We also recommend that you only install the add-ons you need, and not install ember-cli-mdc. For example, if you need buttons, then install:

ember install ember-cli-mdc-button@^2.0.0
hilljh82 commented 3 years ago

@pathway27 You can find list of add-ons here:

https://github.com/onehilltech/ember-cli-mdc/tree/master/packages

Just append ember-cli- to the beginning of the package.

BTW, I am removing the part in the README where it gives instructions to install all packages. I didn't realize it was still present in the README.

hilljh82 commented 2 years ago

I am closing this issue since it is assumed @pathway27 issue has been addressed. If not, please reopen this issue.