Git Product home page Git Product logo

drupal-8-gatsby's People

Contributors

porkloin avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

Forkers

slhemanthkumar

drupal-8-gatsby's Issues

Quibbles

I hope you do not mind these little nit-picks. I would not have noticed them if I had not followed your post closely, and I would not bother asking you to fix them if I did not think that the post is worth the effort.

  • You do not specify a filename for the BlogTeaser component.
  • When you import the BlogTeaser component, you use a CamelCase filename, which is not consistent with the convention for other components.
  • I have never seen the usage "For now, let's suffice to say ...". I think the idiom is "For now, suffice it to say ...". Of course, you could also use "For now, let's just say ...".
  • Inconsistent capitalization: the text mentions DangerouslySetInnerHTML, but the code snippet uses dangerouslySetInnerHTML.
  • Please add a step npm install transliteration --save.

Example breaks with latest JSON:API Extras

Following your tutorial, I simplified a little:

composer require -o drupal/jsonapi_extras
...
  - Installing justinrainbow/json-schema (5.2.7): Loading from cache
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Installing e0ipso/shaper (1.2.2): Downloading (100%)         
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Installing drupal/jsonapi (1.23.0): Downloading (100%)         
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
  - Installing drupal/jsonapi_extras (2.11.0): Downloading (100%)         
> Drupal\Core\Composer\Composer::vendorTestCodeCleanup
...

I got these errors when I tried to restart Gatsby:

gatsby develop
...
⠂ source and transform nodesStarting to fetch data from Drupal
⠈ source and transform nodesFailed to fetch http://drupalviews.lndo.site/jsonapi/language_content_settings/language_content_settings Request failed with status code 500
undefined
error Plugin gatsby-source-drupal returned an error

  Error: Request failed with status code 500
...

Switching to my Drupal site (d is an alias for lando drush):

d ws 156
 ID         :  156                                                                                                                                                                                                                              
 Date       :  25/Nov 13:51                                                                                                                                                                                                                     
 Type       :  php                                                                                                                                                                                                                              
 Severity   :  error                                                                                                                                                                                                                            
 Message    :  Error: Call to a member function get() on null in Drupal\jsonapi_extras\ResourceType\ConfigurableResourceType->includeCount() (line 118 of /app/modules/contrib/jsonapi_extras/src/ResourceType/ConfigurableResourceType.php)

(stack trace omitted).

It seems to be related to this bug: Update to 2.11 no work.

I downgraded jsonapi_extra:

composer require -o drupal/jsonapi_extras:2.10.0

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.