sails-generate-models icon indicating copy to clipboard operation
sails-generate-models copied to clipboard

Error: Cannot find module: connections.js

Open poperechnyi1 opened this issue 7 years ago • 2 comments

Hello! I try generate models from DB but today I use sails 1.0. And connections.js is absent in new version sails. The datastores.js is instead of connections.js. I use sails 1.0 My system is: Ubuntu 17.10.

It is link for screenshot

poperechnyi1 avatar Apr 18 '18 12:04 poperechnyi1

I have tried to do a quick fix on my local install but ran into the error of this script not being able to read the url string that is common in datastores.js now.

risingsunomi avatar May 14 '18 17:05 risingsunomi

I'd gladly accept a PR as long as the breaking change is documented in the readme.

RWOverdijk avatar May 15 '18 06:05 RWOverdijk