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

[Bug] Can't clone & run repo #690

Open
rChaoz opened this issue Apr 19, 2024 · 0 comments
Open

[Bug] Can't clone & run repo #690

rChaoz opened this issue Apr 19, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@rChaoz
Copy link

rChaoz commented Apr 19, 2024

Describe the bug

Can't follow steps to run the site locally.

Steps to reproduce the behavior

  1. git clone
  2. yarn
  3. Sync the docs from the main repo
  4. yarn start:docs-only

Screenshots and/or logs

$ yarn start:docs-only
yarn run v1.22.22
$ GATSBY_DOCS_ONLY=true npm run develop

> gatsby-storybook-frontpage@1.0.0 develop
> gatsby develop -H 0.0.0.0

success compile gatsby files - 1.572s

 ERROR #10123  CONFIG

We encountered an error while trying to load your site's gatsby-config. Please fix the error and try again.

  Error: Cannot find module '../generated/versions/current/package.json'

Result of ls src/generated:

graphql.ts

It seems like there should be more stuff here, but there isn't.

Environment

  • OS: Windows 10, tried this both directly on Windows and with WSL
  • Node.js version: v16.20.2
  • NPM version: 8.19.4

Additional context

yarn build also fails with:

 ERROR #11321  PLUGIN

"gatsby-source-graphql" threw an error while running the createSchemaCustomization lifecycle:

Source GraphQL API: HTTP error 401 Unauthorized

  Error: Source GraphQL API: HTTP error 401 Unauthorized

  - fetch.js:11 exports.fetchWrapper
    [storybook-frontpage]/[gatsby-source-graphql]/fetch.js:11:11

  - task_queues:96 processTicksAndRejections
    node:internal/process/task_queues:96:5
/home/.../storybook-frontpage/node_modules/yoga-layout-prebuilt/yoga-layout/build/Release/nbind.js:53
        throw ex;
        ^

Error: write EPIPE
    at process.target._send (node:internal/child_process:874:20)
    at process.target.send (node:internal/child_process:747:19)
    at Object.<anonymous> (/home/.../storybook-frontpage/node_modules/gatsby-worker/dist/child.js:86:3)
    at Module._compile (node:internal/modules/cjs/loader:1198:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1252:10)
    at Module.load (node:internal/modules/cjs/loader:1076:32)
    at Function.Module._load (node:internal/modules/cjs/loader:911:12)
    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12)
    at node:internal/main/run_main_module:22:47
Emitted 'error' event on process instance at:
    at processEmit [as emit] (/home/.../storybook-frontpage/node_modules/signal-exit/index.js:199:34)
    at node:internal/child_process:878:39
    at processTicksAndRejections (node:internal/process/task_queues:78:11) {
  errno: -32,
  code: 'EPIPE',
  syscall: 'write'
}
@rChaoz rChaoz added the bug Something isn't working label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant