-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prisma2 dev 'cannot destructure property "dmmf"' #999
Comments
The stack trace (of the Gist) seems to correspond to the same trace as this error #919. |
Hi. This is the same error ( |
Can you please all try this again with the latest preview(preview017)? The binary names that you have mentioned are referring to the old names so I think you are using an old version of Prisma 2. If you on Linux, please use this command to install prisma2(if you don't have nvm or similar tool or haven't set the permission of npm global bin properly):
|
Update: I am able to reproduce this on windows with the latest alpha: prisma2@2.0.0-alpha.360, binary version: 6159bf3 I will check on mac as well with the latest alpha. |
I am unable to reproduce this on mac though |
i also installed prisma2@alpha, but not changed, at vmware - centos 7, postgres |
I just encountered this while running The issue can be reproduced by cloning this repo, installing the dependencies and then running |
I'm having this exact issue when trying to run within a docker environment. Here's a repo, it is the prisma2 hello starter where I added a Dockerfile and docker-compose.yml. In this case, I'm using https://github.com/CaptainChemist/prisma2-17.1-enoent-err If you download the project and then run The problem is that when I run I'm not sure why that is looking for a different query engine. In any case, hopefully running in a docker container will allow people on different platforms to have the same environment, but that's interesting that people are seeing the same issue outside of debian docker instances. Update- I get the same behavior when I install prisma2 globally and when I install prisma2 locally and use npx. @pantharshit00 I see the same behavior that you were seeing where this works great on my mac when I'm outside the docker environment. |
I can confirm this on linux, see #993 (comment) |
Thanks a lot for your input everyone! We just released a new alpha, which should fix this issue in the |
Thanks @tmfprlt1234! The big plus should be gone now in the latest alpha (369). |
@BiscuiTech Please open a new issue and someone will take a look into reproducing this. Thanks. |
I am recently having this issue where running
prisma2 dev
seems to work fine. The interface at lh/5555 loads up but shows "getting things ready" for about 5 minutes. Then, this error happens:In the console, i get this:
Failed to generate Photon client: Error: Error: Command failed with ENOENT: /home/biscuitech/.nvm/versions/node/v13.1.0/lib/node_modules/prisma2/query-engine-linux-glibc-libssl1.1.0 cli --dmmf spawn /home/biscuitech/.nvm/versions/node/v13.1.0/lib/node_modules/prisma2/query-engine-linux-glibc-libssl1.1.0 ENOENT
I can't seems to make prisma2 dev work.
Before trying prisma2 dev, I ran prisma2 lift save & up with sucess. But after running prisma2 dev, I have this error on
lift up
:https://gist.github.com/BiscuiTech/4fc7058b55379ed6fec13c2f6f8f107c
After trying prisma2 dev again, it crashes right away with this error:
The text was updated successfully, but these errors were encountered: