Skip to content

Cannot run cli behind proxy #2181

@joaomanke

Description

@joaomanke

I've been trying to follow the getting started tutorial for prisma and have been stuck on the very beginning.

When I try to run the init command:

npx prisma init

I get the following error:

Downloading Prisma engines for windows [                    ] 0%
Error: request to https://binaries.prisma.sh/master/76857c35ba1e1764dd5473656ecbbb2f739e1822/windows/query-engine.exe.gz.sha256 failed, reason: connect ECONNREFUSED 13.227.120.121:443

I am currently working under a company proxy which is what I think might be the problem, however I have the environment variables as well as npm configs set correctly and have no idea why this is happening or how to fix it.

I am using a windows machine, as you can tell from the error message.
I have tried installing globally but get the same result.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bug/0-unknownBug is new, does not have information for reproduction or reproduction could not be confirmed.kind/bugA reported bug.topic: enterprise

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions