Hello here. This error is driving me crazy. I have...
# orm-help
b
Hello here. This error is driving me crazy. I have re-installed @prisma/client but no luck. Any hints?
Copy code
Error: Could not resolve @prisma/client despite the installation that we just tried.
Please try to install it by hand with yarn add @prisma/client and rerun yarn prisma generate 🙏.
This is after I run
yarn prisma generate
j
do you see a directory for it in
node_modules
?
b
No, there is no node_modules
n
What does your package.json look like?
b
Copy code
{
  "name": "server",
  "packageManager": "yarn@3.2.1",
  "engines": {
    "node": ">=17.6.0"
  },
  "dependencies": {
    "@prisma/client": "3.14.0",
    "apollo-server-core": "^3.7.0",
    "apollo-server-express": "^3.7.0",
    "express": "^4.18.1",
    "graphql": "^16.5.0"
  },
  "devDependencies": {
    "prisma": "3.14.0",
    "prisma-erd-generator": "^0.11.3"
  }
}
I have removed the yarn cache and run
yarn prisma generate
again but still getting the same error.
I switched to
npm
and all looks good for now! 🙂
@Jason Kleinberg I have noticed that my connection is not only timing out with npm/yarn but also when I try git pull/push. Just about now I tried to install node via curl and it timed out. I get the similar error around port 443. Would you know why?
Copy code
fatal: unable to access '<https://github.com/nvm-sh/nvm.git/>': Failed to connect to <http://github.com|github.com> port 443: Connection timed out
Failed to clone nvm repo. Please report this!
j
Totally not a Prisma issue.Port 443 is what is used for secure http connections. Any time you are using
https
it’s on port 443. I don’t know why you would be having issues on that port. If you are able to load sites using
https
, then that should mean that the port isn’t blocked. If so, then you need to talk to your network admin.
b
Yeah, this is more of a general question but I am stuck around it so just checking around for help. I am using mobile data so not working behind any work network.
j
Mobile? It could be your provider. They may be blocking github. I would check if you still have the issue when you use your home or work internet connection.
b
Yeah, I made a few changes to the ssh configs and known hosts. Seems to perform better but I am prompted with this every time I pull or push. And there is one IP for pushing and another for pulling:
Copy code
Warning: the ECDSA host key for '<http://github.com|github.com>' differs from the key for the IP address '140.82.121.3'
Offending key for IP in /home/chaiwa/.ssh/known_hosts:2
Matching host key in /home/chaiwa/.ssh/known_hosts:17
Are you sure you want to continue connecting (yes/no)? yes