Git Product home page Git Product logo

gatsby-starter-mate's Introduction

Gatsby Starter: Mate πŸ§‰

Build Netlify Status

An accessible and fast portfolio starter for Gatsby integrated with Contentful CMS.

The target audience are Developers πŸ’» and Tech Writers ✍️.

Check the Demo ✨

Why? πŸ€”

In case you are looking for a quick setup portfolio or upgrade your current, you have to definitely try Mate!

This starter is totally content based on Contentful, which is a headless CMS where you can write the content for your page. In summary, Contentful is the Model when Gatsby with React is the View.

At the same time, as this portfolio is written with Gatsby is extremely easy to add more than one source of data! For example, the demo comes with an integration of Medium posts based on a user name ✌️

Features πŸ› 

How to start

As this process needs more steps compared to other starters, I decided to made a tutorial video of how to set up your own instance of Mate. You can follow the video or jump directly to the written documentation.

Watch the tutorial

If you never used Gatsby before, I highly recommend you to Set up your development environment!

Also, it's recommended that you use Yarn as your Package Manager inside gatsby-cli:

$ gatsby options set pm yarn
info Preferred package manager set to "yarn"

To copy and install this starter run this command:

$ gatsby new mate-portfolio https://github.com/EmaSuriano/gatsby-starter-mate

At this point you have the repository download with all the dependencies installed, but if you try to start by running yarn develop you are going to received this message in the console:

  TypeError: Expected parameter accessToken

This is because you didn't specify from which Contentful space the portfolio will take the information. So the next step is create an empty space in Contentful!

After the space is created, run the following command:

yarn setup

This CLI will request 3 values:

  • Space ID
  • Content Delivery API - access token
  • Personal Access Token

These 3 values are inside the Settings section --> API keys.

After you provide them the CLI will automatically starts copying all the Content models and Contents from mate-demo-contentful to your space ✨

If everything went smooth you should see something like this in your terminal:

Writing config file...
Config file /Users/my-user/Git/test/mate-portfolio/.env written
β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚ The following entities are going to be imported: β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Content Types                   β”‚ 3              β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Editor Interfaces               β”‚ 3              β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Entries                         β”‚ 8              β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Assets                          β”‚ 6              β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Locales                         β”‚ 1              β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”Όβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Webhooks                        β”‚ 0              β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
 βœ” Validating content-file
 βœ” Initialize client (1s)
 βœ” Checking if destination space already has any content and retrieving it (2s)
 βœ” Apply transformations to source data (1s)
 βœ” Push content to destination space
   βœ” Connecting to space (1s)
   βœ” Importing Locales (1s)
   βœ” Importing Content Types (4s)
   βœ” Publishing Content Types (3s)
   βœ” Importing Editor Interfaces (3s)
   βœ” Importing Assets (7s)
   βœ” Publishing Assets (3s)
   βœ” Archiving Assets (1s)
   βœ” Importing Content Entries (1s)
   βœ” Publishing Content Entries (5s)
   βœ” Archiving Entries (1s)
   βœ” Creating Web Hooks (0s)
Finished importing all data

After this step we can finally run the project and see the result in http://localhost:8000/ πŸ˜ƒ

$ yarn start

Screenshot and Design

As the starter is a SPA it only has two routes:

  • /: main page with the sections of Home, About me, Projects and Writing.
  • /404: error page for unexpected route.
Section Screenshot
Home Home
About me About me
Projects Projects
Writing Writing
404 404

Building your site

As we are dealing with environment variables, the .env file is excluded from .gitignore file. Therefore, in order to deploy the website you have to send SPACE_ID and ACCESS_TOKEN with the build command.

SPACE_ID=xxxxx ACCESS_TOKEN=yyyyy yarn build

The result will be stored inside the public folder, so you can upload to your web host. I highly suggest using this starter with Netlify when you can define which command will build the project and also send the environment variables inside the website configuration.

Customization

When you first bootstrap the project, you will notice that it doesn't contain many files. This is because of how the project is structured, for example where is the data coming from and how it is displayed to the user. The starter is based on 2 principles:

  1. Data coming from an external source: Contentful. Therefore in case you want to change the content of the website, please refer to Adding your information section.
  2. Components and pages decoupled inside a Gatsby Theme: gatsby-theme-mate. The reason behind it is to provide an easy way to keep your starter up to date. To know more about Gatsby Theme, please refer to the official documentation. Most common customizations:
    1. Theming
    2. Changing Icons
    3. Modifying the Sections

Adding your information

All the information of this starter resides inside Contentful, inside the Content of About. To change it, just go to the Content section and change the entity with the information you want.

Contentful About change

Regarding the projects and social links, the process is the same! Contentful is easy to learn so don't be afraid of breaking everything, remember that you can restore to the start point by running yarn setup πŸ˜„

Theming

Thanks to the Theme Shadowing, changing the colors of your portfolio is quite easy! You have to create a new file located at src/gatsby-theme-mate/colors.json. Some examples I made by using palettes from Color Hunt:

Name Code Screenshot
Original { "text": "#333333", "background": "#FFFFFF", "muted": "#f0e6f6", "primary": "#7c37ad", "secondary": "#ff4081" } Original Schema
Teal { "text": "#40514e", "background": "#FFFFFF", "muted": "#e4f9f5", "primary": "#11999e", "secondary": "#30e3ca" } Teal Theme
Dark { "text": "#e3e3e3", "background": "#1b262c", "muted": "#0f4c75", "primary": "#bbe1fa", "secondary": "#3282b8" } Dark Theme

Changing Icons

This project is using the icons from Font Awesome, with the implementation made by fortawesome. A good practice when dealing with icons is to load only the ones that the project is going to use. Therefore not all the icons inside FA are loaded by default.

To change the icons used in your portfolio, you have to make use of Theme Shadowing and create a file located at src/gatsby-theme-mate/icons.js with your icons. By default this is the content of the file:

import {
  faMedium,
  faTwitter,
  faGithub,
} from '@fortawesome/free-brands-svg-icons';
import {
  faGlobe,
  faEnvelope,
  faCoffee,
} from '@fortawesome/free-solid-svg-icons';

export const ICONS = [
  faMedium,
  faTwitter,
  faGithub,
  faGlobe,
  faEnvelope,
  faCoffee,
];

Simply import the icons you want to use either @fortawesome/free-brands-svg-icons or @fortawesome/free-solid-svg-icons and export them inside the ICONS array. They get loaded as soon as the app starts.

Modifying the Sections

This starter by default provides 4 different sections:

  • Landing: your name, roles, and social links.
  • About: information about yourself plus the image on the side.
  • Projects: summary of the projects you worked on.
  • Writing: articles from Medium you wrote (this will be visible only if you specify a Medium user).

In case you want to change the order, remove or even add new sections. You can do it by using the feature of Theme Shadowing and create a file inside src/gatsby-theme-mate/templates/Home.js and have total control over what you want to render. This will be an example of swapping between the About and Projects section.

import React from 'react';

// Layout components
import Layout from 'gatsby-theme-mate/src/components/Layout';
import Header from 'gatsby-theme-mate/src/components/Header';
import Footer from 'gatsby-theme-mate/src/components/Footer';

// Sections that will fetch data for you
import Landing from 'gatsby-theme-mate/src/sections/Landing';
import About from 'gatsby-theme-mate/src/sections/About';
import Projects from 'gatsby-theme-mate/src/sections/Projects';
import Writing from 'gatsby-theme-mate/src/sections/Writing';

const Home = () => (
  <Layout>
    <Header />
    <Landing />
    <Projects />
    <About />
    <Writing />
    <Footer />
  </Layout>
);

export default Home;

By following this approach it's possible to modify the code of any component of the project. But please be aware, that by using Theme Shadowing you are going to always override the content of this, so in case there will be an update of the same file inside gatsby-theme-mate you are not going to use it.

My final recommendation with shadowing is to try to keep as minimum as possible to avoid having breaking changes between new releases of the theme.

Tracking with Google Analytics (Optional)

This starter has the analytics plugin inside the gatsby-config, so the only need to do in order to enable it is to provide the Tracking Id for your site (starts with UA-). Just set a new variable inside your .env file called ANALYTICS_ID and analytics will be turn on automatically πŸ˜„

gatsby-starter-mate's People

Contributors

a1igator avatar dependabot-preview[bot] avatar dependabot[bot] avatar emasuriano avatar greenkeeper[bot] avatar hb2708 avatar liltechnomancer avatar manpenaloza avatar onurgenes avatar seaofdreams avatar sunnyday90210 avatar taha-yassine avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

gatsby-starter-mate's Issues

Where do I find the Content Preview API - access token in Contently??

Hi Ema,

I am trying to create the Mate starter, but I get into troubles with Contently API keys. With yaml setup i get to input the following API parameters:

  • Your Space ID
  • Your Content Delivery API access token
  • Your Content Management API access token

I can find the first and second in the 'Access tokens' page of Contentful, but I can't find Content Management API access token in the same page and I don't know where to look for it. I tried to input the value from Content Preview API - access token which I see in the page, but then i get the following error:

Error: Status: 403 - Forbidden - Message: The access token you sent could not be found or is invalid.

I'm lost! Please help.

L

TypeError: Expected parameter acsessToken on inital deploy straight from gatsby website

Just clicked on the Try this starter as located here https://www.gatsbyjs.org/starters/EmaSuriano/gatsby-starter-mate/

