Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Since adding a static asset, HMR fails and development mode stops working #2819

Closed
kripod opened this issue Nov 6, 2017 · 62 comments
Closed

Comments

@kripod
Copy link
Contributor

kripod commented Nov 6, 2017

Using Windows 10 x64 with Node 8, I encounter the issue below quite often while trying to change a file in development mode (gatsby develop). I'm not sure about the cause, but the issue started when I added an asset to the project's /static directory.

 I  Your site is running at http://localhost:8000
 I  Your graphql debugger is running at http://localhost:8000/___graphql
info changed file at C:\Development\Projects\mvk-web\src\pages\gallery.jsx
 WAIT  Compiling...                                                                 00:16:17
error Plugin dev-404-page returned an error


  Error: EPERM: operation not permitted, open 'C:\Development\Projects\mvk-web\.cache\dev-40  4-page.js'

  - copy-file-sync.js:23 copyFileSync
    [mvk-web]/[fs-extra]/lib/copy-sync/copy-file-sync.js:23:18

  - copy-sync.js:43 Object.copySync
    [mvk-web]/[fs-extra]/lib/copy-sync/copy-sync.js:43:5

  - gatsby-node.js:34 _callee$
    [mvk-web]/[gatsby]/dist/internal-plugins/dev-404-page/gatsby-node.js:34:18

  - gatsby-node.js:51 Object.createPages
    [mvk-web]/[gatsby]/dist/internal-plugins/dev-404-page/gatsby-node.js:51:18

  - api-runner-node.js:104 runAPI
    [mvk-web]/[gatsby]/dist/utils/api-runner-node.js:104:36

  - api-runner-node.js:178
    [mvk-web]/[gatsby]/dist/utils/api-runner-node.js:178:33

  - map.js:27
    [mvk-web]/[gatsby]/[async]/internal/map.js:27:9

  - eachOfLimit.js:64 replenish
    [mvk-web]/[gatsby]/[async]/internal/eachOfLimit.js:64:17


 ERROR  Failed to compile with 1 errors                                             00:16:18
 error  in ./.cache/dev-404-page.js

Module build failed: Error: ENOENT: no such file or directory, open 'C:\Development\Projects\mvk-web\.cache\dev-404-page.js'

 @ ./.cache/sync-requires.js 11:53-123

info changed file at C:\Development\Projects\mvk-web\src\pages\gallery.jsx
 WAIT  Compiling...                                                                 00:16:22
error There was a problem reading the file: C:/Development/Projects/mvk-web/.cache/dev-404-page.js


  Error: ENOENT: no such file or directory, open 'C:\Development\Projects\mvk-web\.cache\dev  -404-page.js'

 ERROR  Failed to compile with 1 errors                                             00:16:23
 error  in ./.cache/dev-404-page.js

Module build failed: Error: ENOENT: no such file or directory, open 'C:\Development\Projects\mvk-web\.cache\dev-404-page.js'

 @ ./.cache/sync-requires.js 11:53-123

Done in 94.08s.
@KyleAMathews
Copy link
Contributor

Does the problem fix itself if you empty the static directory?

@KyleAMathews
Copy link
Contributor

Oh this could be the problem jprichardson/node-fs-extra#320

@KyleAMathews
Copy link
Contributor

Yeah I think we need to add the full path to the copy code here: https:/gatsbyjs/gatsby/blob/master/packages/gatsby/src/utils/copy-static-directory.js

@KyleAMathews
Copy link
Contributor

Could you test this and put together a PR if this fixes things?

@kripod
Copy link
Contributor Author

kripod commented Nov 7, 2017

Unfortunately, I’m currently not able to test it, but will do so as soon as possible. The project reproducing the issue can be found here.

@resir014
Copy link
Contributor

resir014 commented Nov 7, 2017

Having the same issue here, running Windows 10 x64.

@kripod
Copy link
Contributor Author

kripod commented Nov 8, 2017

@KyleAMathews Unfortunately, your solution didn't work, but I figured out that the root cause of the problem is located here:

Also, the following error message is shown for a tiny fraction of time on the frontend:

error

@KyleAMathews
Copy link
Contributor

@kripod yeah it looks like newPath isn't being generated correctly — looks like it has a space somehow in it — could you debug why that is?

@kripod
Copy link
Contributor Author

kripod commented Nov 15, 2017

@KyleAMathews Actually, I just put some console.log instructions inside node_modules/gatsby/dist/internal-plugins/dev-404-page/gatsby-node.js, and it resulted in the following output:

info changed file at C:\Development\Projects\mvk-web\src\pages\gallery.jsx
 WAIT  Compiling...                                                                 01:01:33

currentPath: C:\Development\Projects\mvk-web\node_modules\gatsby\dist\internal-plugins\dev-404-page\raw_dev-404-page.js
newPath: C:\Development\Projects\mvk-web\.cache\dev-404-page.js
error Plugin dev-404-page returned an error


  Error: EPERM: operation not permitted, open 'C:\Development\Projects\mvk-web\.cache\dev-40  4-page.js'

  - copy-file-sync.js:23 copyFileSync
    [mvk-web]/[fs-extra]/lib/copy-sync/copy-file-sync.js:23:18

>

So, I think there's no weird space character in any of those variables.

@KyleAMathews
Copy link
Contributor

There's two spaces in dev-40 4-page.js where it should be dev-404-page.js

@kripod
Copy link
Contributor Author

kripod commented Nov 15, 2017

Not sure how, because as you can see, I did the logging straight inside the aforementioned gatsby-node.js file, and I think the file copying operation happens just after logging.

@KyleAMathews
Copy link
Contributor

I'm confused :-) I'm just looking at what you put into the issue. I can't replicate what you're seeing.

@kripod
Copy link
Contributor Author

kripod commented Nov 15, 2017

I can reproduce the issue using the following procedure:

  1. Clone https:/simonyiszk/mvk-web and run yarn
  2. Run yarn develop
  3. Navigate to http://localhost:8000/teams
  4. Edit src/pages/teams.jsx, repeat until the issue reveals itself

@KyleAMathews
Copy link
Contributor

This is on windows? Can you replicate this on other systems?

@kripod
Copy link
Contributor Author

kripod commented Nov 15, 2017

