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

Unable to run yarn start when hosting server. #3

Open
popey456963 opened this issue May 1, 2022 · 0 comments
Open

Unable to run yarn start when hosting server. #3

popey456963 opened this issue May 1, 2022 · 0 comments

Comments

@popey456963
Copy link

Whrn running:

yarn install
yarn db:start
npx prisma migrate dev
yarn codegen
yarn build
yarn start

I get the following error:

codefined@ns321276:~/dev/tinycounter$ yarn start
yarn run v1.22.15
$ NODE_ENV=production node dist/server.js
/home/codefined/dev/tinycounter/node_modules/@graphql-tools/load/index.js:561
        throw new Error(`
        ^

Error: 
      Unable to find any GraphQL type definitions for the following pointers:
        
          - /home/codefined/dev/tinycounter/dist/graphql/schema.graphql
          
    at prepareResult (/home/codefined/dev/tinycounter/node_modules/@graphql-tools/load/index.js:561:15)
    at loadTypedefsSync (/home/codefined/dev/tinycounter/node_modules/@graphql-tools/load/index.js:555:12)
    at loadSchemaSync (/home/codefined/dev/tinycounter/node_modules/@graphql-tools/load/index.js:634:21)
    at Object.<anonymous> (/home/codefined/dev/tinycounter/dist/graphql/index.js:9:44)
    at Module._compile (node:internal/modules/cjs/loader:1101:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
    at Module.load (node:internal/modules/cjs/loader:981:32)
    at Function.Module._load (node:internal/modules/cjs/loader:822:12)
    at Module.require (node:internal/modules/cjs/loader:1005:19)
    at require (node:internal/modules/cjs/helpers:102:18)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Running Node v16 on Linux / Ubuntu.

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

1 participant