I went to netlify and it started to deploy and then I got this error message on the deploy

1:39:39 PM: Executing user command: gatsby build
1:39:42 PM: error We encountered an error while trying to load your site's gatsby-config. Please fix the error and try again.
1:39:42 PM: 
1:39:42 PM:   TypeError: Expected parameter accessToken
1:39:42 PM:   
1:39:42 PM:   - contentful.node.js:7095 Module.createClient
1:39:42 PM:     [repo]/[contentful]/dist/contentful.node.js:7095:11
1:39:42 PM:   
1:39:42 PM:   - gatsby-config.js:7 Object.<anonymous>
1:39:42 PM:     /opt/build/repo/gatsby-config.js:7:27
1:39:42 PM:   
1:39:42 PM:   - v8-compile-cache.js:178 Module._compile
1:39:42 PM:     [repo]/[v8-compile-cache]/v8-compile-cache.js:178:30
1:39:42 PM:   
1:39:42 PM:   - v8-compile-cache.js:159 require
1:39:42 PM:     [repo]/[v8-compile-cache]/v8-compile-cache.js:159:20
1:39:42 PM:   
1:39:42 PM:   - get-config-file.js:33 
1:39:42 PM:     [repo]/[gatsby]/dist/bootstrap/get-config-file.js:33:22
1:39:42 PM:   
1:39:42 PM:   - Generator.next
1:39:42 PM:   
1:39:42 PM:   - debuggability.js:313 Promise._execute
1:39:42 PM:     [repo]/[bluebird]/js/release/debuggability.js:313:9
1:39:42 PM:   
1:39:42 PM:   - promise.js:483 Promise._resolveFromExecutor
1:39:42 PM:     [repo]/[bluebird]/js/release/promise.js:483:18
1:39:42 PM:   
1:39:42 PM: 
1:39:42 PM: Caching artifacts

Change Favicon

Couldn't change favicon.

yarn build add following line in public/index.html
<link rel="icon" href="/favicon-32x32.png?v=bd811806cc1b8afc275a716b064f3106" type="image/png"/>

yarn setup gives error

Running yarn setup and filling details gives:

Writing config file...
TypeError: envfile.stringifySync is not a function
    at /home/skr/github/skr/bin/setup.js:52:29
    at processTicksAndRejections (internal/process/task_queues.js:97:5)

npm start - failed extract queries from components

I'm getting a bunch of errors after installing fresh, any ideas?

> npm start

> [email protected] start /Users/sfong/Projects/mate-portfolio
> npm run develop


> [email protected] develop /Users/sfong/Projects/mate-portfolio
> gatsby clean && gatsby develop

info Deleting .cache, public
info Successfully deleted directories
success open and validate gatsby-configs - 0.044s
success load plugins - 0.105s
success onPreInit - 0.002s
success initialize cache - 0.010s
success copy gatsby files - 0.047s
success onPreBootstrap - 0.010s
success createSchemaCustomization - 0.002s
success source and transform nodes - 0.037s
success building schema - 0.178s
success createPages - 0.002s
success createPagesStatefully - 0.065s
success onPreExtractQueries - 0.002s
success update schema - 0.017s

 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulFixed".

File: node_modules/gatsby-source-contentful/src/fragments.js:20:37


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulFixed".

File: node_modules/gatsby-source-contentful/src/fragments.js:34:47


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulFixed".

File: node_modules/gatsby-source-contentful/src/fragments.js:48:46


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulFixed".

File: node_modules/gatsby-source-contentful/src/fragments.js:61:46


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulFixed".

File: node_modules/gatsby-source-contentful/src/fragments.js:77:55


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulFluid".

File: node_modules/gatsby-source-contentful/src/fragments.js:92:37


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulFluid".

File: node_modules/gatsby-source-contentful/src/fragments.js:106:47


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulFluid".

File: node_modules/gatsby-source-contentful/src/fragments.js:120:46


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulFluid".

File: node_modules/gatsby-source-contentful/src/fragments.js:133:46


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulFluid".

File: node_modules/gatsby-source-contentful/src/fragments.js:149:55


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulResolutions".

File: node_modules/gatsby-source-contentful/src/fragments.js:161:43


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulResolutions".

File: node_modules/gatsby-source-contentful/src/fragments.js:171:53


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulResolutions".

File: node_modules/gatsby-source-contentful/src/fragments.js:181:52


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulResolutions".

File: node_modules/gatsby-source-contentful/src/fragments.js:190:52


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulResolutions".

File: node_modules/gatsby-source-contentful/src/fragments.js:202:61


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulSizes".

File: node_modules/gatsby-source-contentful/src/fragments.js:213:37


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulSizes".

File: node_modules/gatsby-source-contentful/src/fragments.js:223:47


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulSizes".

File: node_modules/gatsby-source-contentful/src/fragments.js:233:46


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulSizes".

File: node_modules/gatsby-source-contentful/src/fragments.js:242:46


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Unknown type "ContentfulSizes".

File: node_modules/gatsby-source-contentful/src/fragments.js:254:55


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "contentfulAbout" on type "Query".

