josephg / josephg/ShareJS

Main Example

Open
#392 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
5k
Forks
454
PR merge metrics
No merged PRs in 30d

Description

Ran into a couple issues when I try to run the main example (`examples/server.coffee`)

First, I was started form a checked out version of the ShareJS repo, and was able to run the example server, but it did not work because the `dist` directory had not been created and populated. Not a huge deal, but it'd be a nice if the README covered that.

After that, I followed the instructions a little closer starting from `npm install share` instead of a git checkout and received the following error

```
Error: Cannot find module 'browserchannel'
at Function.Module._resolveFilename (module.js:336:15)
at Function.Module._load (module.js:278:25)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object. (/sharejs-test/node_modules/share/examples/server.coffee:3:18)
at Object. (/sharejs-test/node_modules/share/examples/server.coffee:2:1)
at Module._compile (module.js:460:26)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.