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
{{ message }}
Repository navigation
Prisma2 init in git-bash results in React component error #401
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:
Activity
pantharshit00 commentedon Aug 23, 2019
I can confirm this.
Since git bash is not an interactive/TTY terminal it might be a difficult workaround.
Maybe #313 can help.
vdjurdjevic commentedon Aug 23, 2019
I also get this when running prisma2 dev inside Docker container with docker-compose. I've tried to add "tty: true" in docker-compose.yml for that container, but then I got: "Got invalid RPC response without .result property: {}" error. Also, an error occurs when running it with concurrently (https://www.npmjs.com/package/concurrently)
pantharshit00 commentedon Aug 23, 2019
@vladimirdjurdjevic
Got invalid RPC response without .result property: {}is an actual binary panic. This issue is being tracked here #381divyenduz commentedon Sep 6, 2019
The init flow is completely rewritten, this error (React thing) should be fixed. The underlying error #381 is also fixed. I am closing this issue.
If this problem persists for anyone, please create a new GH issue with a minimal reproduction and tag me there.
Cleanup for es2018 (#401)
Cleanup for es2018 (#401)