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.

pmt init leads to error

See original GitHub issue

Hey there!

I’m trying to set up pmt so I am able to access two databases in the same app through prisma.

After installing prisma-multi-tenant, running pmt init and giving it the management db url, it hits an Cannot read property 'plural' of undefined at the Creating example script… step.

I am also getting this warning when going through init Warning: This version of prisma-multi-tenant is compatible with @prisma/cli@2.4.1, but you have @prisma/cli@2.10.1 installed. This may break in unexpected ways.

My local and globally installed @prisma/cli are at v2.4.1, so I’m not sure why this shows up even. Not sure if this could be related to the init error?

I’ve reinstalled all packages multiple times and I’m really at a loss at what to do here.

// global
// deps
"@prisma-multi-tenant/client": "^2.3.1",
"@prisma/client": "^2.9.0",
// dev dep
"@prisma/cli": "2.4.1",

Any nudge in the right direction is greatly appreciated.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

jaanehcommented, Nov 1, 2020

We have a multi-tenancy-example.js file! Appreciate the help 😃

Errornamecommented, Nov 1, 2020

It should now be fixed with pmt@2.4.2

Read more comments on GitHub >

github_iconTop Results From Across the Web

Creating a Server Profile fails while using a Roaming Profile
The error message PMT: An error has occurred. See the log file \\Redirected_Profile\PMT\workspace\configuration\log as in the following ...
Read more >
Error Codes - Service | Concept2
This error code is related to improper voltage reading, most likely related to loose batteries due to a poorly fitting battery door. Resolution....
Read more >
Getting error when importing BP records from Excel
Hi, I am familiar with importing from Excel into SAP using Admin>Data Import/Export, so I very puzzled by an error message. Row Number...
Read more >
1 - Stack Overflow
ERROR: Could not install packages EnvironmentError: 'user/python3.8/site-packages/pip-20.2.3.dist-info/RECORD' ; /Users/pmt/bin/python ---- ...
Read more >
Message Passing - GNU Radio Wiki
The message passing interface heavily relies on Polymorphic Types (PMTs) in GNU ... This is due to the asynchronous nature of messages: The...
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 Post

No results found

github_iconTop Related Hashnode Post

No results found