levid / angular-sails-socketio-mongo-demo Goto Github PK
View Code? Open in Web Editor NEWAngularJS, SailsJS, Socket.io & MongoDB Demo
AngularJS, SailsJS, Socket.io & MongoDB Demo
Error: Cannot find module '/Users/kmandrup/private/angular-projects/angular-sails-crud/node_modules/sails/lib'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:364:17)
at require (module.js:380:17)
at liftSails (/usr/local/lib/node_modules/sails/bin/lift.js:98:7)
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
The node_modules directory should not be included as it is generated via "npm install". Additionally, it adds ~21 MB (!) to the repo size.
While you're cleaning up the repo please remove the .gitkeep-files from non-empty directories.
well, I'm new in sails and angular... and i try to understand how to works this tools together. after I ran a
sail lift
and I open: http://localhost:1337/
I get this:
{
"path": "/workspace/javaScript/angular-sails-socketio-mongo-demo/views/layout.ejs"
}
and in the logs appers this error:
verbose: Running res.view() method...
error: Error rendering view at :: /workspace/javaScript/angular-sails-socketio-mongo-demo/views/home/index
error: Using layout located at :: /workspace/javaScript/angular-sails-socketio-mongo-demo/views/layout.ejs
any Idea about what is happening?
Would you have any time to update this example? (:
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.