-
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
generate doesn't like spaces in project path #1030
Comments
@pantharshit00: @nicke has the spaces in the project path itself, not the |
@janpio in project path itself. output isn‘t set. |
Hi, the problem happens in "@prisma/photon@2.0.0-preview018.1 postinstall" |
@divyenduz This is still an issue, I'm on a windows machine and get this error when generating with a file path that has a space. In my case my user name for my work laptop is my first name with a space and then a last name.
|
@Xaedblade We had a similar report here: #1642 (comment) Please let me know if that is the same issue and if you are also using WSL |
@Xaedblade I am on Windows and can possibly reproduce this. What node version are you using? What are the exact commands that lead to that problem? |
Hey @janpio Im on node 10.16.3 |
@pantharshit00 No, I'm just running in git bash terminal on vs code. I think it may have something to do with single and double quotes nor maybe not placing quotes at all? |
@pantharshit00 We should probably create a user with a space in one of our VMs we are using. Do not really want to mess up my local system ;) |
I was able to find the issue on this. It appears that another package was updating the prisma client causing the issue. Thanks for looking into this! |
Uh, can you elaborate a bit on that? Sounds interesting and we probably should be aware that this can happen and what it would look like, so we can identify this in the future if it happens to someone else. |
yes, I was using prisma-mulit-tenant and it rewrites the client file. So the issue was with that code rather then the original code. |
Linking the upstream issue here: Errorname/prisma-multi-tenant#22 |
I noticed that prisma2 generate doesn't work when path contains spaces on MacOS.
The text was updated successfully, but these errors were encountered: