When installing via drush

$ drush en drupalgap
No release history was found for the requested project (views_json).                                                                                                                                                                                                                                                                                           
Module drupalgap cannot be enabled because it depends on the following modules which could not be found: views_json    [error]

As the views_json module is moved into the Views Datasource module, this is of course easily solved downloading datasource. Still the dependencies should probably be changed to reflect this.

Comments

tyler.frankenstein’s picture

Status: Needs work » Closed (works as designed)

Thanks for pointing this out. In the past I have tried indicating a dependency for views_datasource, but then when enabling drupalgap via drush, drush complains about there is no module called views_datasource (which is technically true, since the project is called views_datasource, but the sub-module we need is actually called views_json). Also, when indicating a dependency on views_datasource, it isn't possible to enable the module at all, because again there is no module called views_datasource.

If anyone knows how to write the .info file to correct for this dilemma, please let me know.

SocialNicheGuru’s picture

Status: Active » Needs work

Since this is not really a fix and means that the module can't even be enabled in Drupal 7, should this still be active or needs work?

tyler.frankenstein’s picture

The module can be enabled in Drupal 7. Follow the readme instructions or the online documentation. The project dependency is called views_datasource, but the module dependency mentioned in the .info file is called views_json, which is a sub module of views_datasource. If you know how to write a module .info file to get around this so Drush can figure it out, by all means, please share the knowledge. See comment #1 for more information about the problem, I still don't know how to get around it. I just install DrupalGap the old fashion way, unfortunate, but do-able.

SocialNicheGuru’s picture

I see it now.
I had to download views_datasource which has views_json within it.

tyler.frankenstein’s picture

Assigned: Unassigned » tyler.frankenstein
Status: Closed (works as designed) » Fixed

In closing...

The multi-step approach Views JSON (a sub module of Views Datasource) is with the following Drush commands:

# drush dl views_datasource
# drush en views_json
# drush en drupalgap

Note, you would also of course have to enable the Services and Rest Server modules before enabling DrupalGap. Please refer to the DrupalGap Documentation for more information on installation instructions.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

ssoulless’s picture

Component: Code » Ripple Emulator in Chrome
Issue summary: View changes
Status: Closed (fixed) » Active

Please add this to the documentation of the module installation

https://www.drupal.org/node/1603690

ssoulless’s picture

Version: 7.x-1.1 » 7.x-1.x-dev
Component: Ripple Emulator in Chrome » Module Code

srry mistake

tyler.frankenstein’s picture

Category: Bug report » Support request
Status: Active » Closed (works as designed)