menu

Prisma

🔴 The Prisma Spectrum community is not officially managed by Prisma's support team any more. Please seek help on GitHub or on Slack instead. Learn more: https://spectrum.chat/prisma/general/where-and-how-to-best-seek-help-with-questions-problems~687a1b8f-8658-4df3-8849-ea5ab3503f28

Channels
Chat
view-forward
# All channels
view-forward
# General
view-forward
# Beta
view-forward
# Community
view-forward
# GraphQL
view-forward
# OSS
view-forward
# Random
view-forward
Team
Posts
Chat
Members
Info
Show previous messages

May 30, 2019 at 10:53pm
i'm following the starting docs in prisma latest verion 1i'm following the starting docs in prisma latest verion 1.34.upon executing the code "node index.js" it is alerting an error of cannot find the module '../generated/prisma-client' please do help
  • reply
  • like

June 6, 2019 at 6:00pm
Hi there! I’m getting this error java.sql.SQLSyntaxErrorException: (conn=4) Unknown column 'Alias.text' in 'field list' I can’t figure it put how to fix it. I already reset the data, force deploy but anything seems to work
  • reply
  • like

June 7, 2019 at 10:33am
Is it possible to build a prisma server infront of an existing dotnet GraphQL service? I am really interested in using the prisma admin tool.
  • reply
  • like

June 8, 2019 at 9:53pm
hi im new user and i want to try prisma, but i see prisma 2 ->19 june, i want to know if prisma 1.30 will be compatible with prisma 2 (update v1 -> v2), or if i need to wait prisma 2 thanks
Edited
  • reply
  • like

June 13, 2019 at 9:29pm
hello
  • reply
  • like
Is anyone here?
  • reply
  • like
I have a problem with prisma deploy
  • reply
  • like

June 14, 2019 at 7:30pm
i'm here
  • reply
  • like
a day late :P
  • reply
  • like

June 18, 2019 at 12:11pm
If anyone's awake in here: The "create a new database" flow on the admin panel in prisma seems to be broken, I can't link my existing heroku account, it just gives me a "Invalid credentials" error as soon as i hit "create", any ideas?
  • reply
  • like

June 19, 2019 at 1:06am
Hi all!
  • reply
  • like
I'm having the following issue after following Get Started with an existing database. My setup is as follows:
  • Windows 10: WSL Ubuntu 18 or standard CMD
  • Prisma CLI: prisma/1.34.0 (linux-x64) node-v10.16.0
  • MySQL: Community Server 5.7 running on port 3309
Stack Trace:
[email protected]:/mnt/c/Users/user1/Documents/Projects$ prisma init ps-graphql
command Failed to get the definition file +0ms
command Error: Couldn’t find `prisma.yml` file. Are you in the right directory? +2ms
init prisma init workflow called without existing directory. +0ms
init Error: ENOENT: no such file or directory, scandir '/mnt/c/Users/user1/Documents/Projects/ps-graphql/' +1ms
client Sending query to cloud api +0ms
client https://api2.cloud.prisma.sh +0ms
client {
client me {
client id
client name
client login {
client email
client }
client }
client } +1ms
client undefined +1ms
client { headers:
client { Authorization:
client 'Bearer xxxxxxxxxxx.xxxxxxxxxxxxxxxxxxx.xxxxxxxxxxxxxxxxx' },
client agent: undefined } +1ms
endpoint-dialog EndpointDialog workflow called without existing directory. +937ms
endpoint-dialog Error: ENOENT: no such file or directory, scandir '/mnt/c/Users/user1/Documents/WORK/KHPH-INC/Projects/ps-graphql/' +0ms
? Set up a new Prisma server or deploy to an existing server? Use existing database
? What kind of database do you want to deploy to? MySQL
? Does your database contain existing data? Yes
? Enter database host localhost
? Enter database port 3309
? Enter database user dbuser
? Enter database password [hidden]
Introspecting database prestashop... !
TypeError: Cannot read property 'type' of undefined
at _loop_3 (/mnt/c/Users/user1/AppData/Roaming/npm/node_modules/prisma/node_modules/prisma-db-introspection/src/databases/relational/relationalIntrospectionResult.ts:348:28)
at MysqlIntrospectionResult.RelationalIntrospectionResult.hideJoinTypes (/mnt/c/Users/user1/AppData/Roaming/npm/node_modules/prisma/node_modules/prisma-db-introspection/dist/databases/relational/relationalIntrospectionResult.js:552:17)
at MysqlIntrospectionResult.RelationalIntrospectionResult.infer (/mnt/c/Users/user1/AppData/Roaming/npm/node_modules/prisma/node_modules/prisma-db-introspection/src/databases/relational/relationalIntrospectionResult.ts:504:18)
at MysqlIntrospectionResult.RelationalIntrospectionResult.getDatamodel (/mnt/c/Users/user1/AppData/Roaming/npm/node_modules/prisma/node_modules/prisma-db-introspection/src/databases/relational/relationalIntrospectionResult.ts:53:17)
at MysqlIntrospectionResult.IntrospectionResult.getNormalizedDatamodel (/mnt/c/Users/user1/AppData/Roaming/npm/node_modules/prisma/node_modules/prisma-db-introspection/src/common/introspectionResult.ts:23:24)
at EndpointDialog.<anonymous> (/mnt/c/Users/user1/AppData/Roaming/npm/node_modules/prisma/node_modules/prisma-cli-core/src/utils/EndpointDialog.ts:409:44)
at step (/mnt/c/Users/user1/AppData/Roaming/npm/node_modules/prisma/node_modules/prisma-cli-core/dist/utils/EndpointDialog.js:43:23)
at Object.next (/mnt/c/Users/user1/AppData/Roaming/npm/node_modules/prisma/node_modules/prisma-cli-core/dist/utils/EndpointDialog.js:24:53)
at fulfilled (/mnt/c/Users/user1/AppData/Roaming/npm/node_modules/prisma/node_modules/prisma-cli-core/dist/utils/EndpointDialog.js:15:58)
at process._tickCallback (internal/process/next_tick.js:68:7)
output Exiting with code: 1 +0ms
  • reply
  • like
I noticed that a similar issue in GH has been closed. Is there something I'm missing?
  • reply
  • like

June 20, 2019 at 6:23pm
hello is there any tutorial on configuring more than one database currently i coan onlywork with dthe default database , i added more databases to PRISMA_CONFIG but im unable to deploy service to use them
  • reply
  • like
  • reply
  • like
so only default database is working prisma cli deployed correctly to default db but i cant deploy a service to the other database(called regasis) in PRISMA_CONFIG how to do it ?
  • reply
  • like

July 6, 2019 at 11:35am
Hello, I am facing one problem, my server is running on http://localhost:4466 but prisma deploy is not working
  • reply
  • like
Second screenshot
  • reply
  • like
  • reply
  • like
  • reply
  • like

July 8, 2019 at 12:28pm
and after executing below command prisma init getting error as
  • reply
  • like
  • reply
  • like

July 10, 2019 at 8:29am
Show more messages