Reputation: 189
Whenever I start SailsJS
I get this error:
Error: Cannot find module 'sails/node_modules/waterline/lib/waterline/query/deferred'
Tests are not runnable because whenever it try to lift sails for test, it gets an error and stops there.
Please help.
Upvotes: 2
Views: 1049
Reputation: 364
I don't know why but runnin npm install --prefix ./node_modules/sails waterline
command it works
Upvotes: 0
Reputation: 325
first you try reinstall sails but if you don't, can add en package.json in dependencies: "waterline": "~0.10.26", save file y later run npm install inside you project folder, this should install waterline
Upvotes: 2