Experimental cloud-based html/js/css editor
filearts / plunker_collab Goto Github PK
View Code? Open in Web Editor NEWThe real-time collaborative editing backend for http://plnkr.co
License: MIT License
The real-time collaborative editing backend for http://plnkr.co
License: MIT License
When I attempt to run plunker_collab I'm getting:
/Users/USER/SOMEDIR/plunker/plunker_collab/index.coffee:33
model = sharejs.server.createModel({
^
TypeError: Object #<Object> has no method 'createModel'
at Object.<anonymous> (/Users/USER/SOMEDIR/plunker/plunker_collab/index.coffee:33:26)
at Object.<anonymous> (/Users/USER/SOMEDIR/plunker/plunker_collab/index.coffee:144:4)
at Module._compile (module.js:449:26)
at Object.require.extensions..coffee (/Users/USER/SOMEDIR/plunker/plunker_collab/node_modules/coffee-script/lib/coffee-script/coffee-script.js:30:21)
at Module.load (module.js:349:32)
at Function.Module._load (module.js:305:12)
at Module.require (module.js:357:17)
at require (module.js:373:17)
at Object.<anonymous> (/Users/USER/SOMEDIR/plunker/plunker_collab/server.js:5:14)
at Module._compile (module.js:449:26)
Doing a bit of sluething, I suspect that perhaps line 25 of index.coffee should not be
model = sharejs.server.createClient
but instead should be
model = sharejs.server.createModel
But if I make that change, I get a different error:
/Users/USER/SOMEDIR/plunker/plunker_collab/node_modules/share/node_modules/livedb/lib/index.js:83
throw new Error('Missing or invalid snapshot db');
^
Error: Missing or invalid snapshot db
at new exports.client (/Users/USER/SOMEDIR/plunker/plunker_collab/node_modules/share/node_modules/livedb/lib/index.js:83:11)
at Object.exports.client (/Users/USER/SOMEDIR/plunker/plunker_collab/node_modules/share/node_modules/livedb/lib/index.js:75:41)
at new ShareInstance (/Users/USER/SOMEDIR/plunker/plunker_collab/node_modules/share/lib/server/index.js:23:27)
at Object.exports.createClient (/Users/USER/SOMEDIR/plunker/plunker_collab/node_modules/share/lib/server/index.js:123:10)
at Object.<anonymous> (/Users/USER/SOMEDIR/plunker/plunker_collab/index.coffee:33:26)
at Object.<anonymous> (/Users/USER/SOMEDIR/plunker/plunker_collab/index.coffee:144:4)
at Module._compile (module.js:449:26)
at Object.require.extensions..coffee (/Users/USER/SOMEDIR/plunker/plunker_collab/node_modules/coffee-script/lib/coffee-script/coffee-script.js:30:21)
at Module.load (module.js:349:32)
at Function.Module._load (module.js:305:12)
~/apps/plunker/plunker_collab# node server.js
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.