The issue happens since implementing i18n support based on the following guide: https://www.gatsbyjs.org/blog/2017-10-17-building-i18n-with-gatsby/

And yes, I'm on Windows 10, haven't tried replicating on other systems yet.

@kripod
Copy link
Contributor Author

kripod commented Nov 15, 2017

Oh, by the way, the additional 2 spaces were because of console output formatting (wrapping the remaining string to be on a new line with 2 spaces of padding).

@Michael-Brooks
Copy link

I too am getting this issue when upgrading to versions 1.9.110 and 1.9.112, but it doesn't happen with my current version of 1.9.45. I haven't tried any versions in between, but thought I would give the official starter version a go and the latest to compare.

@szhshp
Copy link

szhshp commented Nov 16, 2017

Got same issue, cleaned .cache and public/static which does no help. Win10 64b

@szhshp
Copy link

szhshp commented Nov 16, 2017

For my scenario, seems the file dev-404-page.js is not generated correctly.
It throws an error when changing the file.
Create it in .cache manually could be a temporary solution.

@KyleAMathews
Copy link
Contributor

@szhielelp @Michael-Brooks the error seems to be windows specific — could you try debugging what's happening when the file copy fails? Would love a PR fixing things!

@kildareflare
Copy link

kildareflare commented Nov 19, 2017

I'm also seeing this repeatably. I have added some code to gatsby-node to download files from remote urls in order to process them. This all appears to work fine. However intermixed within the file results is an error related to the dev 404 page. It appears that this file is created multiple times and the first few pass, when it fails I've narrowed it down to this line in fs-extra/copy-file-sync.js:

const fdw = fs.openSync(destFile, 'w', stat.mode)

The logs preceding this spit out

newPath C:\Code\Freelance\twobobs_gatsby\.cache\dev-404-page.js
fs-extra/copyFileSync
srcFile: C:\Code\Freelance\twobobs_gatsby\node_modules\gatsby\dist\internal-plugins\dev-404-page\raw_dev-404-page.js
destFile: C:\Code\Freelance\twobobs_gatsby\.cache\dev-404-page.js

But there is clearly a space coming in from somwhere as this is the error in the console

 EPERM: operation not permitted, open 'C:\Code\Freelance\twobobs_gatsby\  .cache\dev-404-page.js'

I'm also on Windows 10 64.
node 6.11.3
fs-extra 4.02
full results here: https://gist.github.com/kildareflare/754fee0e2c8002b28afb16464504981f

I've seen this (or similar) in the past, but right now it is only occurring when I try to process the images.
If I remove the file download code (below) from onCreateNode, I don't see it.

   console.log(`node.internal.owner: ${node.internal.owner}: ${node.type}`)

    let slideshow = node.data.slideshow;

    if(slideshow && slideshow.length > 0) {
      console.log(`download images: () ${slideshow.length})`);

      //pull down all images and store locally
      slideshow.forEach( (image) => {
        createRemoteFileNode({
          url: image.photo.url,
          store,
          cache,
          createNode
        }).then((result) => {
          console.log(`FILE RESULT ===================================================================================`)
          console.log(result)
        })
      });
      //then we need to process eachimage and replace the original with the new processed image html
    }
    }

I'll keep digging...

Question Should dev-404 be created more than once?

@kildareflare
Copy link

kildareflare commented Nov 19, 2017

I have the same issue. also Windows 10 x64. Node 6.11.3.

I've traced it through and found the line causing the issue is

const fdw = fs.openSync(destFile, 'w', stat.mode)

in fs-extra/copy-file-sync.js.

I've seen this error before, but currently only getting it when running this code in onCreateNode.

      //pull down all images and store locally
      slideshow.forEach( (image) => {
        createRemoteFileNode({
          url: image.photo.url,
          store,
          cache,
          createNode
        }).then((result) => {
          console.log(`FILE RESULT ===================================================================================`)
          console.log(result)
        })
      });
      //then we need to process eachimage and replace the original with the new processed image html
    }

Full error log here: https://gist.github.com/kildareflare/754fee0e2c8002b28afb16464504981f

Log preceding the error spit out the following, which look OK

srcFile: C:\Code\twobobs_gatsby\node_modules\gatsby\dist\internal-plugins\dev-404-page\raw_dev-404-page.js
destFile: C:\Code\twobobs_gatsby\.cache\dev-404-page.js
destFile C:\Code\twobobs_gatsby\.cache\dev-404-page.js

But, the error message defeintly shows some extra spaces:

EPERM: operation not permitted, open 'C:\Code\twobobs_gatsby\  .cache\dev-404-page.js'

I've also noticed that when the error coccurs, the dev-404 page is created multiple times (see full log).
Whereas on runs that pass with no errors, the page is only created once.

Using fs-extra 4.0.2
Will keep digging.

@kildareflare
Copy link

kildareflare commented Nov 20, 2017

Updated to node 8.9 and now get a bit more error detail

ERROR  Failed to compile with 1 errors14:42:36

This dependency was not found:

* C:\Code\twobobs_gatsby\.cache\dev-404-page.js in ./.cache/sync-requires.js
To install it, you can run: npm install --save C:\Code\twobobs_gatsby\.cache\dev-404-page.js

But that said, I've now noticed that lots of my error messages have weird gaps in them.

 Invariant Violation: Encountered an error trying to infer a GraphQL typ  e for: "data.slideshow.localFile___NODE". There is no corresponding node with   the id field matching: "C:/Code/twobobs_gatsby/.cache/gatsby-source-  filesystem/f81b92fa02888e16aae3362f6dca8d8d.jpg absPath of file"

@Magneticmagnum
Copy link

I'm also running into this problem on a Windows 10 x64 machine :(

@Magneticmagnum
Copy link

Magneticmagnum commented Nov 21, 2017

Forgot to add: Emptying images I use in the project from the static folder will compile correctly. I also have other files in my static folder that I don't import in my pages.

kripod added a commit to simonyiszk/mvk-web that referenced this issue Nov 21, 2017
Waiting for gatsbyjs/gatsby#2819 to be resolved
@kripod
Copy link
Contributor Author

kripod commented Nov 21, 2017

