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
does not work in folders with spaces
#1973
Comments
I can confirm this on my windows machine as well. |
This issues holds true for a mac as well. |
Confirming, on Mac OS 10.14.1 with Prisma 2 beta 1 {
"name": "api-server-experemental",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC",
"devDependencies": {
"@prisma/cli": "^2.0.0-beta.1",
"@types/node": "^13.11.0",
"ts-node": "^8.8.1",
"typescript": "^3.8.3"
},
"dependencies": {
"@prisma/client": "^2.0.0-beta.1"
}
} I store my projects in folder "VSCode Projects", and just by following quickstart tutorial got same error, here is debug log:
After changing folder name to "VSCodeProjects" it works fine. Versions:
|
generate
does not work in folders with spacesgenerate
does not work in folders with spaces
Can confirm. Same issue on OSX with Prisma 2 beta 2 |
I have been struggling with this issue for the better part of the day, and I can't believe it was as simple as removing a space from the parent path. Works for me now on Mac, thanks so much! |
Thanks a lot for reporting 🙏 In case it’s not fixed for you - please let us know and we’ll reopen this issue! |
We should add a test for this |
This seems to be broken again. Plus, there's still no test for this specific case (created a dedicated issue for adding a test). |
with
DEBUG=*
set:After renaming the folder to not contain spaces, everything works:
version:
The text was updated successfully, but these errors were encountered: