ReactとGraphQLでアプリ作成をしています.
npm run dev
を実行すると,以下のような注意が出てきてしまいます.
[ '[WARNING] in prisma.yml: A valid environment variable to satisfy the declaration \'env:PRISMA_ENDPOINT\' could not be found.' ] (node:25608) UnhandledPromiseRejectionWarning: Error: No cluster set. Please set the "cluster" property in your prisma.yml at C:\Users\username\Advanced-React\sick-fits\backend\node_modules\graphql-cli\node_modules\graphql-config-extension-prisma\src\index.ts:235:11 at step (C:\Users\username\Advanced-React\sick-fits\backend\node_modules\graphql-cli\node_modules\graphql-config-extension-prisma\dist\index.js:43:23) at Object.next (C:\Users\username\Advanced-React\sick-fits\backend\node_modules\graphql-cli\node_modules\graphql-config-extension-prisma\dist\index.js:24:53) at fulfilled (C:\Users\username\Advanced-React\sick-fits\backend\node_modules\graphql-cli\node_modules\graphql-config-extension-prisma\dist\index.js:15:58) at C:\Users\username\Advanced-React\sick-fits\backend\node_modules\graphql-cli\node_modules\graphql-config-extension-prisma\src\index.ts:235:11 at step (C:\Users\username\Advanced-React\sick-fits\backend\node_modules\graphql-cli\node_modules\graphql-config-extension-prisma\dist\index.js:43:23) at Object.next (C:\Users\username\Advanced-React\sick-fits\backend\node_modules\graphql-cli\node_modules\graphql-config-extension-prisma\dist\index.js:24:53) at fulfilled (C:\Users\username\Advanced-React\sick-fits\backend\node_modules\graphql-cli\node_modules\graphql-config-extension-prisma\dist\index.js:15:58) ther by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) (node:25608) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
何がいけないのでしょうか?
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。