Open kristianmandrup opened 11 years ago
I have the same problem
:heavy_plus_sign::one:
I think I saw is a fork out there which is trying to upgrade this example to the 0.9x version of SailsJS. I'm also working on creating a suitable MEAN generator for using Angular with Sails. Now I'm also looking into RacerJS integration, and in the end would be lovely with BaconJS integration as well ;) Crazy names!
Hey guys, you might try using node app.js
instead-- that should use the local one
Using node app.js
works. Why doesn't sails lift
work?
module.js:340
throw err;
^
Error: Cannot find module 'C:\some_path\sails\angular-sails-socketio-mongo-d
emo/node_modules/sails/lib'
@PEJO89 the newer versions of Sails expect the executable in a different location- this has been improved in 0.10. Highly recommend everyone try npm install sails@beta
-- just released 0.10.0-rc5 w/ new error normalization in Waterline, a couple of new custom responses (including res.negotiate
), and, of course, associations.
However there IS a folder
/Users/kmandrup/private/angular-projects/angular-sails-crud/node_modules/sails/lib
Looks like it uses my globally installed Sails 0.9.7 and looks for a file locally which is "out of sync"? i.e version conflict, which others also have commented on