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

Install fails: Unable to find suitable version for material-design-lite #151

Open
MightyPork opened this issue Nov 18, 2017 · 3 comments
Open

Comments

@MightyPork
Copy link

build of the 'm' module fails with:

[21:56:11] Finished 'css:stylesheets' after 1.15 s
[21:56:12] bower cached https://github.com/google/material-design-lite.git#1.1.3
[21:56:12] bower validate 1.1.3 against https://github.com/google/material-design-lite.git#~1.1.3
[21:56:12] bower incompatible Unable to find suitable version for material-design-lite
[21:56:12] Can't resolve suitable dependency version.
[21:56:12] Set option { interactive: true } to select.
[21:56:12] 'bower' errored after 2.02 s
[21:56:12] Error in plugin 'gulp-bower'
Message:
    Can't resolve suitable dependency version.
[21:56:13] Finished 'js:app' after 3.21 s
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: `gulp`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/ondra/.npm/_logs/2017-11-18T20_56_13_488Z-debug.log
make[1]: *** [Makefile:5: build] Error 1
make[1]: Leaving directory '/home/ondra/.config/radare2/r2pm/git/radare2-webui/www/m'
make: *** [Makefile:22: material] Error 2
@guyinjeans
Copy link

This seems to be the root cause.
Workaround for now is to run bower directly from path/to/r2pm/git/radare2-webui/www/m and force dependency version

Unable to find a suitable version for material-design-lite, please choose one by typing one of the numbers below:
    1) material-design-lite#~1.1.3 which resolved to 1.1.3 and is required by mdl-selectfield#1.0.4
    2) material-design-lite#^1.3.0 which resolved to 1.3.0 and is required by enyo

@jfktrey
Copy link

jfktrey commented Jan 19, 2018

If anyone else comes across this, it was solved for me by doing what @guyinjeans proposed. Exact commands:

$ r2pm -i www-m
(error about material-design-lite)
$ cd /Users/trey/.config/radare2/r2pm/git/radare2-webui/www/m
$ npm install -g bower
$ bower install
$ cd ~
$ r2pm -i www-m

For the record, I chose 1.3.0

@radare
Copy link
Collaborator

radare commented Jan 19, 2018 via email

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

No branches or pull requests

4 participants