Skip to content

issue with schema generation #2

@tipbr

Description

@tipbr

Cloned template. Ran npm install.

Console error:

> nextjs-starter-kit@0.1.0 prepare
> npx simple-git-hooks && npm run generate-schema

[INFO] Successfully set the pre-commit with command: npm run format
[INFO] Successfully set all git hooks

> nextjs-starter-kit@0.1.0 generate-schema
> dotenv -c -- bash -c 'gql.tada generate schema https://graphql.datocms.com --header "X-Exclude-Invalid: true" --header "Authorization: $DATOCMS_PUBLISHED_CONTENT_CDA_TOKEN"'

/bin/bash: -c: line 1: unexpected EOF while looking for matching `"'
/bin/bash: -c: line 2: syntax error: unexpected end of file
npm ERR! code 2
npm ERR! path C:\Users\{{user}}\Documents\Projects\dato-frontend
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c npx simple-git-hooks && npm run generate-schema

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions