FrontendMasters / remix-fundamentals

Remix enables you to build fantastic user experiences for the web and feel happy with the code that got you there. Get a jumpstart on Remix with this workshop.
https://frontendmasters.com/workshops/remix/
Other
258 stars 115 forks source link

npm run setup fails if anaconda is installed #20

Open vvaidy opened 2 years ago

vvaidy commented 2 years ago

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?