I am trying to contribute to Gatsby and followed the steps show in the website (twice). Both the times yarn test failed with exit code 1 ( see #21473 ) so I started working on the www directory straight away. But I can't run gatsby develop because of some error.
Steps to reproduce
Fork the repo
yarn run bootstrap
yarn test (fails with exit code 1)
Go to www directory and yarn install
gatsby develop
Expected result
Development server should start successfully.
Actual result
Go this error instead:
success open and validate gatsby-configs - 2.739s
success load plugins - 22.774s
success onPreInit - 0.144s
success initialize cache - 1.107s
success copy gatsby files - 0.347s
success onPreBootstrap - 0.086s
success createSchemaCustomization - 0.743s
ERROR
(node:6844) [DEP0066] DeprecationWarning: OutgoingMessage.prototype._headers is deprecated
Failed to screenshot https://gcn.netlify.com/. Retrying...
Failed to screenshot http://gatsby-lightbox.416serg.me. Retrying...
Failed to screenshot https://gatsby-tutorial-starter.netlify.com/. Retrying...
Failed to screenshot https://avivero.github.io/gatsby-redux-starter/. Retrying...
Failed to screenshot https://tender-raman-99e09b.netlify.com/. Retrying...
Failed to screenshot https://santosfrancisco.github.io/gatsby-starter-cv/. Retrying...
Failed to screenshot https://gatsby-starter-event-calendar.netlify.com/. Retrying...
Failed to screenshot https://traveler-blog.netlify.com/. Retrying...
Failed to screenshot https://inspiring-me-lwz7512.netlify.com/. Retrying...
Failed to screenshot https://saikrishna.me/. Retrying...
Failed to screenshot https://gatsby.ghost.org/. Retrying...
Failed to screenshot https://tyra-starter.netlify.com/. Retrying...
Failed to screenshot https://gatsby-snyung-starter.netlify.com/. Retrying...
Failed to screenshot https://gatsby-contentstack-starter.netlify.com/. Retrying...
Failed to screenshot https://gatsby-starter-buttercms.netlify.com/. Retrying...
Failed to screenshot https://gatsby-starter.mdbootstrap.com/. Retrying...
Failed to screenshot https://example-company-website-gatsby-sanity-combo.netlify.com/. Retrying...
Failed to screenshot https://gatsby-starter-santa-fe.netlify.com/. Retrying...
Failed to screenshot https://bluepeter.github.io/gatsby-material-ui-business-starter/. Retrying...
Failed to screenshot https://gatsby-starter-under-construction.netlify.com/. Retrying...
Failed to screenshot https://gatsby-starter-docz.netlify.com/. Retrying...
Failed to screenshot https://gatsby-hello-friend.now.sh. Retrying...
Failed to screenshot https://frosty-ride-4ff3b9.netlify.com/. Retrying...
Failed to screenshot https://lgcolella.github.io/gatsby-starter-developer-blog/. Retrying...
Failed to screenshot https://gatsby.magicsoup.io/. Retrying...
Failed to screenshot https://foxandgeese.github.io/tiny-agency/. Retrying...
Failed to screenshot https://gatsby-shopify-starter.netlify.com/. Retrying...
Failed to screenshot https://gatejs.netlify.com. Retrying...
Failed to screenshot https://agalp.imedadel.me. Retrying...
⠙ source and transform nodes
[= ] 155.208 s 67/1684 4% Generating image thumbnails
ERROR
UNHANDLED REJECTION EPERM: operation not permitted, lstat 'D:\Users\admin\Desktop\gatsby-1\www\.cache\gatsby-source-filesystem\tmp-f38ccb4d66dec3f1f0c34cd77fbb4616.png'
Error: EPERM: operation not permitted, lstat 'D:\Users\admin\Desktop\gatsby-1\www\.cache\gatsby-source-filesystem\tmp- f38ccb4d66dec3f1f0c34cd77fbb4616.png'
- polyfills.js:308 Object.lstatSync
[www]/[graceful-fs]/polyfills.js:308:16
- rimraf.js:237 Object.rimrafSync
[www]/[fs-extra]/lib/remove/rimraf.js:237:18
- create-remote-file-node.js:159 Timeout.handleTimeout [as _onTimeout]
[www]/[gatsby-source-filesystem]/create-remote-file-node.js:159:8
- timers.js:531 listOnTimeout
internal/timers.js:531:17
- timers.js:475 processTimers
internal/timers.js:475:7
Since I am not working on starter or site showcase, I set GATSBY_SCREENSHOT_PLACEHOLDER to true in .env.development and now I can start the development server. I'm closing this issue for now.
Description
I am trying to contribute to Gatsby and followed the steps show in the website (twice). Both the times
yarn test
failed with exit code 1 ( see #21473 ) so I started working on the www directory straight away. But I can't run gatsby develop because of some error.Steps to reproduce
yarn run bootstrap
yarn test
(fails with exit code 1)yarn install
gatsby develop
Expected result
Development server should start successfully.
Actual result
Go this error instead:
Environment