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

yotta should warn / error if you do yt install before yt target #645

Closed
janjongboom opened this issue Jan 7, 2016 · 1 comment
Closed
Labels

Comments

@janjongboom
Copy link

Today was setting up a new project, so I do yt init, add the mbed-drivers dependency and hit yt install. Then this shows up:

info: dependency mbed-drivers is already present in module.json
info: get versions for minar-platform-posix
error: Failed to satisfy dependencies of /Users/janjon01/repos/juggling/firmware/yotta_modules/minar-platform:
error: minar-platform-posix does not exist in the modules registry. Check that the name is correct, and that it has been published.

Uhhhmmm... So? Apparently I need to do yt target first, which makes sense but yotta should tell me that!

@autopulated
Copy link
Contributor

👍

I'm thinking something along the lines of:

"warning: you haven't selected a build target yet, so the default for this platform of XXXX is being used (which may not be what you want). For information on setting the build target see https://useful-link-to-some-docs"

@autopulated autopulated added the bug label Jan 7, 2016
@autopulated autopulated added this to the 0.x.(+1) - bugfixes milestone Jan 7, 2016
autopulated pushed a commit to autopulated/yotta that referenced this issue Jan 19, 2016
 * Fixes ARMmbed#645
 * Warnings are displayed by install (and thus build) subcommands
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants