You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ENOENT Error if there is not already a Folder named like the prisma2 project we want to init.
However, if there is a folder, e.g.: ./hello-prisma2/ and we use prisma2 init hello-prisma2 in git bash in the root directory, i get this error:
The above error occurred in one of your React components:
in Unknown
in div (created by Box)
in Box
in div (created by Box)
in Box
in div (created by Box)
in Box
in Unknown
in Unknown
in App
React will try to recreate this component tree from scratch using the error
boundary you provided, App.
<Error occurs another 2-3 times>
Shells which worked after creating a hello-prisma2 folder are:
@Novalis15 Please create a new issue for your second part of the comment, this is probably unrelated and at least needs a separate repro from our support (because Windows). Thanks - and thanks for reporting this in the first place 🐰
Running into the same issues since updating to [email protected], binary version: 33e5fc84b6bd61602f8d634beb558230ca3e3054
In the meantime, after a simple mkdir with the full path outputted in the error message (e.g. mkdir /Users/juan/repos/hello-prisma2) I was able to rerun prisma2 init without error.
Activity
robinduerhager commentedon Aug 14, 2019
Hey, i want to extend this issue a bit further:
ENOENT Error if there is not already a Folder named like the prisma2 project we want to init.
However, if there is a folder, e.g.:
./hello-prisma2/and we useprisma2 init hello-prisma2in git bash in the root directory, i get this error:Shells which worked after creating a hello-prisma2 folder are:
w0wka91 commentedon Aug 14, 2019
I'm having the same issue as the OP. I'll have a look at this one and see if I can fix it
janpio commentedon Aug 15, 2019
@Novalis15 Please create a new issue for your second part of the comment, this is probably unrelated and at least needs a separate repro from our support (because Windows). Thanks - and thanks for reporting this in the first place 🐰
w0wka91 commentedon Aug 19, 2019
Just created a PR for this one:
#376
thorsten-stripe commentedon Aug 19, 2019
Running into the same issues since updating to
[email protected], binary version: 33e5fc84b6bd61602f8d634beb558230ca3e3054In the meantime, after a simple
mkdirwith the full path outputted in the error message (e.g.mkdir /Users/juan/repos/hello-prisma2) I was able to rerunprisma2 initwithout error.divyenduz commentedon Aug 29, 2019
This is not reproducible anymore in
[email protected], please re-open a new issue if the problem persists for you.