Unfortunately, I'm still getting errors even after removing the static directory, cleaning the cache and re-donwloading node_modules.

@kripod
Copy link
Contributor Author

kripod commented Nov 29, 2017

I just started a new Gatsby project and observed that the wrong behavior starts when I add an imageSharp object to a GraphQL query. I think that the bug might be related to gatsby-plugin-sharp.

@resir014
Copy link
Contributor

@kripod Oddly enough, the problem exists for me even without gatsby-plugin-sharp.

@MaralS
Copy link

MaralS commented Dec 13, 2017

I'm facing to to same problem unfortunately. Anyone can help ?

@coulson84
Copy link

Unfortunately not - just npm installed 1.9.138 and still getting the same error :(

@coulson84
Copy link

Also on another unsurprising note the code change I mentioned above doesn't solve the problem. It just seems to reduce the chance of the issue showing.

@MaralS
Copy link

MaralS commented Dec 18, 2017

I tried to fix this issue with @coulson84 method but It didn't work. It's very frustrating.
When I encount this error, I have to stop with ctrl + c and run again yarn develop.

@KyleAMathews
Copy link
Contributor

Does this happen on every Gatsby site for y'all? Or just certain ones? Could someone try installing various starters and testing this?

Also, it seems this is a windows-only issue but to double-check, has anyone seen this on Mac?

@MaralS
Copy link

MaralS commented Dec 18, 2017

@KyleAMathews I will try on my Mac

@MaralS
Copy link

MaralS commented Dec 18, 2017

@KyleAMathews I confirm that this issue is specific to Windows x64

@waywardm
Copy link
Contributor

waywardm commented Jan 6, 2018

Im getting this error all the time on windows 64

ERROR Failed to compile with 1 errors 13:39:49
error in ./.cache/dev-404-page.js

Module build failed: Error: ENOENT: no such file or directory, open 'S:\gatsbysowerby.cache\dev-404-page.js'

@ ./.cache/sync-requires.js 15:53-106

info changed file at S:\gatsbysowerby\src\templates\business-listing.js
WAIT Compiling... 13:39:52
error There was a problem reading the file: S:/gatsbysowerby/.cache/dev-404-page.js

Error: ENOENT: no such file or directory, open 'S:\gatsbysowerby.cache\dev-404-page.js'

ERROR Failed to compile with 1 errors 13:39:52
error in ./.cache/dev-404-page.js

@waywardm
Copy link
Contributor

waywardm commented Jan 6, 2018

Error: EPERM: operation not permitted, open 'S:\gatsbysowerby.cache\dev-404-page.js'

  • copy-file-sync.js:23 copyFileSync
    [gatsbysowerby]/[fs-extra]/lib/copy-sync/copy-file-sync.js:23:18

  • copy-sync.js:43 Object.copySync
    [gatsbysowerby]/[fs-extra]/lib/copy-sync/copy-sync.js:43:5

  • gatsby-node.js:34 _callee$
    [gatsbysowerby]/[gatsby]/dist/internal-plugins/dev-404-page/gatsby-node.js:34:18

  • gatsby-node.js:51 Object.createPages
    [gatsbysowerby]/[gatsby]/dist/internal-plugins/dev-404-page/gatsby-node.js:51:18

  • api-runner-node.js:104 runAPI
    [gatsbysowerby]/[gatsby]/dist/utils/api-runner-node.js:104:36

  • api-runner-node.js:178
    [gatsbysowerby]/[gatsby]/dist/utils/api-runner-node.js:178:33

  • map.js:27
    [gatsbysowerby]/[gatsby]/[async]/internal/map.js:27:9

  • eachOfLimit.js:64 replenish
    [gatsbysowerby]/[gatsby]/[async]/internal/eachOfLimit.js:64:17

  • eachOfLimit.js:49 iterateeCallback
    [gatsbysowerby]/[gatsby]/[async]/internal/eachOfLimit.js:49:17

  • onlyOnce.js:12
    [gatsbysowerby]/[gatsby]/[async]/internal/onlyOnce.js:12:16

  • map.js:29
    [gatsbysowerby]/[gatsby]/[async]/internal/map.js:29:13

  • util.js:16 tryCatcher
    [gatsbysowerby]/[bluebird]/js/release/util.js:16:23

  • nodeify.js:23 Promise.successAdapter
    [gatsbysowerby]/[bluebird]/js/release/nodeify.js:23:30

  • promise.js:566 Promise._settlePromise
    [gatsbysowerby]/[bluebird]/js/release/promise.js:566:21

ERROR Failed to compile with 1 errors 13:50:05
error in ./.cache/dev-404-page.js

Module build failed: Error: ENOENT: no such file or directory, open 'S:\gatsbysowerby.cache\dev-404-page.js'

@kripod
Copy link
Contributor Author

kripod commented Jan 17, 2018

@KyleAMathews Is there a chance this could get fixed by v2? Are there any plans to refactor the HMR code, or should we keep investigating the issue even before the release of v2?

@KyleAMathews
Copy link
Contributor

@kripod would love to get this fixed but we still don't understand the underlying cause of the problem. It isn't something that needs to wait for v2. If you could investigate more to discover what's going wrong on windows, that'd be great!

@kripod
Copy link
Contributor Author

kripod commented Jan 17, 2018

I have already tried to find the reason once, but unfortunately, I couldn't. It's good to know that we should not expect a fix by v2, though.

@krachim
Copy link

krachim commented Jan 19, 2018

Hi there,

i have the same error on Windows x64. I tried to figure out why, but got no more time. My findings so far:
I guess it´s kind of a timing problem. When add a Filter to check if dest file is there in
./node_modules/gatsby/dist/internal-plugins/dev-404-page/gatsby-node.js:

const filterFunc = (src, dest) => {
  fs.access( dest, fs.constants.R_OK | fs.constants.W_OK, err => {
      if (err) {
        console.log(err)
        return false
      } else {
        return true
      }
    }
  )
}

fs.copySync(currentPath, newPath, { filter: filterFunc })

it seems to work without any error occuring.

another quick and dirty workarround is to change copySync to copy.
fs.copySync(currentPath, newPath);
in
fs.copy(currentPath, newPath);

both seems to work for me ...

Hope this helps someone.
Have a nice Day!

@kripod
Copy link
Contributor Author

kripod commented Jan 19, 2018

@op3d Thank you for the suggestions, I highly appreciate your effort! Actually, I think that the first solution could be applied as a temporary measure, combined with a re-scheduler queue which can store the file operations to be done as soon as the files are available.

@kripod
Copy link
Contributor Author

kripod commented Jan 19, 2018

The first solution didn't work for me, but using fs.copy instead of fs.copySync seems to solve the problem.

@KyleAMathews Is there any reason against using fs.copy? Because if there isn't, then I think that mitigating this issue would greatly improve the developer experience for Windows users.

EDIT: While the frequency of failures has decreased, errors still get thrown, even with fs.copy.

@KyleAMathews
Copy link
Contributor

@kripod yeah, definitely doesn't need to be copySync so if you think it helps, PR a change to fs.copy.

I guess it's kind of a timing problem. When add a Filter to check if dest file is there in

It's not a timing problem — the .cache directory always exists by the time the copy code is run. It's a permission issue that for some reason only crops up on windows.

@kripod
Copy link
Contributor Author

kripod commented Jan 19, 2018

@KyleAMathews What’s strange is that issue happens exclusively with internal-plugins/dev-404-page/gatsby-node.js. I remember that older versions of Gatsby didn’t have this issue. I think that the issue originates from the time between v1.9.25 and v1.9.45. A git blame may take us closer to a viable solution.

@waywardm
Copy link
Contributor

many thanks for looking further into this issue @kripod As someone with not too much technical knowledge where exactly do i change it to fs.copy

@resir014
Copy link
Contributor

@waywardm I'm currently applying the fixes suggested by @op3d @kripod and will put up a PR soon. Should be out in the next update.

@kripod
Copy link
Contributor Author

kripod commented Jan 20, 2018

I think I have fixed the issue for real, by changing the plugin loading order and awaiting fs.copy. I've tried to reproduce the bug with my fix in place, but couldn't. 😊

@waywardm
Copy link
Contributor

@kripod i would be willing to test it now if you could tell me what code to replace as it is currently making the development process no fun

@kripod
Copy link
Contributor Author

kripod commented Jan 20, 2018

@waywardm If you are using a fairly new version of Node (e.g. v8.9.3, which I am currently using), you could test the fix by applying the following modifications:

Please give us feedback, it would be very valuable!

@waywardm
Copy link
Contributor

@kripod

I can confirm the error has gone away, I do get one error but it doesn't prevent gatsby from compiling which is: (apologies for the long compile)

You can now view gatsby-starter-default 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

WAIT Compiling... 12:48:42
DONE Compiled successfully in 333ms 12:48:43
info changed file at S:\gatsbysowerbymark\src\pages\businesses\academydivers.md
WAIT Compiling... 12:48:50

             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/diverlogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/edenlogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/barfranlogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/chiropracticlogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/calderhouselogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/cobblestoneslogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/coversurelogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/dariologo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/firehouselogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/Fresh-Fields-Twitter.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/gabrielslogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/gimbalslogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/happydayslogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/jcjoellogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/justpeachlogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/metimelogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/simprintlogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/dpautologo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/sprayme.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/syhibalogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/temujinlogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/blindpiglogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/hobbitlogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/thesaltroomlogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/thewharfcafe.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/TFIX-Twitter-Logo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.


             The requested width "400px" for a resolutions field for
             the file S:/gatsbysowerbymark/src/images/businesslogos/trinkettelogo.png
             was wider than the actual image width of 300px!
             If possible, replace the current image with a larger one.

Accomodation
Bars
Alternative Therapy Massage
Bakeries
Barbers
Beauticians
Butchers
Cafes
Cards and Gifts
Charity Shops
Coffee Shops
Chiropractors
Cycle Shops
Clothing
Diy Shops
Diving Tuition
Dentists
Delicatessens
Eating Out
Fashion
Estate Agents
Electrical Appliances
Hairdressers
Flower Shops
Hair Salons
Hardware Shops
null
Health
null
Insurance Brokers
Key Cutters
Jewellery
Lettings Agents
Manicurists
Market Stalls
Manufacturing
null
Pubs
Opticians
null
Retailers
Printers
Sandwich Shops
Shoe Repairers
Sound and Vision
null
null
Tyre Fitters
Televisions
Vacuum Repairs
Vehicle Bodywork
Vehicle Repairs
ERROR Failed to compile with 1 errors 12:48:52
error in ./.cache/pages.json

Syntax Error: Unexpected end of JSON input
at JSON.parse ()

@ ./.cache/root.js 26:13-36

WAIT Compiling... 12:48:52
DONE Compiled successfully in 457ms 12:48:52

admin@DESKTOP-HK27D9K MINGW64 /s/gatsbysowerbymark (master)

however i'm not sure if that is related

KyleAMathews pushed a commit that referenced this issue Jan 20, 2018
* Fix images disappearing from rendered markdown files

Fixes #3608

* Revert invalid indentation changes

* Fix copying "dev-404-page.js" to the cache folder on Windows

Fixes #2819

* Fix snapshot tests

* Revert invalid improper snapshot test modification
jastack pushed a commit to jastack/gatsby that referenced this issue Jan 24, 2018
…s#3627)

* Fix images disappearing from rendered markdown files

Fixes gatsbyjs#3608

* Revert invalid indentation changes

* Fix copying "dev-404-page.js" to the cache folder on Windows

Fixes gatsbyjs#2819

* Fix snapshot tests

* Revert invalid improper snapshot test modification
calcsam pushed a commit that referenced this issue Mar 6, 2018
* Support URLs that end in SemVer ranges (#3305)

Fixes #3164.

* page path defaults to '/' (#3325)

* page path defaults to '/'

* Add test

* Use graymatter excerpt in gatsby-transformer-remark (#2883)

* Check for graymatter excerpt

Checks to see if there is a gray-matter excerpt before returning a
pruned character count

* Fix test

Remove a variable that wasn't being used

* Create page to describe excerpts

* Update using-remark example

* Remove package-lock.json

* Remove console.log statements

* Update copy

Updates copy to be a bit more descriptive

* Update header for example page

* Begin stubbing out extend-node.js tests

Created a basic framework for creating a markdown node via the
onCreateNode function. This should be expanded to factor in the changes
that occur in the setFieldsOnGraphQLNodeType function.

* Add query test

Adds a test that uses graphql to query a node with its excerpt

* Regroup tests

Regroups tests so that graphql queries and node tests are in their own
groups

* Fix linting errors

Fixes linting errors that were causing issues on travisCI

* Format

* handles integer with valida date format correctly (#3461)

* Upgrade style-loader to fix CSS modules issue (#3283)

* Upgrade style-loader to 0.19.0 to fix webpack-contrib/style-loader#182

* Update to last version

* format/bootstrap

* Publish

 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]

* Updated links for Glamor and Styled Components (#3462)

* Updated links for Glamor and Styled Components

* Update index.md

* Update tutorial.js

* Add link to the using-remark website

* Don't create pages for test files (#3464)

* Don't generate pages for test files

* Use parsedPath.base instead of path

* Add gatsby-source-behance to plugins list (#3465)

* activated mergeLinkHeaders (#3463)

* Add cache-control examples to caching docs page (#3468)

* Publish

 - [email protected]
 - [email protected]
 - [email protected]

* Revert "Upgrade style-loader to fix CSS modules issue (#3283)"

This reverts commit 834dcb8.

A number of people were reporting that this broke the default starter in
node 8 e.g. https://twitter.com/Lehanism/status/951397594953076737

* Publish

 - [email protected]

* Fix Links Redirection (#3471)

* Fix Links Redirection

* Fix Glamor Link Redirection

* Fix typo (#3470)

* Update tutorial-links.yml

* Cleanup Glamor / Styled Component mini-tutorials (#3474)

* Cleanup Glamor / Styled Component mini-tutorials

* Tweaks

* Fix typo in building with components section (#3476)

reusabilty => reusability

* Fix typo (#3477)

* Update Deploy Gatsby page - Gitlab Pages (#3482)

* Update Deploy Gatsby page - Gitlab Pages

Have made a few edits, mainly to include the Path Prefix plugin, which is needed when using Gitlab pages without a custom domain. This has basically been shamelessly copied from the Github pages example...
Also did a bit of formatting.

* fix typo

* correct key behavior (#3483)

* correct key behavior

* remove trailing slash logic

* remove adding new variable

* Publish

 - [email protected]
 - [email protected]
 - [email protected]

* Add Strata starter (#3488)

Add Strata starter to the list.

* Use `_.isPlainObject` to prevent false Array positives (#3490)

* Publish

 - [email protected]

* update styled-jsx dep in gatsby-plugin-styled-jsx (#3493)

* update styled-jsx dep in gatsby-plugin-styled-jsx

* move styled-jsx to peerDependencies in gatsby-plugin-styled-jsx

* Publish

 - [email protected]

* gatsby-image docs (#3500)

* Update CONTRIBUTING.md

small typo

* Update README.md

typo fixes and additional section

* Update awesome-gatsby.md

* Update README.md

* Easy edits based off of observing Eden go thru tutorials (#3501)

A few typo corrections and clarified wording. There are more big changes to address later.

*  [gatsby] don't run service-workers outside of https or localhost  (#3502)

* [gatsby] don't run service-workers outside of https or localhost
see: #3385

* add detail around running local changes to CONTRIBUTING.md

* Update CONTRIBUTING.md

* format

* format

* Publish

 - [email protected]
 - [email protected]

* Properly use `withPrefix` in adding-images-fonts-files docs (#3503)

I came across this while browsing through the documentation. The `withPrefix` import was left unused in the "escape hatch" example, which I'm pretty sure is not intentional.

* Create new npm keyword for gatsby components (#3507)

* Publish

 - [email protected]

* Fix typo in docs (#3511)

* Add Netlify CMS plugin, related docs (#3509)

* add Netlify CMS plugin

* add Netlify CMS guide

* add Netlify to deploy docs

* Update deploy-gatsby.md

* Publish

 - [email protected]

* Fix clone instructions (#3514)

* Publish

 - [email protected]

* Fix instructions for cloning the docs

* Search and replace the hostname in URLs. (#3498)

* Search and replace the hostname in URLs.
#3450

* Fixed code styling issues

* Missed backticks for the timers requirement

* Updated readme with search and replace options

* Removed async, wrapped json parse in a try catch and updated blacklist function

* Updated search and replace api and updated documentation

* Added logging for invalid search and replace option

* make option more explicit, updated default value & removed redundant logging

* Updated the variable name making it clearer

* Add documentation on adding list of blog posts (#3510)

* Add documentation on adding list of blog posts

* Update adding-a-list-of-markdown-blog-posts.md

* Import the component

* [DOCS] Adding Markdown pages: Remove useless fields (#3517)

* [DOCS] Adding Markdown pages: Remove useless fields

* Update adding-markdown-pages.md

* [DOCS] Links: Remove emphasis from implem stubs (#3518)

* [DOCS] Links: Remove emphasis from implem stubs

Some docs have been implemented but are still marked as stubs in the navigation drawer

* Update doc-links.yaml

* fix link (#3513)

* Add missing comma in sitemap example (#3520)

* Move inlined webpack manifest to the end of body element (#3519)

* Adds email capture to bottom of blog (#3333)

* Adds email capture to bottom of blog

* Adds email capture to bottom of blog

* Adds Mailchimp functionality

* Refactors postEmailToMailchimp method, updates cc

* updates rhythm css, installs & uses validator module

* Fiddle with design

* Fix `gatsby-plugin-nprogress` default options param (#3533)

* Fix default `pluginOptions` parameter

This PR fixes #3484

Correctly merge `defaultOptions` with `pluginOptions`

* Indent `styles` template string correctly

* Change default

* Format

* Publish

 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]

* Don't use internal name when reporting there's an error in gatsby-node.js fixes #2945 (#3536)

* Don't use internal name when reporting there's an error in gatsby-node.js fixes #2945

* Move var initialization into tighter scope

* can I code???

* Publish

 - [email protected]

* Add Developer Ecosystem to websites (#3540)

* Removes words like 'simple' & 'easy' from docs/www (#3523)

* Removes words like 'simple' & 'easy' from docs/www

* Additional optimizations

* Update gatsby-v1.md

* Update add-404-page.md

* Update gatsby-style-guide.md

* Update styled-components.md

* Update index.md

* Update index.md

* cpinnix/verious starter (#3543)

* Added verious-boilerplate to gatsby starters documentation.

* Added Charles Pinnix Website and Verious to Showcase.

* gatsby-plugin-sharp: Remove warning for resolutions when requested width and image width are equal (#3537)

* Add to instructions that you need gatsby-plugin-sharp fixes #3545 (#3547)

* Update katex package to 0.8.3 (#3548)

* add unique titles to docs, tutorial, blog (#3550)

* Fix typo in KaTeX usage example (#3549)

* format

* Publish

 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]

* [www] Fix <link rel=„author“> href (#3555)

* [www] Fix email-capture-form cross browser issues (#3553)

* pull shared <input>/<button> styles into constant
* add default background color
* add placeholder styles
* use Futura instead of Spectral for form inputs* help Safari rendering <button> and <input> at equal height (tested in v11.0.2)
* add focus styles
* add focus styles to CtaButton

* Add docs page with overview of Gatsby's usage of GraphQL (#3557)

* Add docs page with overview of Gatsby's usage of GraphQL

* Add missing word

* Debugging HTML Builds - fix copy&paste error (#3565)

the point of the code-demo is that if we wrap the module it does not fail

* Update outdated snapshot (#3566)

* Update readme with demo link (#3573)

* Move script loader after webpack manifest (#3569)

This should ensure that when any external scripts are loaded using
script loader, the webpack manifest is already present.

* Publish

 - [email protected]
 - [email protected]

* Added 'Steve Meredith's Portfolio' to 'Showcase' (#3576)

* City of Boston case study blog post (#3583)

* boston blog post

* blog v2

* Add Put.io landing page to showcase (#3580)

* Allow arrays with more than one file path & ignore empty strings (#3577)

* Publish

 - [email protected]

* Add search form to site (#3421)

* Add search form to site header

* Prevent sidebar from overlapping search results

* Override default search result styles

* Reduce size of mask image

* Prettier

* Add a class name for the DocSearch crawlers

As mentioned in the DocSearch signup message: #3097 (comment)

* Disable DocSearch's debug mode

* Capture default navigation events, replace with client-side navigation

* Add a second identifier class for DocSearch

* Improve mobile styles

* Improve styling

- Increase specificity so styles work in production build
- Tidy up layout at medium and small breakpoints
- Prettier

* Load external CSS after document body

* Some minor edits (#3586)

* Some minor edits

I also think it could be cool to explain just a few use cases that answer this question: "Why is GraphQL so cool?"

I also expected to see code examples for image stuff. Also, a random thing about colons that I learned last year is this:

a full sentence must precede the colon :)

* Tweak

* Add sample code showing off gatsby-image + image processing to query with GraphQL page (#3589)

* Add sample code showing off gatsby-image + image processing to query with GraphQL page

* Update querying-with-graphql.md

* Update README.md

* Improve documentation for createParentChildLink (#3594)

* Improve documentation for createParentChildLink

* Format

* edit

* Some updates to the awesome gatsby page (#3595)

* Add Ryan Wiemer's Portfolio to the showcase (#3578)

* Updated Plugins.md (#3593)

Added Gatsby Directus Source Plugin

* [www] Add gatsby-plugin-postcss-sass (#3590)

* [www] Improve docsearch UI for small devices (#3597)

* [www] Improve docsearch for small devices

* ditch css.global(…) and instead use css.insert() for all CSS overriding/building upon the stock docsearch.css – couldn’t figure out any advantages in using css.global over css.insert()
* full-width result list items and calmer subcategory titles for small devices
* „purpelize“ UI and replace a few more stock colors with equivalents from utils/presets
* slightly wider result dropdown for desktop and above
* remove result dropdown outer padding and fiddle with whitespace

* debug:false

* Add section why GraphQL is *cool* (#3606)

* [www] Increase navigation z-index (#3599)

Prevent the author link on blog post cards from showing above the new docsearch dropdown.

* Added `gatsby-plugin-bugherd` to community plugins (#3605)

* [gatsby-source-contentful] Delete original link regardless of ID validity (#3592)

* wip

* [gatsby-source-contentful] Delete original link regardless of presence of resolvable ID

* Publish

 - [email protected]
 - [email protected]
 - [email protected]

* Create new page docs/creating-hybrid-pages-with-static-and-dynamic-components.md (#3579)

* Update  docs/creating-and-modifying-pages.md to expand on the use of client-only routes to create a hybrid or "app-shell" Gatsby app

* + Split hybrid page docs into its own page and update linked pages

* Update creating-and-modifying-pages.md

* Update and rename creating-hybrid-pages-with-static-and-dynamic-components.md to building-apps-with-gatsby

* Update creating-and-modifying-pages.md

* Rename building-apps-with-gatsby to building-apps-with-gatsby.md

* Update README.md

* Update building-apps-with-gatsby.md

* Add link to new docs page

* Enable filtering on linked nodes (#3600)

Add support to filter on linked nodes.

Close #3190

* Update comment

* Publish

 - [email protected]
 - [email protected]

* Bundle Netlify CMS styles (#3611)

* define webpack loader.exclude with array for extensibility

* generate separate CSS bundle for Netlify CMS plugin

* Fix images disappearing from rendered markdown files (#3612)

* Fix images disappearing from rendered markdown files

Fixes #3608

* Revert invalid indentation changes

* Revert "Enable filtering on linked nodes" (#3613)

* Revert "Fix images disappearing from rendered markdown files (#3612)"

This reverts commit 01022ab.

* Revert "Bundle Netlify CMS styles (#3611)"

This reverts commit d19ec31.

* Revert "Publish"

This reverts commit 53f66a4.

* Revert "Update comment"

This reverts commit 2b22c2c.

* Revert "Enable filtering on linked nodes (#3600)"

This reverts commit 7120e5a.

* Publish

 - [email protected]
 - [email protected]
 - [email protected]

* Add yerevancoder (#3598)

* Fix gatsby-remark-image (#3620)

* Publish

 - [email protected]
 - [email protected]
 - [email protected]

* WordPress Media Download Basic Auth Fix (#3614)

* WordPress Media Download Basic Auth Fix

* format

* Publish

 - [email protected]
 - [email protected]
 - [email protected]

* Set default auth object

* Publish

 - [email protected]
 - [email protected]
 - [email protected]

* Improve checks on authentication so have wiggle room in future

* Publish

 - [email protected]
 - [email protected]
 - [email protected]

* Fix passing auth info to createRemoteFileNode (#3628)

* Fix copying "dev-404-page.js" to the cache folder on Windows (#3627)

* Fix images disappearing from rendered markdown files

Fixes #3608

* Revert invalid indentation changes

* Fix copying "dev-404-page.js" to the cache folder on Windows

Fixes #2819

* Fix snapshot tests

* Revert invalid improper snapshot test modification

* Publish

 - [email protected]

* Publish

 - [email protected]
 - [email protected]

* Tweak copy on the new building apps with gatsby docs page (#3631)

* Added gatsby-starter-lumen

* Add link to Gentics Mesh source community plugin (#3629)

* Add section about deploying with now to the docs (#3641)

* Add section to the deploy docs page for deploying to now

* Add section to the deploy docs page for deploying to now

* Add install code snippet

* Update deploy-gatsby.md

* docs: gatsby config options (#3095) (#3646)

* index.md (#3638)

* index.md

I am not the only one who got this problem. I think some other junior leaner will do the same. My English is poor.If the idea is good, please change it to correct spelling and grammar.
here is the question link: #1739

* Update index.md

* All the author info for Pierre (#3651)

I'm pretty sure I need to update the actual blog post. It's not in master branch on my computer yet, so will just edit it via web

* Strapi blog post content (#3618)

* Strapi blog post content

Avatar and bio still coming, will make those edits and edit yaml later

* Updated author info

Also I just realized that the images in here might not work if we don't have original files in the directory. Is this true, @kylemathews?

* Add tutorial series links to docs (#3634)

* Add tutorial series links to docs

* Update awesome-gatsby.md

* [WIP] Update Gatsbygram to make it work with current (unofficial) JSON API. (#3349)

* Update Gatsbygram to make it work with current (unofficial) JSON API.

* Revert back to previous data structure; add case study URL to README.

* Contributing (#3619)

* Contributing

Not sure if "adding unit or functional tests" makes sense. Took it from webpack example.

Also added your hierarchy of helpfulness under ### special note on issues. Don't know if the sentence introducing them is the best advice...

Also check the plugin naming convention.

Hope I'm getting the header levels right here.

There is some overlap here with the Gatsby style guide. I've got it on a to-do list to think through division of information between the two docs

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* Update CONTRIBUTING.md

* [gatsby-transformer-remark] Add `htmlAst` field (#3596)

This implements a GraphQL field that presents the rehype AST as JSON, allowing for this information to be consumed from a page template and presented dynamically.

* Publish

 - [email protected]

* Update building-apps-with-gatsby.md (#3653)

* fix extract-text--webpack-plugin instance reuse errors (#3652)

* Publish

 - [email protected]

* Minor change to tutorial part four index.md (#3649)

* Minor change to tutorial part four index.md

Changed one liner 2 steps to <ol> style.
More readable.

* Update index.md

* Added deploy task to gh-pages in Org pages (#3642)

Added the task to deploy to Github Pages in Organizations pages like organization.github.io

* Added community plugin: gatsby-plugin-pathdata (#3644)

* Add gatsby-starter-strict (#3645)

* blog: add getting started with gatsby and wordpress (#3647)

* blog: add getting started with gatsby and wordpress

* Make links local to gatsbyjs.org + a few other tweaks

* [www] Search shortcut (#3654)

* Add keyboard shortcut for focussing the search input

* Blur input on result selection

* Remove note about their being more parts to the tutorial (#3655)

* Remove note about their being more parts to the tutorial

We'll ship more stuff when we do. No reason to make it sound less than useful as it is.

* format

* Add images in Strapi tutorial (#3660)

* Add images in Strapi tutorial

* Remove package-lock.json files

* added gatsby ^1.0.0 as a peer dependency for all plugins (#3637)

* README showcase update (#3661)

* updated README with two of my gatsbyjs projects.

I hope this alright, if not I totally understand

* Updated README

fix space issue

* Add gatsby-starter-portfolio-emilia (#3664)

Also grouped both starters into one bulletpoint (as talked about on Discord) and changed some minor stuff.

* [gatsby-source-medium] fetch users and publications (#3623)

* Add support for fetching a users payload along with publications from Medium

* Update gatsby-source-medium readme, add note for @ for usernames

* Undo any changes to `links` variable

* Publish

 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]
 - [email protected]

* [gatsby-source-contentful] Make base64 query to field-level to speed up asset queries (#3617)

* [gatsby-source-contentful] Add withBase64 option to speed up image queries

* Revert "[gatsby-source-contentful] Add withBase64 option to speed up image queries"

This reverts commit bb080f7.

* remove base64 from resolveResponsiveResolution

* create base64 resolver

* update sizes, reset resize to original state

* update tests

* update resize and tests

* Publish

 - [email protected]

* show help and recommend when the command is wrong (#3668)

* Fix gatsby-starter-portfolio-emilia PR (#3667)

Seems like "Features" or something other is messing up the indentation and therefore messing up the whole idea of two sub-entries. So I just did two separate entries now.

* Add Flooring Factories Outlets to Showcase (#3666)

Added a website made for a client... built with gatsby / netlify :)

* Publish

 - [email protected]
 - [email protected]

* Add a podcast website/player to the showcase (#3672)

* [www] Update/consolidate palette, monogram and logo, favicons (#3639)

* #744c9e/116,76,158 -> #9966cc/102, 51, 153 (rebeccapurple)

* [WIP] Consolidate palette

* Ditch B100 in favor of B200

* Neutral diagram stripe color at least for now

* Fussing around with saturation

* Adjustting hues (still WIP ;-))

* Roll back all palette colors but brand/„B700“

* Throw in chroma.js, output presets.B*, chroma.js palette at /colors

* B200 -> B100
* B300 -> B200
* colors.b[0] -> B100
  * components/diagram „box“ border
  * layouts/index sidebar border-right

* Grab chroma-js from npm now that 1.3.6 is published

* Add redrawn monogram and logo (monogram + wordmark)

* remove gatsby-calm.svg for now – was only used on the blog page, where we’re for now using the regular monogram
* remove gatsby-negative.png, not in use – will regenerate the favicons that were probably based on this and add them ASAP
* remove gatsby-positive.svg, unused
* rename gatsby-negative.svg to monogram.svg, update it with the redrawn version
* replace logo and <h1> wordmark in components/navigation with the newly added logo.svg

* Update favicons

* fix apple-touch-icon.png, which had a transparent background which iOS resolves to black which looks 😒
* fix non-anti-aliased edges in all favicons
* add a white background for the „G and chopped edge“ shape of the favicon which was transparent before
* fix Safari pinned tab color

* Add hex2rgba, remove presets.shadowColor (matches presets.B500)

* Inherit text color

* Move colors from presets to colors

* Remove orange logo

* Bump favicon.ico

* Optimize favicons, update Windows tile icons

* Update manifest theme/background_color

* Remove some leftover anchors; invert logo for iOS, Windows tile

* Add Windows tile browserconfig.xml

* Oops

* Remove chroma (…), back to descriptive color names

* Make presets.calm pass WCAG AA

* Fix icon colors

* Remove presets.brandDark

* Add colors.gray

* :D

* Make presets.calm pass WCAG AA again

* rebeccapurple links in blog articles

* Fix logo offset

* Ditch colors.brand, add colors.ui, don’t litter colors in presets 🙄

* rename `brand` to `gatsby`
* expose `utils/colors` at `presets.colors`
* move UI colors to `colors.ui`
* add colors.success, colors.warning

* Update logo wordmark, optimize SVGs

* Update building-apps-with-gatsby.md

* Add plugins.js and searchbar-body.js for searching and displaying gatsby plugins

* Remove unneccesary css

* Removed package-lock.json and renamed plugins.js to packages.js

* Add algolia-npm search and url syncing

* Add background color  when plugin selected

* Fix doubling-up layout bug, add border to hits component, add margin to text in packages

* Remove unnecessary dependencies from package.json

* Remove withUrlSync.js

* Change Algolia link from Link to a tag

* Add gatsby-component as keyword search, change searchbox placeholder

* Add email-validator to package.json to merge with updated site

* Add source plugin to pull in npm package info, add metadata to cards and package detail page

* Remove results display when no results

* Remove multiple div

* Remove startes and filters from packages description

* Update searchbar styles

* Remove searchbar scroll

* Update packages.js

* Empty commit

* Empty commit

* Add plugins.js and searchbar-body.js for searching and displaying gatsby plugins

* Remove unneccesary css

* Removed package-lock.json and renamed plugins.js to packages.js

* Add algolia-npm search and url syncing

* Add background color  when plugin selected

* Fix doubling-up layout bug, add border to hits component, add margin to text in packages

* Remove unnecessary dependencies from package.json

* Remove withUrlSync.js

* Change Algolia link from Link to a tag

* Add gatsby-component as keyword search, change searchbox placeholder

* Add email-validator to package.json to merge with updated site

* Add source plugin to pull in npm package info, add metadata to cards and package detail page

* Remove results display when no results

* Remove multiple div

* Remove startes and filters from packages description

* Add plugins.js and searchbar-body.js for searching and displaying gatsby plugins

* Remove unneccesary css

* Removed package-lock.json and renamed plugins.js to packages.js

* Add algolia-npm search and url syncing

* Add background color  when plugin selected

* Fix doubling-up layout bug, add border to hits component, add margin to text in packages

* Remove unnecessary dependencies from package.json

* Remove withUrlSync.js

* Change Algolia link from Link to a tag

* Add email-validator to package.json to merge with updated site

* Add source plugin to pull in npm package info, add metadata to cards and package detail page

* Remove results display when no results

* Remove multiple div

* Remove startes and filters from packages description

* Update searchbar styles

* Remove searchbar scroll

* Update packages.js

* Empty commit

* Update template-docs to account for both local and remote packages

* Remove duplicate code

* Remove commented out code

* linting fixes to run tests

* removed package-lock

* minor fixes to html head, package.json description, TODO notes

* minor fixes across files in prep for merge

react-icons instead of svgs, updated gitignores for gatsby-node files

removed obsolete gatsby-source-npm that was refactored and renamed gatsby-source-npm-package-search

shortened css file

* removed unused icons

* removed unused gatsby-browser.js, used createNodeId on readmes

* conditional rendering for packages that aren't found, UI tweaks to search bar on wide screens

* plugin library mobile layout

* 2nd implementation of mobile ui

* Fix getting access to createNodeId

createNodeId is a utility library that's passed in and not an NPM package

* css deletions overhaul

* separate components for template doc packages

* using package readme component on template doc packages

* added missing dependencies (date-fns and react-instant-search) to package.json

* keeping undefined objects from being accessed with default values, conditional rendering of specific metadata not pulled by every package

* fix loadNodeContent error, remove old comments

* added infinite scroll for plugins

* highlighting results list with pagination fix

* refactor create page logic to make sure all packages have pages created, and added PropTypes and not found data so undefined errors don't break package readme template components
@clarkd
Copy link

clarkd commented Sep 12, 2018

I'm still seeing this issue on Windows:

PS C:\Users\Dave\Documents\Code Repository\docs> gatsby develop
success delete html and css files from previous builds — 0.718 s
success open and validate gatsby-config — 0.315 s
success copy gatsby files — 0.204 s
success onPreBootstrap — 1.985 s
success source and transform nodes — 2.446 s
success building schema — 1.551 s
success createLayouts — 0.050 s
success createPages — 0.746 s
error UNHANDLED REJECTION


  Error: EPERM: operation not permitted, open 'C:\Users\Dave\Documents\Code Repository\docs\.cache\dev-404-page.js'

Any ideas?

@Lelegithub
Copy link

Same error here, on Win10 x64 !
error There was a problem reading the file: C:/U***/gatsby-travel-website-v1/src/pages/destinationsf.js

Error: ENOENT: no such file or directory, open '

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

No branches or pull requests