GraphQL request:3:9
2 |       query FooterQuery {
3 |         contentfulAbout {
  |         ^
4 |           name

File: src/components/Footer.js:31:9


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "contentfulAbout" on type "Query".

GraphQL request:3:9
2 |       query HelmetQuery {
3 |         contentfulAbout {
  |         ^
4 |           name

File: src/components/Helmet.js:11:9


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "contentfulAbout" on type "Query".

GraphQL request:3:11
2 |         query AboutMeQuery {
3 |           contentfulAbout {
  |           ^
4 |             aboutMe {

File: src/sections/About.js:50:11


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "contentfulAbout" on type "Query".

GraphQL request:3:11
2 |         query SiteTitleQuery {
3 |           contentfulAbout {
  |           ^
4 |             name

File: src/sections/Landing.js:49:11


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "siteMetadata" on type "Site".

GraphQL request:14:13
13 |           site {
14 |             siteMetadata {
   |             ^
15 |               deterministicBehaviour

File: src/sections/Landing.js:60:13


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "contentfulAbout" on type "Query".

GraphQL request:3:11
2 |         query ProjectsQuery {
3 |           contentfulAbout {
  |           ^
4 |             projects {

File: src/sections/Projects.js:184:11


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "siteMetadata" on type "Site".

GraphQL request:4:11
3 |         site {
4 |           siteMetadata {
  |           ^
5 |             isMediumUserDefined

File: src/sections/Writing.js:140:11


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "allMediumPost" on type "Query".

GraphQL request:8:9
7 |         }
8 |         allMediumPost(limit: 7, sort: { fields: createdAt, order: DESC }) {
  |         ^
9 |           totalCount

File: src/sections/Writing.js:144:9


 ERROR #85901  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "mediumUser" on type "Query".

GraphQL request:26:9
25 |         }
26 |         author: mediumUser {
   |         ^
27 |           username

File: src/sections/Writing.js:162:9

failed extract queries from components - 1.003s
success write out requires - 0.044s
success write out redirect data - 0.003s
success onPostBootstrap - 0.002s
β €
info bootstrap finished - 5.155 s
β €
success run queries - 0.025s - 4/4 158.50/s
β €
You can now view gatsby-starter-mate in the browser.
β €
  http://localhost:8000/
β €
View GraphiQL, an in-browser IDE, to explore your site's data and schema
β €
  http://localhost:8000/___graphql
β €
Note that the development build is not optimized.
To create a production build, use gatsby build
β €
success Building development bundle - 3.471s


β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”β€”
4 pages                        Failed                        gatsby-starter-mate

open and validate gatsby-config[warning] Server 504 error occurred.

Hi,

Love the look of this project.

I'm just running into a problem when i try and run yarn develope i get the error
open and validate gatsby-config[warning] Server 504 error occurred.Waiting for xxxx ms before retrying...

I've tried googling around this issue but haven't found anything. Do you have an idea what could be going wrong ?

Cheers

An in-range update of eslint-plugin-react is breaking the build 🚨

The devDependency eslint-plugin-react was updated from 7.11.1 to 7.12.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v7.12.0

Added

Fixed

Changed

Commits

The new version differs by 127 commits.

  • a83d65c Update CHANGELOG and bump version
  • 0c6160e [Dev Deps] update coveralls, babel-eslint, typescript
  • cd6c8e6 [Deps] update resolve
  • d2b5b73 Merge pull request #1828 from alexzherdev/1721-no-typos-create-class
  • e747459 [Tests] remove node 5/7/9, add node 11
  • b33ae84 Merge pull request #1098 from arian/createElement-display-test
  • 84be80a Merge pull request #1824 from alexzherdev/1762-jsx-max-depth-false-positive
  • a442067 Merge pull request #2029 from sstern6/issue1422
  • 7d07c37 Merge pull request #2032 from alexzherdev/jsx-fragments-message
  • 8c6a8e2 Merge pull request #2089 from jomasti/feature/support-react-forwardref-memo
  • 14451d4 Merge pull request #2085 from himynameisdave/issues/2083
  • 8be52c7 πŸ“ Addresses CR comments
  • f7e3121 Merge branch 'master' of https://github.com/yannickcr/eslint-plugin-react into issues/2083
  • 77e3fd0 Merge pull request #2090 from JBallin/no-method-set-state-docs-url
  • 7da9e0d Fix noMethodSetState docsUrl's

There are 127 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Writing section including medium posts you've clapped at

The Writing section for this wonderful project is unfortunately including Medium posts that you have clapped at written by other people, not ones you've written. Is there a way to distinguish between the two using Contentful, or would this require a PR?

Bug: URL of cards in writing section

The url for the cards in writing section should be added '@', especially in MorePosts.

The original code:

const MorePosts = ({ username, name, number }) => (
  <Card
    onClick={() => window.open(`${MEDIUM_URL}/${username}/`, '_blank')}
    p={4}
  >
  ...
)

We'll get 404 if we use ${MEDIUM_URL}/${username}/, so we need use ${MEDIUM_URL}/@${username}/ instead.

For other normal post cards (not MorePosts), it's ok to use the url without @, because somehow the @ can be added automatically when we open these posts' url. But it's better to add @ in our code as well.

Layout flash on page load

First off, thanks for this awesome starter! It's been immensely useful for diving into Gatsby.

An issue I'm running into: the Text Loop in the landing page has a layout issue on the page load. it immediately justifies left before centering, almost like it's repositioning after mounting.

This only occurs for me on production builds (not in development mode). It also only seems to occur in firefox for me.

This occurs both for the cloned repo and for the live demo site.

Any thoughts and/or help on this would be appreciated!

Invalid hook call. Hooks can only be called inside the body of a function component

_"Invalid hook call. Hooks can only be called inside of the body of a function component. This could happen for one of the following reasons:

  1. You might have mismatching versions of React and the renderer (such as React DOM)
  2. You might be breaking the Rules of Hooks
  3. You might have more than one copy of React in the same app
    See https://fb.me/react-invalid-hook-call for tips about how to debug and fix this problem."_

This error comes up after running npm start when attempting to view mate on localhost. npm run setup had been ran successfully and linked with contentful.

After reading the react-invalid-hook-call facebook provides and going through the steps they recommend. npm ls react-dom returns a version of react greater than 16.8.0 so it's not that the project is missing hooks.

When running npm ls react to check if there is a duplicate react within the project you can see that there is.
duplicate react

Maybe I'm wrong about this being a problem with the starter and it's my own development environment that is messed up but I haven't had any problems running other starters? Hoping someone can help with this ^.^

Add dark night mode

  • It would be better if we have the option to click and switch to dark mode.

getting netflify error when trying to build

5:20:41 PM: Build ready to start
5:20:43 PM: build-image version: 30f629161c0736b1a3ecd8b418e5eeffab5c0faf
5:20:43 PM: build-image tag: v3.3.14
5:20:43 PM: buildbot version: a383ed3390159974f55f285b04457b44cb49efb0
5:20:43 PM: Fetching cached dependencies
5:20:43 PM: Failed to fetch cache, continuing with build
5:20:43 PM: Starting to prepare the repo for build
5:20:43 PM: No cached dependencies found. Cloning fresh repo
5:20:43 PM: git clone https://github.com/its-a-lisa/ss-site
5:20:46 PM: Preparing Git Reference refs/heads/master
5:20:47 PM: Different publish path detected, going to use the one specified in the Netlify configuration file: 'public' versus 'public/' in the Netlify UI
5:20:47 PM: Starting build script
5:20:47 PM: Installing dependencies
5:20:48 PM: Downloading and installing node v10.21.0...
5:20:48 PM: Downloading https://nodejs.org/dist/v10.21.0/node-v10.21.0-linux-x64.tar.xz...
5:20:49 PM: Computing checksum with sha256sum
5:20:49 PM: Checksums matched!
5:20:51 PM: Now using node v10.21.0 (npm v6.14.4)
5:20:51 PM: Started restoring cached build plugins
5:20:51 PM: Finished restoring cached build plugins
5:20:51 PM: Attempting ruby version 2.6.2, read from environment
5:20:52 PM: Using ruby version 2.6.2
5:20:52 PM: Using PHP version 5.6
5:20:52 PM: 5.2 is already installed.
5:20:52 PM: Using Swift version 5.2
5:20:52 PM: Started restoring cached node modules
5:20:52 PM: Finished restoring cached node modules
5:20:52 PM: Started restoring cached yarn cache
5:20:52 PM: Finished restoring cached yarn cache
5:20:52 PM: Installing yarn at version 1.17.0
5:20:52 PM: Installing Yarn!
5:20:52 PM: > Downloading tarball...
5:20:52 PM: [1/2]: https://yarnpkg.com/downloads/1
5:20:52 PM: .17.0/yarn-v1.17.0.tar.gz --> /tmp/yarn.tar.gz.Gb7OyoyKVG
5:20:52 PM: % Total % Received % Xf
5:20:52 PM: erd Average Speed Time Time
5:20:52 PM: Time Current
5:20:52 PM: Dload Up
5:20:52 PM: load Total Spent Left Speed
5:20:52 PM:
0 0 0 0 0 0 0
5:20:52 PM: 0 --:--:-- --:--:-- --:--:-- 0
5:20:53 PM:
100 80 100 80 0 0 261
5:20:53 PM: 0 --:--:-- --:--:-- --:--:-- 261
5:20:53 PM:
100 93 100 93 0 0 1
5:20:53 PM: 52 0 --:--:-- --:--:-- --:--:-- 152
5:20:53 PM:
0 0 0 0 0 0 0
5:20:53 PM: 0 --:--:-- --:--:-- --:--:-- 0
5:20:53 PM:
100 630 100 630 0 0 647 0 --:--:-- --:--:-- --:--:-- 2282
5:20:54 PM:
23 1213k 23 288k 0
5:20:54 PM: 0 169k 0 0:00:07 0:00:01 0:00:06 169k
5:20:55 PM:
100 1213k 100 1213k 0 0 480k 0 0:00:02 0:00:02 --:--:-- 1118k
5:20:55 PM: [2/2]: https://yarnpkg.com/d
5:20:55 PM: ownloads/1.17.0/yarn-v1.17.0.tar.gz.asc --> /tmp/yarn.tar.gz.Gb7
5:20:55 PM: OyoyKVG.asc
5:20:55 PM:
100
5:20:55 PM: 84 100 84 0 0 30
5:20:55 PM: 88 0 --:--:-- --:--:-- --:--:-- 3088
5:20:55 PM:
100 97 100 97 0
5:20:55 PM: 0 1720 0 --:--:-- --:--:-- --:--:-- 1720
5:20:55 PM:
0 0 0 0 0 0 0 0 --:--
5:20:55 PM: :-- --:--:-- --:--:-- 0
100 634 100 634 0 0
5:20:55 PM: 3316 0 --:--:-- --:--:-- --:--:-- 619k
5:20:55 PM:
100 832 100 832 0 0 3
5:20:55 PM: 547 0 --:--:-- --:--:-- --:--:-- 3547
5:20:55 PM: > Verifying integrity...
5:20:55 PM: gpg: Signature made Fri 14 Jun 2019 06:55:58 PM UTC using RSA key ID 69475BAA
5:20:55 PM: gpg: Good signature from "Yarn Packaging [email protected]"
5:20:55 PM: gpg: WARNING: This key is not certified with a trusted signature!
5:20:55 PM: gpg: There is no indication that the signature belongs to the owner.
5:20:55 PM: Primary key fingerprint: 72EC F46A 56B4 AD39 C907 BBB7 1646 B01B 86E5 0310
5:20:55 PM: Subkey fingerprint: 6D98 490C 6F1A CDDD 448E 4595 4F77 6793 6947 5BAA
5:20:55 PM: > GPG signature looks good
5:20:55 PM: > Extracting to ~/.yarn...
5:20:55 PM: > Adding to $PATH...
5:20:56 PM: > Successfully installed Yarn 1.17.0! Please open another terminal where the yarn command will now be available.
5:20:56 PM: Installing NPM modules using Yarn version 1.17.0
5:20:56 PM: yarn install v1.17.0
5:20:57 PM: [1/4] Resolving packages...
5:20:57 PM: [2/4] Fetching packages...
5:21:29 PM: info [email protected]: The platform "linux" is incompatible with this module.
5:21:29 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
5:21:29 PM: info [email protected]: The platform "linux" is incompatible with this module.
5:21:29 PM: info "[email protected]" is an optional dependency and failed compatibility check. Excluding it from installation.
5:21:29 PM: [3/4] Linking dependencies...
5:21:29 PM: warning " > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0-0".
5:21:29 PM: warning "@babel/preset-env > @babel/plugin-proposal-class-properties > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
5:21:29 PM: warning "@babel/preset-env > @babel/plugin-proposal-unicode-property-regex > @babel/[email protected]" has unmet peer dependency "@babel/core@^7.0.0".
5:21:29 PM: warning "gatsby > @pmmmwh/[email protected]" has incorrect peer dependency "react-refresh@^0.8.2".
5:21:29 PM: warning " > [email protected]" has incorrect peer dependency "eslint@^3 || ^4 || ^5 || ^6".
5:21:29 PM: warning "gatsby > @typescript-eslint/eslint-plugin > [email protected]" has unmet peer dependency "typescript@>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta".
5:21:29 PM: warning "gatsby > gatsby-admin > [email protected]" has incorrect peer dependency "[email protected]".
5:21:29 PM: warning "gatsby > gatsby-admin > [email protected]" has incorrect peer dependency "[email protected]".
5:21:29 PM: warning "gatsby > gatsby-admin > [email protected]" has incorrect peer dependency "yup@^0.27.0".
5:21:29 PM: warning " > [email protected]" has unmet peer dependency "babel-plugin-styled-components@>1.5.0".
5:21:29 PM: warning " > [email protected]" has unmet peer dependency "react-is@>= 16.8.0".
5:21:29 PM: warning " > [email protected]" has incorrect peer dependency "eslint@^4.19.1 || ^5.3.0".
5:21:29 PM: warning "eslint-config-airbnb > [email protected]" has incorrect peer dependency "eslint@^4.19.1 || ^5.3.0".
5:21:52 PM: [4/4] Building fresh packages...
5:22:15 PM: Done in 78.83s.
5:22:15 PM: NPM modules installed using Yarn
5:22:16 PM: Started restoring cached go cache
5:22:16 PM: Finished restoring cached go cache
5:22:16 PM: go version go1.12 linux/amd64
5:22:16 PM: go version go1.12 linux/amd64
5:22:16 PM: Installing missing commands
5:22:16 PM: Verify run directory
5:22:17 PM: ​
5:22:17 PM: β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
5:22:17 PM: β”‚ Netlify Build β”‚
5:22:17 PM: β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
5:22:17 PM: ​
5:22:17 PM: ❯ Version
5:22:17 PM: @netlify/build 1.0.16
5:22:17 PM: ​
5:22:17 PM: ❯ Flags
5:22:17 PM: mode: buildbot
5:22:17 PM: ​
5:22:17 PM: ❯ Current directory
5:22:17 PM: /opt/build/repo
5:22:17 PM: ​
5:22:17 PM: ❯ Config file
5:22:17 PM: No config file was defined: using default values.
5:22:17 PM: ​
5:22:17 PM: ❯ Context
5:22:17 PM: production
5:22:17 PM: ​
5:22:17 PM: β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
5:22:17 PM: β”‚ 1. Build command from settings β”‚
5:22:17 PM: β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
5:22:17 PM: ​
5:22:17 PM: $ gatsby build
5:22:19 PM:
5:22:19 PM:
5:22:19 PM: error We encountered an error while trying to load your site's gatsby-config. Please fix the error and try again.
5:22:19 PM:
5:22:19 PM:
5:22:19 PM: Error: Cannot find module './about.json'
5:22:19 PM:
5:22:19 PM: - loader.js:636 Function.Module._resolveFilename
5:22:19 PM: internal/modules/cjs/loader.js:636:15
5:22:19 PM:
5:22:19 PM: - loader.js:562 Function.Module._load
5:22:19 PM: internal/modules/cjs/loader.js:562:25
5:22:19 PM:
5:22:19 PM: - loader.js:692 Module.require
5:22:19 PM: internal/modules/cjs/loader.js:692:17
5:22:19 PM:
5:22:19 PM: - v8-compile-cache.js:159 require
5:22:19 PM: [repo]/[gatsby]/[v8-compile-cache]/v8-compile-cache.js:159:20
5:22:19 PM:
5:22:19 PM: - gatsby-config.js:2 Object.
5:22:19 PM: /opt/build/repo/gatsby-config.js:2:15
5:22:19 PM:
5:22:19 PM: - v8-compile-cache.js:178 Module._compile
5:22:19 PM: [repo]/[gatsby]/[v8-compile-cache]/v8-compile-cache.js:178:30
5:22:19 PM:
5:22:19 PM: - loader.js:789 Object.Module._extensions..js
5:22:19 PM: internal/modules/cjs/loader.js:789:10
5:22:19 PM:
5:22:19 PM: - loader.js:653 Module.load
5:22:19 PM: internal/modules/cjs/loader.js:653:32
5:22:19 PM:
5:22:19 PM: - loader.js:593 tryModuleLoad
5:22:19 PM: internal/modules/cjs/loader.js:593:12
5:22:19 PM:
5:22:19 PM: - loader.js:585 Function.Module._load
5:22:19 PM: internal/modules/cjs/loader.js:585:3
5:22:19 PM:
5:22:19 PM: - loader.js:692 Module.require
5:22:19 PM: internal/modules/cjs/loader.js:692:17
5:22:19 PM:
5:22:19 PM: - v8-compile-cache.js:159 require
5:22:19 PM: [repo]/[gatsby]/[v8-compile-cache]/v8-compile-cache.js:159:20
5:22:19 PM:
5:22:19 PM: - get-config-file.js:33 getConfigFile
5:22:19 PM: [repo]/[gatsby]/dist/bootstrap/get-config-file.js:33:20
5:22:19 PM:
5:22:19 PM: - index.js:134 module.exports
5:22:19 PM: [repo]/[gatsby]/dist/bootstrap/index.js:134:46
5:22:19 PM:
5:22:19 PM: - build.js:90 build
5:22:19 PM: [repo]/[gatsby]/dist/commands/build.js:90:36
5:22:19 PM:
5:22:19 PM: - create-cli.js:218 cli.command.handler.getCommandHandler
5:22:19 PM: [repo]/[gatsby-cli]/lib/create-cli.js:218:14
5:22:19 PM:
5:22:19 PM:
5:22:19 PM: not finished open and validate gatsby-configs - 0.047s
5:22:20 PM: ​
5:22:20 PM: β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
5:22:20 PM: β”‚ "build.command" failed β”‚
5:22:20 PM: β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜
5:22:20 PM: ​
5:22:20 PM: Error message
5:22:20 PM: Command failed with exit code 1: gatsby build
5:22:20 PM: ​
5:22:20 PM: Error location
5:22:20 PM: In Build command from settings:
5:22:20 PM: gatsby build
5:22:20 PM: ​
5:22:20 PM: Resolved config
5:22:20 PM: build:
5:22:20 PM: command: gatsby build
5:22:20 PM: publish: /opt/build/repo/public
5:22:20 PM: Caching artifacts
5:22:20 PM: Started saving node modules
5:22:20 PM: Finished saving node modules
5:22:20 PM: Started saving build plugins
5:22:20 PM: Finished saving build plugins
5:22:20 PM: Started saving yarn cache
5:22:20 PM: Finished saving yarn cache
5:22:20 PM: Started saving pip cache
5:22:24 PM: Finished saving pip cache
5:22:24 PM: Started saving emacs cask dependencies
5:22:24 PM: Finished saving emacs cask dependencies
5:22:24 PM: Started saving maven dependencies
5:22:24 PM: Finished saving maven dependencies
5:22:24 PM: Started saving boot dependencies
5:22:24 PM: Finished saving boot dependencies
5:22:24 PM: Started saving go dependencies
5:22:24 PM: Finished saving go dependencies

Unable to upgrade to latest version of Gatsby

Hello,

I've used this starter to learn Gatsby and develop my own site. In order to use the continuous build feature with contentful, Gatsby needs to be at the latest version. When that happens, it breaks the site and throws and error code that it Fails to Compile. Curious if you've looked into this and have any tips or tricks of what needs to change to be compatible with the latest version of Gatsby?

There was an error in your GraphQL query:

Cannot query field "contentfulAbout" on type "Query".

If you don't expect "contentfulAbout" to exist on the type "Query" it is most likely a typo.
However, if you expect "contentfulAbout" to exist there are a couple of solutions to common problems:

- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "contentfulAbout" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")

It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions

File: /home/alyssa/Documents/GitHub/ss-site/src/components/Footer.js

There was an error in your GraphQL query:

Cannot query field "contentfulAbout" on type "Query".

If you don't expect "contentfulAbout" to exist on the type "Query" it is most likely a typo.
However, if you expect "contentfulAbout" to exist there are a couple of solutions to common problems:

- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "contentfulAbout" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")

It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions

File: /home/alyssa/Documents/GitHub/ss-site/src/components/Helmet.js

There was an error in your GraphQL query:

Cannot query field "contentfulAbout" on type "Query".

If you don't expect "contentfulAbout" to exist on the type "Query" it is most likely a typo.
However, if you expect "contentfulAbout" to exist there are a couple of solutions to common problems:

- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "contentfulAbout" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")

It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions

File: /home/alyssa/Documents/GitHub/ss-site/src/sections/About.js

There was an error in your GraphQL query:

Cannot query field "contentfulAbout" on type "Query".

If you don't expect "contentfulAbout" to exist on the type "Query" it is most likely a typo.
However, if you expect "contentfulAbout" to exist there are a couple of solutions to common problems:

- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "contentfulAbout" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")

It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions

File: /home/alyssa/Documents/GitHub/ss-site/src/sections/Landing.js

There was an error in your GraphQL query:

Cannot query field "siteMetadata" on type "Site".

If you don't expect "siteMetadata" to exist on the type "Site" it is most likely a typo.
However, if you expect "siteMetadata" to exist there are a couple of solutions to common problems:

- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "siteMetadata" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")

It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Site":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions

File: /home/alyssa/Documents/GitHub/ss-site/src/sections/Landing.js

There was an error in your GraphQL query:

Cannot query field "contentfulAbout" on type "Query".

If you don't expect "contentfulAbout" to exist on the type "Query" it is most likely a typo.
However, if you expect "contentfulAbout" to exist there are a couple of solutions to common problems:

- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "contentfulAbout" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")

It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions

File: /home/alyssa/Documents/GitHub/ss-site/src/sections/Projects.js

There was an error in your GraphQL query:

Cannot query field "siteMetadata" on type "Site".

If you don't expect "siteMetadata" to exist on the type "Site" it is most likely a typo.
However, if you expect "siteMetadata" to exist there are a couple of solutions to common problems:

- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "siteMetadata" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")

It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Site":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions

File: /home/alyssa/Documents/GitHub/ss-site/src/sections/Writing.js

There was an error in your GraphQL query:

Cannot query field "allMediumPost" on type "Query".

If you don't expect "allMediumPost" to exist on the type "Query" it is most likely a typo.
However, if you expect "allMediumPost" to exist there are a couple of solutions to common problems:

- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "allMediumPost" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")

It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions

File: /home/alyssa/Documents/GitHub/ss-site/src/sections/Writing.js

There was an error in your GraphQL query:

Cannot query field "mediumUser" on type "Query".

If you don't expect "mediumUser" to exist on the type "Query" it is most likely a typo.
However, if you expect "mediumUser" to exist there are a couple of solutions to common problems:

- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "mediumUser" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")

It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions

File: /home/alyssa/Documents/GitHub/ss-site/src/sections/Writing.js

An in-range update of gatsby is breaking the build 🚨

There have been updates to the gatsby monorepo:

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the gatsby group definition.

gatsby is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

There was an error in your GraphQL query: Cannot query field "contentfulAbout" on type "Query".

I'm getting this error when try to deploy in netlify:
error There was an error in your GraphQL query:
5:33:09 PM: Cannot query field "contentfulAbout" on type "Query".
5:33:09 PM: If you don't expect "contentfulAbout" to exist on the type "Query" it is most likely a typo.
However, if you expect "contentfulAbout" to exist there are a couple of solutions to common problems:
5:33:09 PM: - If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server

I have deployed before but now I have this problem. I'm using netlify

image

Less than 7 Medium articles can be shown

For testing, I tried to use my account @z1219202167 and EmaSuriano's account @emasuriano to display the articles in mate.

My medium account has 4 articles and EmaSuriano's have 9 articles. However, for my account, mate can just display 3 lastest articles and for EmaSuriano's account, mate can just display 4 articles.

I use the query in Writing.js to check the result.
The query:

query MediumPostQuery {
  site {
    siteMetadata {
      isMediumUserDefined
    }
  }
  allMediumPost(limit: 7, sort: { fields: createdAt, order: DESC }) {
    totalCount
    edges {
      node {
        id
        uniqueSlug
        title
        createdAt(formatString: "MMM YYYY")
        virtuals {
          subtitle
          readingTime
          previewImage {
            imageId
          }
        }
      }
    }
  }
  author: mediumUser {
    username
    name
  }
}

To test my account, I got the result:

{
  "data": {
    "site": {
      "siteMetadata": {
        "isMediumUserDefined": true
      }
    },
    "allMediumPost": {
      "totalCount": 3,
      "edges": [
        {
          "node": {
            "id": "ea110e43-1141-564e-8240-eb0352ae8bab",
            "uniqueSlug": "typical-viz-mistakes-that-distorting-values-59dcff00e1a9",
            "title": "Typical Viz Mistakes That Distorting Values",
            "createdAt": "Mar 2020",
            "virtuals": {
              "subtitle": "In data visualization, some people distort data on purpose of misleading their audience but most people do this just because of their…",
              "readingTime": 2.142452830188679,
              "previewImage": {
                "imageId": "1*SuCyK3js-WYo4zZur521Ig.png"
              }
            }
          }
        },
        {
          "node": {
            "id": "86156b51-a2f7-5bb9-8753-b00d22afc73f",
            "uniqueSlug": "normal-equation-proof-a4935107aa95",
            "title": "The Normal Equation Proof",
            "createdAt": "Mar 2020",
            "virtuals": {
              "subtitle": "We have several approaches to get the global minimum of the cost function for linear regression, including normal equation and gradient…",
              "readingTime": 0.9622641509433962,
              "previewImage": {
                "imageId": "1*qCFHCZGiY12AW4ngtexofQ.png"
              }
            }
          }
        },
        {
          "node": {
            "id": "694d93f7-8ec5-5186-a992-6290d8a19bdb",
            "uniqueSlug": "combine-dynamic-programming-and-enumeration-method-to-solve-dilemma-9be4742a1368",
            "title": "Combine Dynamic Programming And Enumeration Method To Solve Dilemma",
            "createdAt": "Mar 2020",
            "virtuals": {
              "subtitle": "My friend was taking a practice about financial statements. She sent me a set of 79 numbers and asked me to pick some for the balance…",
              "readingTime": 2.026415094339623,
              "previewImage": {
                "imageId": "1*3TV1Z6CGT2p5FRHzdAvQtg.jpeg"
              }
            }
          }
        }
      ]
    },
    "author": {
      "username": "z1219202167",
      "name": "Kuiliang Zhang"
    }
  }
}

To test EmaSuriano's account, I got the result:

{
  "data": {
    "site": {
      "siteMetadata": {
        "isMediumUserDefined": true
      }
    },
    "allMediumPost": {
      "totalCount": 4,
      "edges": [
        {
          "node": {
            "id": "77d2239f-1f04-5f55-87ce-dc2bc0cd3fee",
            "uniqueSlug": "building-a-maintainable-icon-system-for-react-and-react-native-a03c5623cbc",
            "title": "Building a maintainable Icon System for React and React Native",
            "createdAt": "Aug 2019",
            "virtuals": {
              "subtitle": "How we implemented a consistent, cross-platform React & React Native icon system in our component library.",
              "readingTime": 8.546540880503144,
              "previewImage": {
                "imageId": "1*qWJFLVZ9NhHcSp2DzTM07w.png"
              }
            }
          }
        },
        {
          "node": {
            "id": "3147a960-5d06-55ac-8e3c-4fd28ff92b2b",
            "uniqueSlug": "building-a-home-made-icon-font-in-react-native-8cad6cc2157",
            "title": "Building a home-made Icon Font in React Native",
            "createdAt": "May 2019",
            "virtuals": {
              "subtitle": "Dealing with icons in React Native can be a problematic task, especially if you want to use your own icons. In this post, I’m going to…",
              "readingTime": 5.829559748427672,
              "previewImage": {
                "imageId": "1*zvMpj1Mc75Uc9wBauceB0Q.jpeg"
              }
            }
          }
        },
        {
          "node": {
            "id": "f379a78f-c847-5615-a9eb-21a125c3fbbf",
            "uniqueSlug": "using-storybook-as-a-powerful-visual-testing-platform-3b71db953b4b",
            "title": "Using Storybook as a Visual Testing Platform",
            "createdAt": "Apr 2019",
            "virtuals": {
              "subtitle": "My experience and how you can also implement this in your projects",
              "readingTime": 7.3915094339622645,
              "previewImage": {
                "imageId": "1*b9e2qGuyYibljzqyUhIvBA.jpeg"
              }
            }
          }
        },
        {
          "node": {
            "id": "5c8fae5d-a47f-5081-863c-f80c45481793",
            "uniqueSlug": "make-any-static-site-dynamic-without-coding-9dde5673b1a",
            "title": "Make any Static Site Dynamic with Zapier",
            "createdAt": "Jan 2019",
            "virtuals": {
              "subtitle": "Without any doubts, there was a huge adoption for Static Site Generator since these past 2 years, and one of the main reason was the huge…",
              "readingTime": 5.1773584905660375,
              "previewImage": {
                "imageId": "1*Euagv75V1mQxIkBz5RJYzA.jpeg"
              }
            }
          }
        }
      ]
    },
    "author": {
      "username": "emasuriano",
      "name": "Ema Suriano"
    }
  }
}

But we should have display at most 7 articles in mate blog (According to the query and README.md).
Is there anything wrong for my setting? I just setup the mate and write my Medium account in Contentful.
How can I display the missing articles?

An in-range update of gatsby is breaking the build 🚨

There have been updates to the gatsby monorepo:

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the gatsby group definition.

gatsby is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of react is breaking the build 🚨

There have been updates to the react monorepo:

    • The dependency react was updated from 16.6.1 to 16.6.2.
  • The dependency react-dom was updated from 16.6.1 to 16.6.2.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the react group definition.

react is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

ELIFECYCLE error while running yarn start

npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] develop: gatsby clean && gatsby develop
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] develop 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! /Users/Boudhayan/.npm/_logs/2019-09-06T20_52_28_277Z-debug.log
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

I am getting the above error when I am running yarn start.

failed extract queries from components

ERROR #85923  GRAPHQL

There was an error in your GraphQL query:

Cannot query field "contentfulAbout" on type "Query".

If you don't expect "contentfulAbout" to exist on the type "Query" it is most likely a typo.
However, if you expect "contentfulAbout" to exist there are a couple of solutions to common problems:

- If you added a new data source and/or changed something inside gatsby-node.js/gatsby-config.js, please try a restart of your development server
- The field might be accessible in another subfield, please try your query in GraphiQL and use the GraphiQL explorer to see which fields you can query and what shape they have
- You want to optionally use your field "contentfulAbout" and right now it is not used anywhere. Therefore Gatsby can't infer the type and add it to the GraphQL schema. A quick fix is to add a least one entry with that field ("dummy content")

It is recommended to explicitly type your GraphQL schema if you want to use optional fields. This way you don't have to add the mentioned "dummy content". Visit our docs to learn how you can define the schema for "Query":
https://www.gatsbyjs.org/docs/schema-customization/#creating-type-definitions

File: src/sections/About.js:50:11

Using Input Component

how to use Input(form) component from react-bootstrap or any others UI framework in you starter?

Not able to complete yarn setup command

When i run the yarn setup command and paste the api keys it gives following error:

The following 1 errors and 0 warnings occurred:

11:13:70 - Error: Status: 403 - Forbidden - Message: The access token you sent could not be found or is invalid. - Request ID: 19f8ca41f0674308b5056cbbfb9d3223

Stored the detailed error log file at:
C:\Users\HP\Desktop\mate-portfolio\contentful-import-error-log-gtvr7c3o44yv-2020-07-01T11-13-13.json
(node:3036) UnhandledPromiseRejectionWarning: ContentfulMultiError: Errors occured
    at C:\Users\HP\Desktop\mate-portfolio\node_modules\contentful-import\dist\index.js:202:28
    at tryCatcher (C:\Users\HP\Desktop\mate-portfolio\node_modules\bluebird\js\release\util.js:16:23)
    at Promise._settlePromiseFromHandler (C:\Users\HP\Desktop\mate-portfolio\node_modules\bluebird\js\release\promise.js:547:31)
    at Promise._settlePromise (C:\Users\HP\Desktop\mate-portfolio\node_modules\bluebird\js\release\promise.js:604:18)
    at Promise._settlePromise0 (C:\Users\HP\Desktop\mate-portfolio\node_modules\bluebird\js\release\promise.js:649:10)
    at Promise._settlePromises (C:\Users\HP\Desktop\mate-portfolio\node_modules\bluebird\js\release\promise.js:729:18)
    at _drainQueueStep (C:\Users\HP\Desktop\mate-portfolio\node_modules\bluebird\js\release\async.js:93:12)
    at _drainQueue (C:\Users\HP\Desktop\mate-portfolio\node_modules\bluebird\js\release\async.js:86:9)
    at Async._drainQueues (C:\Users\HP\Desktop\mate-portfolio\node_modules\bluebird\js\release\async.js:102:5)
    at Immediate.Async.drainQueues [as _onImmediate] (C:\Users\HP\Desktop\mate-portfolio\node_modules\bluebird\js\release\async.js:15:14)
    at processImmediate (internal/timers.js:456:21)
(node:3036) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 3)
(node:3036) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
Done in 105.62s  ~.

An in-range update of eslint-plugin-react is breaking the build 🚨

The devDependency eslint-plugin-react was updated from 7.12.0 to 7.12.1.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Release Notes for v7.12.1

Fixed

Changed

Commits

The new version differs by 9 commits.

  • 0202de3 Update CHANGELOG and bump version
  • 6f7cb51 [Tests] fix linter
  • 695e534 [Fix] jsx-wrap-multilines: avoid crash when no trailing newline
  • 146d8d1 [Fix] jsx-max-depth: avoid a crash
  • dfeeb81 Merge pull request #2099 from jomasti/issue-2094
  • 55e5fc1 Fix false positives inside lifecycle methods
  • 254a84a Merge pull request #2098 from jomasti/issue-2096
  • 72982f6 Fix no-unused-state crash
  • 835fc05 Fix CHANGELOG.md

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of gatsby is breaking the build 🚨

There have been updates to the gatsby monorepo:

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the gatsby group definition.

gatsby is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of gatsby is breaking the build 🚨

There have been updates to the gatsby monorepo:

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the gatsby group definition.

gatsby is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build could not complete due to an error (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of eslint-plugin-import is breaking the build 🚨

The devDependency eslint-plugin-import was updated from 2.16.0 to 2.17.0.

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

eslint-plugin-import is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 61 commits.

  • 0499050 bump to v2.17.0
  • f479635 [webpack] v0.11.1
  • 8a4226d Merge pull request #1320 from bradzacher/export-ts-namespaces
  • 988e12b fix(export): Support typescript namespaces
  • 70c3679 [docs] make rule names consistent
  • 6ab25ea [Tests] skip a TS test in eslint < 4
  • 405900e [Tests] fix tests from #1319
  • 2098797 [fix] export: false positives for typescript type + value export
  • 70a59fe [fix] Fix overwriting of dynamic import() CallExpression
  • e4850df [ExportMap] fix condition for checking if block comment
  • 918567d [fix] namespace: add check for null ExportMap
  • 2d21c4c Merge pull request #1297 from echenley/ech/fix-isBuiltIn-local-aliases
  • 0ff1c83 [dev deps] lock typescript to ~, since it doesn’t follow semver
  • 40bf40a [*] [deps] update resolve
  • 28dd614 Merge pull request #1304 from bradennapier/feature/typescript-export-type

There are 61 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of gatsby is breaking the build 🚨

There have been updates to the gatsby monorepo:

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the gatsby group definition.

gatsby is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

Commits

The new version differs by 16 commits.

  • c232a58 chore(release): Publish
  • b6d9775 fix: enable ref forwarding with forwardRef (#9892)
  • d337e63 Add Karen Hou to showcase (#10926)
  • d7f8e77 fix(starter-showcase): added description field to mccrodp's starter repo (#10858)
  • 34cdece docs(api-proxy): add section about self-signed certificates (#10963)
  • 6c27086 docs(gatsby-image): mention how to avoid stretched images in fluid (#10495)
  • 1cb7b46 Update (#10966)
  • 2c2131f Suggest developer uses Incognito Mode for auditing (#10854)
  • 02488df feat(tutorial): rewrite the styles section (#10929)
  • 3d95547 chore(release): Publish
  • 38c0b8d fix: update calls to sourceNodes (#10955)
  • 1aab824 chore(docs): update using-gatsby-without-graphql.md (#10952)
  • 51e7288 Update api-proxy.md
  • 310b417 Update api-specification.md
  • 3811159 Update debugging-replace-renderer-api.md

There are 16 commits in total.

See the full diff

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

Loading (StaticQuery)

I'm not sure what I'm doing wrong, but if I so much as remove a Social Link from the About content type in Contentful, it seems to irrevocably break the build, even if I try to link the existing entry back in to the Social Links.

I get the following during gatsby develop:

GraphQL Error Unknown field profile on type ContentfulAbout

file: src/components/Helmet.js

1 |
2 | query HelmetQuery {
3 | contentfulAbout {
4 | name
5 | description

6 | profile {
| ^
7 | favicon16: resize(width: 16) {
8 | src
9 | }
10 | favicon32: resize(width: 32) {
11 | src
12 | }
13 | bigIcon: resize(width: 192) {
14 | src
15 | }
16 | appleIcon: resize(width: 180) {

Then it still says Compiled successfully, but in the browser, anywhere where there should be any content at all from Contentful, it simply shows 'Loading (StaticQuery)'

I'm new to using both GraphQL and Contentful, so it could be entirely my fault, but it seems like simply clicking the 'x' on one social link (out of 4) shouldn't ruin everything and be unfixable without re-running yarn setup again.

It appears I can get away with archiving social links and nothing breaks, they just don't show up on the page. But why mustn't I remove any?

Not able to get any data from Contentful

Starting from yesterday, "develop" command works fine except when it comes to fetching contentful data. It doesn't get any data whatsoever, both in existing and fresh projects. Both locally and in Netlify builds. Other starters utilizing Contentful work just fine.

Steps to reproduce:
gatsby new mate-portfolio https://github.com/EmaSuriano/gatsby-starter-mate
npm run setup (with new Contentful project and access keys)
yarn develop

npm WARN lifecycle The node binary used for scripts is /var/folders/c4/xrr45lg54ld0r9xxwgv85xj80000gn/T/yarn--1572516991375-0.8536194620177942/node but npm is using /usr/local/Cellar/node/12.12.0/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

> [email protected] prepare /Users/aleksefo/Projects/mate-new
> npm run fix-medium-plugin && gatsby clean

npm WARN lifecycle The node binary used for scripts is /var/folders/c4/xrr45lg54ld0r9xxwgv85xj80000gn/T/yarn--1572516991375-0.8536194620177942/node but npm is using /usr/local/Cellar/node/12.12.0/bin/node itself. Use the `--scripts-prepend-node-path` option to include the path for the node binary npm was executed with.

> [email protected] fix-medium-plugin /Users/aleksefo/Projects/mate-new
> sed -i' ' 's/\/latest//g' ./node_modules/gatsby-source-medium/gatsby-node.js

info Deleting .cache, public
info Successfully deleted directories
success open and validate gatsby-configs - 0.031s
success load plugins - 0.030s
success onPreInit - 0.003s
success initialize cache - 0.009s
success copy gatsby files - 0.048s
success onPreBootstrap - 0.008s
success source and transform nodes - 0.033s
success building schema - 0.151s
success createPages - 0.002s
success createPagesStatefully - 0.047s
success onPreExtractQueries - 0.002s
success update schema - 0.026s

 ERROR #85901  GRAPHQL
There was an error in your GraphQL query:
Unknown type "ContentfulFixed".
File: node_modules/gatsby-source-contentful/src/fragments.js:20:37

// Many similar errors

 ERROR #85901  GRAPHQL
There was an error in your GraphQL query:
Unknown type "ContentfulSizes".
File: node_modules/gatsby-source-contentful/src/fragments.js:20:55

failed extract queries from components - 0.590s
success write out requires - 0.027s
success write out redirect data - 0.002s
success onPostBootstrap - 0.001s
β €
info bootstrap finished - 2.722 s
β €
success run queries - 0.028s - 4/4 145.28/s
β €
You can now view gatsby-starter-mate in the browser.

After that the GraphQL shows zero signs of Contentful:
Screenshot 2019-10-31 at 12 20 26

Removing the content of node_modules/gatsby-source-contentful/src/fragments.js to get to the actual issue and running "develop" again returns:

info Successfully deleted directories
success open and validate gatsby-configs - 0.029s
success load plugins - 0.029s
success onPreInit - 0.003s
success initialize cache - 0.007s
success copy gatsby files - 0.032s
success onPreBootstrap - 0.007s
success source and transform nodes - 0.026s
success building schema - 0.136s
success createPages - 0.001s
success createPagesStatefully - 0.044s
success onPreExtractQueries - 0.001s
success update schema - 0.019s

 ERROR #85907  GRAPHQL

There was an error in your GraphQL query:

- Unknown field 'contentfulAbout' on type 'Query'. Source: document `FooterQuery` file: `GraphQL request`

File: src/sections/Writing.js

failed extract queries from components - 0.265s
success write out requires - 0.030s
success write out redirect data - 0.002s
success onPostBootstrap - 0.002s
β €
info bootstrap finished - 2.234 s
β €
success run queries - 0.024s - 4/4 167.58/s
β €
You can now view gatsby-starter-mate in the browser.

It started happening out of the sudden. At first, I assumed I messed up some local setup, but Neflify builds are failing too.

Removing Medium Dependencies

Hello, thanks for creating this starter!

I'm running into a build error when I get rid of the Medium user field in Contentful.

Fetch Contentful data: 780.202ms
{ Error: Request failed with status code 404

I won't be using Medium so what in the codebase (just cloned it and haven't changed anything) do I have to remove to be able to strip Medium dependencies and calls?

If possible, this would be a great addition to your documentation.

Thank you in advance!

Medium data fetching error - failing to build on Netlify

Hey there,
Just tried to update my website based on this starter and I'm getting an error when trying to redeploy on netlify....

Fetch Contentful data: 429.336ms
2:55:36 PM: { Error: Request failed with status code 403
...

- 2:55:36 PM:   config:
- 2:55:36 PM:    { url:
- 2:55:36 PM:       'https://medium.com/@mate.starter/latest?format=json&limit=100',
- 2:55:36 PM:      method: 'get',
- 2:55:36 PM:      headers:
- 2:55:36 PM:       { Accept: 'application/json, text/plain, */*',
- 2:55:36 PM:         'User-Agent': 'axios/0.19.0' },
- 2:55:36 PM:      transformRequest: [ [Function: transformRequest] ],
- 2:55:36 PM:      transformResponse: [ [Function: transformResponse] ],
- 2:55:36 PM:      timeout: 0,
- 2:55:36 PM:      adapter: [Function: httpAdapter],
- 2:55:36 PM:      xsrfCookieName: 'XSRF-TOKEN',
- 2:55:36 PM:      xsrfHeaderName: 'X-XSRF-TOKEN',
- 2:55:36 PM:      maxContentLength: -1,
- 2:55:36 PM:      validateStatus: [Function: validateStatus],
- 2:55:36 PM:      data: undefined },

It seems like an error trying to hit the medium endpoint... since i dont really use the medium feature, what should i do to remove the said request?

[Feature Request] YouTube Integration

Hello, @EmaSuriano

I really like this starter and I've been thinking about ways to contribute to your project.
I'm a content creator (YouTuber) myself and I thought it would be nice to have a section which operates very much like your Writing (Medium) section -- but instead for YouTube.

So, I made my own version of it based on your Writing section.
It works in a very similar way (with a few configurations):

  1. Need to add a section on Contentful called youtubeUser
  2. Need to add environment variable called YOUTUBE_API_KEY (on Netlify)
  • I added these manually. I was hoping you could help set these up automatically during the initial setup and questionnaire?

You can check out my portfolio - YouTube section.
https://seanjun.netlify.com/

I wanted to create a pull request but looks like I don't have permission to create one.
Would you give me one? I would be awesome to contribute.

yarn setup error "The access token you sent could not be found or is invalid"

Hello, I create my ContentFul Api Key and I enter informations about it but I receive this error stored in a log file :

  {
    "ts": "2018-10-15T15:12:55.086Z",
    "level": "error",
    "error": {
      "originalError": {
        "name": "AccessTokenInvalid",
        "message": "{\n  \"status\": 403,\n  \"statusText\": \"Forbidden\",\n  \"message\": \"The access token you sent could not be found or is invalid.\",\n  \"details\": {},\n  \"request\": {\n    \"url\": \"https://api.contentful.com:443/spaces/lsqiwiu51z43\",\n    \"headers\": {\n      \"Accept\": \"application/json, text/plain, */*\",\n      \"Content-Type\": \"application/vnd.contentful.management.v1+json\",\n      \"X-Contentful-User-Agent\": \"app contentful.import/7.4.0; feature library-import; sdk contentful-management.js/5.2.1; platform node.js/v8.11.4; os macOS/18.0.0;\",\n      \"Authorization\": \"Bearer ...50df2\",\n      \"user-agent\": \"node.js/v8.11.4\",\n      \"Accept-Encoding\": \"gzip\"\n    },\n    \"method\": \"get\"\n  },\n  \"requestId\": \"51af8ba667670cc0e8890ae2b87c618a\"\n}"
      },
      "data": {
        "status": 403,
        "statusText": "Forbidden",
        "message": "The access token you sent could not be found or is invalid.",
        "details": {
        },
        "request": {
          "url": "https://api.contentful.com:443/spaces/lsqiwiu51z43",
          "headers": {
            "Accept": "application/json, text/plain, */*",
            "Content-Type": "application/vnd.contentful.management.v1+json",
            "X-Contentful-User-Agent": "app contentful.import/7.4.0; feature library-import; sdk contentful-management.js/5.2.1; platform node.js/v8.11.4; os macOS/18.0.0;",
            "Authorization": "Bearer ...50df2",
            "user-agent": "node.js/v8.11.4",
            "Accept-Encoding": "gzip"
          },
          "method": "get"
        },
        "requestId": "51af8ba667670cc0e8890ae2b87c618a"
      }
    }
  }
]

Do you have an idea to fix this issue?

Triangle artifact

There is an artifact appearing on the triangle transitioning from the about section to the projects section. This is due to the fact that the triangle's parts' positions are calculated relative to the viewport which doesn't take into account the scrollbar. This leads to parts a bit wider than they should.

image

An in-range update of gatsby is breaking the build 🚨

There have been updates to the gatsby monorepo:

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the gatsby group definition.

gatsby is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

An in-range update of gatsby is breaking the build 🚨

There have been updates to the gatsby monorepo:

🚨 View failing branch.

This version is covered by your current version range and after updating it in your project the build failed.

This monorepo update includes releases of one or more dependencies which all belong to the gatsby group definition.

gatsby is a direct dependency of this project, and it is very likely causing it to break. If other packages depend on yours, this update is probably also breaking those in turn.

Status Details
  • ❌ continuous-integration/travis-ci/push: The Travis CI build failed (Details).

FAQ and help

There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.


Your Greenkeeper Bot 🌴

403 Error when trying to fetch data from Contentful

Getting a 403 error when fetching contentful data on yarn start. I tried creating a brand new setup on two different machines (Mac & Windows) and still got the error.

Fetching default locale
default locale is : en-US
contentTypes fetched 3
Updated entries  11
Deleted entries  0
Updated assets  15
Deleted assets  0
Fetch Contentful data: 2498.931ms
{ Error: Request failed with status code 403
    at createError (/Users/patrickcpoole/Desktop/portfolio-test/gatsby-starter-mate/mate-portfolio/node_modules/axios/lib/core/createError.js:16:15)
    at settle (/Users/patrickcpoole/Desktop/portfolio-test/gatsby-starter-mate/mate-portfolio/node_modules/axios/lib/core/settle.js:17:12)
    at IncomingMessage.handleStreamEnd (/Users/patrickcpoole/Desktop/portfolio-test/gatsby-starter-mate/mate-portfolio/node_modules/axios/lib/adapters/http.js:237:11)
    at IncomingMessage.emit (events.js:194:15)
    at endReadableNT (_stream_readable.js:1103:12)
    at process._tickCallback (internal/process/next_tick.js:63:19)
  config:
   { url:
      'https://medium.com/@mate.starter/latest?format=json&limit=100',
     method: 'get',
     headers:
      { Accept: 'application/json, text/plain, */*',
        'User-Agent': 'axios/0.19.0' },
     transformRequest: [ [Function: transformRequest] ],
     transformResponse: [ [Function: transformResponse] ],
     timeout: 0,
     adapter: [Function: httpAdapter],
     xsrfCookieName: 'XSRF-TOKEN',
     xsrfHeaderName: 'X-XSRF-TOKEN',
     maxContentLength: -1,
     validateStatus: [Function: validateStatus],
     data: undefined },
  request:
   ClientRequest {
     _events:
      [Object: null prototype] {
        socket: [Function],
        abort: [Function],
        aborted: [Function],
        error: [Function],
        timeout: [Function],
        prefinish: [Function: requestOnPrefinish] },
     _eventsCount: 6,
     _maxListeners: undefined,
     output: [],
     outputEncodings: [],
     outputCallbacks: [],
     outputSize: 0,
     writable: true,
     _last: true,
     chunkedEncoding: false,
     shouldKeepAlive: false,
     useChunkedEncodingByDefault: false,
     sendDate: false,
     _removedConnection: false,
     _removedContLen: false,
     _removedTE: false,
     _contentLength: 0,
     _hasBody: true,
     _trailer: '',
     finished: true,
     _headerSent: true,
     socket:
      TLSSocket {
        _tlsOptions: [Object],
        _secureEstablished: true,
        _securePending: false,
        _newSessionPending: false,
        _controlReleased: true,
        _SNICallback: null,
        servername: 'medium.com',
        alpnProtocol: false,
        authorized: true,
        authorizationError: null,
        encrypted: true,
        _events: [Object],
        _eventsCount: 8,
        connecting: false,
        _hadError: false,
        _handle: [TLSWrap],
        _parent: null,
        _host: 'medium.com',
        _readableState: [ReadableState],
        readable: true,
        _maxListeners: undefined,
        _writableState: [WritableState],
        writable: false,
        allowHalfOpen: false,
        _sockname: null,
        _pendingData: null,
        _pendingEncoding: '',
        server: undefined,
        _server: null,
        ssl: [TLSWrap],
        _requestCert: true,
        _rejectUnauthorized: true,
        parser: null,
        _httpMessage: [Circular],
        [Symbol(res)]: [TLSWrap],
        [Symbol(asyncId)]: 1121,
        [Symbol(lastWriteQueueSize)]: 0,
        [Symbol(timeout)]: null,
        [Symbol(kBytesRead)]: 0,
        [Symbol(kBytesWritten)]: 0,
        [Symbol(connect-options)]: [Object] },
     connection:
      TLSSocket {
        _tlsOptions: [Object],
        _secureEstablished: true,
        _securePending: false,
        _newSessionPending: false,
        _controlReleased: true,
        _SNICallback: null,
        servername: 'medium.com',
        alpnProtocol: false,
        authorized: true,
        authorizationError: null,
        encrypted: true,
        _events: [Object],
        _eventsCount: 8,
        connecting: false,
        _hadError: false,
        _handle: [TLSWrap],
        _parent: null,
        _host: 'medium.com',
        _readableState: [ReadableState],
        readable: true,
        _maxListeners: undefined,
        _writableState: [WritableState],
        writable: false,
        allowHalfOpen: false,
        _sockname: null,
        _pendingData: null,
        _pendingEncoding: '',
        server: undefined,
        _server: null,
        ssl: [TLSWrap],
        _requestCert: true,
        _rejectUnauthorized: true,
        parser: null,
        _httpMessage: [Circular],
        [Symbol(res)]: [TLSWrap],
        [Symbol(asyncId)]: 1121,
        [Symbol(lastWriteQueueSize)]: 0,
        [Symbol(timeout)]: null,
        [Symbol(kBytesRead)]: 0,
        [Symbol(kBytesWritten)]: 0,
        [Symbol(connect-options)]: [Object] },
     _header:
      'GET /@mate.starter/latest?format=json&limit=100 HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nUser-Agent: axios/0.19.0\r\nHost: medium.com\r\nConnection: close\r\n\r\n',
     _onPendingData: [Function: noopPendingOutput],
     agent:
      Agent {
        _events: [Object],
        _eventsCount: 1,
        _maxListeners: undefined,
        defaultPort: 443,
        protocol: 'https:',
        options: [Object],
        requests: {},
        sockets: [Object],
        freeSockets: {},
        keepAliveMsecs: 1000,
        keepAlive: false,
        maxSockets: Infinity,
        maxFreeSockets: 256,
        maxCachedSessions: 100,
        _sessionCache: [Object] },
     socketPath: undefined,
     timeout: undefined,
     method: 'GET',
     path: '/@mate.starter/latest?format=json&limit=100',
     _ended: true,
     res:
      IncomingMessage {
        _readableState: [ReadableState],
        readable: false,
        _events: [Object],
        _eventsCount: 3,
        _maxListeners: undefined,
        socket: [TLSSocket],
        connection: [TLSSocket],
        httpVersionMajor: 1,
        httpVersionMinor: 1,
        httpVersion: '1.1',
        complete: true,
        headers: [Object],
        rawHeaders: [Array],
        trailers: {},
        rawTrailers: [],
        aborted: false,
        upgrade: false,
        url: '',
        method: null,
        statusCode: 403,
        statusMessage: 'Forbidden',
        client: [TLSSocket],
        _consuming: true,
        _dumped: false,
        req: [Circular],
        responseUrl:
         'https://medium.com/@mate.starter/latest?format=json&limit=100',
        redirects: [] },
     aborted: undefined,
     timeoutCb: null,
     upgradeOrConnect: false,
     parser: null,
     maxHeadersCount: null,
     _redirectable:
      Writable {
        _writableState: [WritableState],
        writable: true,
        _events: [Object],
        _eventsCount: 2,
        _maxListeners: undefined,
        _options: [Object],
        _redirectCount: 0,
        _redirects: [],
        _requestBodyLength: 0,
        _requestBodyBuffers: [],
        _onNativeResponse: [Function],
        _currentRequest: [Circular],
        _currentUrl:
         'https://medium.com/@mate.starter/latest?format=json&limit=100' },
     [Symbol(isCorked)]: false,
     [Symbol(outHeadersKey)]:
      [Object: null prototype] { accept: [Array], 'user-agent': [Array], host: [Array] } },
  response:
   { status: 403,
     statusText: 'Forbidden',
     headers:
      { date: 'Tue, 03 Sep 2019 18:30:13 GMT',
        'content-type': 'text/html; charset=UTF-8',
        'transfer-encoding': 'chunked',
        connection: 'close',
        'cf-chl-bypass': '1',
        'set-cookie': [Array],
        'cache-control': 'max-age=2',
        expires: 'Tue, 03 Sep 2019 18:30:15 GMT',
        'x-frame-options': 'SAMEORIGIN',
        'strict-transport-security': 'max-age=15552000; includeSubDomains; preload',
        'x-content-type-options': 'nosniff',
        'expect-ct':
         'max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"',
        server: 'cloudflare',
        'cf-ray': '5109cb2b9eb25009-DEN' },
     config:
      { url:
         'https://medium.com/@mate.starter/latest?format=json&limit=100',
        method: 'get',
        headers: [Object],
        transformRequest: [Array],
        transformResponse: [Array],
        timeout: 0,
        adapter: [Function: httpAdapter],
        xsrfCookieName: 'XSRF-TOKEN',
        xsrfHeaderName: 'X-XSRF-TOKEN',
        maxContentLength: -1,
        validateStatus: [Function: validateStatus],
        data: undefined },
     request:
      ClientRequest {
        _events: [Object],
        _eventsCount: 6,
        _maxListeners: undefined,
        output: [],
        outputEncodings: [],
        outputCallbacks: [],
        outputSize: 0,
        writable: true,
        _last: true,
        chunkedEncoding: false,
        shouldKeepAlive: false,
        useChunkedEncodingByDefault: false,
        sendDate: false,
        _removedConnection: false,
        _removedContLen: false,
        _removedTE: false,
        _contentLength: 0,
        _hasBody: true,
        _trailer: '',
        finished: true,
        _headerSent: true,
        socket: [TLSSocket],
        connection: [TLSSocket],
        _header:
         'GET /@mate.starter/latest?format=json&limit=100 HTTP/1.1\r\nAccept: application/json, text/plain, */*\r\nUser-Agent: axios/0.19.0\r\nHost: medium.com\r\nConnection: close\r\n\r\n',
        _onPendingData: [Function: noopPendingOutput],
        agent: [Agent],
        socketPath: undefined,
        timeout: undefined,
        method: 'GET',
        path: '/@mate.starter/latest?format=json&limit=100',
        _ended: true,
        res: [IncomingMessage],
        aborted: undefined,
        timeoutCb: null,
        upgradeOrConnect: false,
        parser: null,
        maxHeadersCount: null,
        _redirectable: [Writable],
        [Symbol(isCorked)]: false,
        [Symbol(outHeadersKey)]: [Object] },
     data:
      '<!DOCTYPE html>\n<!--[if lt IE 7]> <html class="no-js ie6 oldie" lang="en-US"> <![endif]-->\n<!--[if IE 7]>    <html class="no-js ie7 oldie" lang="en-US"> <![endif]-->\n<!--[if IE 8]>    <html class="no-js ie8 oldie"
lang="en-US"> <![endif]-->\n<!--[if gt IE 8]><!--> <html class="no-js" lang="en-US"> <!--<![endif]-->\n<head>\n<title>Attention Required! | Cloudflare</title>\n<meta name="captcha-bypass" id="captcha-bypass" />\n<meta charset="UTF-8"
/>\n<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n<meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1" />\n<meta name="robots" content="noindex, nofollow" />\n<meta name="viewport"
β Έ source and transform nodes
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] develop: `gatsby clean && gatsby develop`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the [email protected] develop 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!     /Users/patrickcpoole/.npm/_logs/2019-09-03T18_30_13_292Z-debug.log
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

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.