Open mnts opened 3 years ago
Error: Cannot find module '../../config/chap-app27-firebase-adminsdk-1i7ch-48b0700d0e.json' Require stack:
- /src/schema/resolvers/messageResolvers.ts
- /src/schema/index.ts
- /src/tools/startServer.ts
- /src/index.ts
Hi, have you resolved the issue? i want to try out this chat app server, but i'm facing the same problem you mentioned.
UPDATE
I have resolved the issue, the Chat App working now, both server and client.
All you have to do to run this server is configuring Firebase Admin SDK and create .env file in the project root containing JWT_SECRET_TOKEN. Then update the server address in the client side.
Many thanks for the author, great app to explore as i'm learning with flutter and graphql.
UPDATE
I have resolved the issue, the Chat App working now, both server and client.
All you have to do to run this server is configuring Firebase Admin SDK and create .env file in the project root containing JWT_SECRET_TOKEN. Then update the server address in the client side.
Many thanks for the author, great app to explore as i'm learning with flutter and graphql.
Hi, how u deployed server side? I'm trying to deploy on Heroku but it gives me error about "nodemon"
UPDATE I have resolved the issue, the Chat App working now, both server and client. All you have to do to run this server is configuring Firebase Admin SDK and create .env file in the project root containing JWT_SECRET_TOKEN. Then update the server address in the client side. Many thanks for the author, great app to explore as i'm learning with flutter and graphql.
Hi, how u deployed server side? I'm trying to deploy on Heroku but it gives me error about "nodemon"
As you not mention what error is shown exactly. Then check the Dockerfile, make sure you're using Alpine with NodeJS version 12, not the latest version instead, just some issue with dependencies version incompatibility.
FROM node:12-alpine
UPDATE I have resolved the issue, the Chat App working now, both server and client. All you have to do to run this server is configuring Firebase Admin SDK and create .env file in the project root containing JWT_SECRET_TOKEN. Then update the server address in the client side. Many thanks for the author, great app to explore as i'm learning with flutter and graphql.
Hi, how u deployed server side? I'm trying to deploy on Heroku but it gives me error about "nodemon"
As you not mention what error is shown exactly. Then check the Dockerfile, make sure you're using Alpine with NodeJS version 12, not the latest version instead, just some issue with dependencies version incompatibility.
FROM node:12-alpine
Where i can get JWT_SECRET_TOKEN? I should put it like code below?
JWT_SECRET_TOKEN = "blablabla"
UPDATE I have resolved the issue, the Chat App working now, both server and client. All you have to do to run this server is configuring Firebase Admin SDK and create .env file in the project root containing JWT_SECRET_TOKEN. Then update the server address in the client side. Many thanks for the author, great app to explore as i'm learning with flutter and graphql.
Hi, how u deployed server side? I'm trying to deploy on Heroku but it gives me error about "nodemon"
As you not mention what error is shown exactly. Then check the Dockerfile, make sure you're using Alpine with NodeJS version 12, not the latest version instead, just some issue with dependencies version incompatibility.
FROM node:12-alpine
Where i can get JWT_SECRET_TOKEN?
you can generate by yourself. You can use randomized string for better approach, not a plain words. For example you can generate them here https://www.grc.com/passwords.htm
Error: Cannot find module '../../config/chap-app27-firebase-adminsdk-1i7ch-48b0700d0e.json' Require stack: