sequelize / sequelize-auto

Automatically generate bare sequelize models from your database.
2.9k stars 527 forks source link

Error: Cannot find module './lib/auto' #622

Open giriatgit opened 1 year ago

giriatgit commented 1 year ago

Hi,

I'm trying to read postgres db table via sequelizeauto.

After following step 3. I get following error.

Error: Cannot find module './lib/auto'

The code doesn't have the lib folder ..

-Girish BK

rachid-debu-prbob commented 1 year ago

it does have a lib folder if you install it correctly. how do you try to install it ? if using npm install, it should compile it and have the lib folder.