question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

graphql template generating an app crash and not running

See original GitHub issue

Describe the Bug (버그 설명)

Create a new project using typescript-express-starter cli for graphql

Version to Reproduce (현재 사용한 버전)

latest 9.2.0

Steps to Reproduce (재현 순서)

Expected Behavior (예상 동작)

App should initialize and run fine

Actual Behavior (실제 동작)

% npm run dev

> graphql-express-ts-2@0.0.0 dev
> cross-env NODE_ENV=development nodemon

[nodemon] 2.0.20
[nodemon] to restart at any time, enter `rs`
[nodemon] watching path(s): src/**/* .env
[nodemon] watching extensions: js,ts,json
[nodemon] starting `ts-node -r tsconfig-paths/register --transpile-only src/server.ts`
2022-10-25 14:50:27 info: =================================
2022-10-25 14:50:27 info: ======= ENV: development =======
2022-10-25 14:50:27 info: 🚀 App listening on the port 3000
2022-10-25 14:50:27 info: 🎮 http://localhost:3000/graphql
2022-10-25 14:50:27 info: =================================
[nodemon] app crashed - waiting for file changes before starting...

Issue Analytics

  • State:open
  • Created a year ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
hivelogic2018commented, Nov 13, 2022

Same issue, can you please fix ? thanks!

0reactions
vlance11commented, Nov 2, 2022

Hi this still doesn’t solve the other error users are getting @ljlm0402

UnhandledPromiseRejectionWarning: Error: Looks like you use an incorrect version of the ‘graphql’ package: “16.6.0”. Please ensure that you have installed a version that meets TypeGraphQL’s requirement: “^15.3.0”.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error handling - Apollo GraphQL Docs
A client sent the hash of a query string to execute via automatic persisted queries, but the query was not in the APQ...
Read more >
Five Common Problems in GraphQL Apps (And How to Fix ...
Solution: GraphQL Schema Generation. A number of solutions to this problem have emerged in the GraphQL ecosystem. For example, PostGraphile ...
Read more >
App crashes at startup (for release build) when using ... - GitHub
App crashes at startup when using Datastore(GraphQL api). It occurs only for release build. In debug and profile build, app functions normally.
Read more >
Apollo error handling - why react app crashes? - Stack Overflow
However, I did not find anywhere in apollo docs any mentions about the need to always catch GraphQL errors such way.
Read more >
Causes of Heroku H10-App Crashed Error And How To Solve ...
Ran into same error message. app was deploying successfully but not opening. ... restored the actual file and it started working. Somehow, if...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found