FrontendMasters/remix-fundamentals

npm run setup fails if anaconda is installed

vvaidy opened this issue · 0 comments

Anaconda installs an old version of openssl in the path ahead of the OS installed version. This seems to break prisma which in turn breaks npm run setup

Environment variables loaded from .env
Prisma schema loaded from prisma/schema.prisma
Error: Get Config: Unable to establish a connection to query-engine-node-api library. It seems there is a problem with your OpenSSL installation!
Details: Unable to require(`[xxx]/remix-fundamentals/node_modules/@prisma/engines/libquery_engine-debian-openssl-1.1.x.so.node`)
 libssl.so.1.1: cannot open shared object file: No such file or directory

I'm not sure there is anything you can do about it but all I needed to do was conda deactivate in the shell before I ran the setup. I'm reporting this in case anyone else hits this problem. Perhaps you can add a warning somewhere in a troubleshooting section?