Skip to content
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

[2.0.0-preview017, Win10] Error with global npm install of 'prisma2' CLI #987

Closed
d2kx opened this issue Nov 25, 2019 · 6 comments
Closed
Assignees
Labels
bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug.
Milestone

Comments

@d2kx
Copy link

d2kx commented Nov 25, 2019

On Windows 10, I get an error immediately when I try to install the newest version of the Prisma Framework CLI (2.0.0-preview017).

prisma2

"TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string. Received type undefined"

I haven't tried yet, but I guess it won't be a problem if I try installing using WSL, as it looks like another case of a Windows-specific file access issue.

@timsuchanek
Copy link
Contributor

Thanks a lot for reporting @d2kx! We're looking into it and will probably release a patch tomorrow.

@timsuchanek timsuchanek self-assigned this Nov 25, 2019
@timsuchanek timsuchanek added bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug. labels Nov 25, 2019
@timsuchanek timsuchanek added this to the Preview 18 milestone Nov 25, 2019
@pantharshit00
Copy link
Contributor

Hi,

Thanks for reporting this but this has been already reported once. So I am going to close this as a duplicate of #985

@timsuchanek
Copy link
Contributor

@pantharshit00 this issue has to do with the cache directory and is, therefore, unrelated to #985 .

@timsuchanek
Copy link
Contributor

@d2kx I can't reproduce it on my Windows testing machine but published a fix, which should at least fix this one (you'll still run into #985)
Can you try out prisma2@2.0.0-alpha.353 please?
Thanks 🙏

@d2kx
Copy link
Author

d2kx commented Nov 25, 2019

@d2kx I can't reproduce it on my Windows testing machine but published a fix, which should at least fix this one (you'll still run into #985)
Can you try out prisma2@2.0.0-alpha.353 please?
Thanks 🙏

2.0.0-alpha.353 indeed fixes the problem ❤️ Thank you!

@timsuchanek
Copy link
Contributor

Perfect! Thanks for getting back to me so quick. I'll close this one then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug/2-confirmed Bug has been reproduced and confirmed. kind/bug A reported bug.
Projects
None yet
Development

No branches or pull requests

3 participants