Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Main Example #392

Open
rissem opened this issue Sep 15, 2015 · 1 comment
Open

Main Example #392

rissem opened this issue Sep 15, 2015 · 1 comment

Comments

@rissem
Copy link
Contributor

rissem commented Sep 15, 2015

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.<anonymous> (/sharejs-test/node_modules/share/examples/server.coffee:3:18)
  at Object.<anonymous> (/sharejs-test/node_modules/share/examples/server.coffee:2:1)
  at Module._compile (module.js:460:26)
@rissem
Copy link
Contributor Author

rissem commented Sep 15, 2015

Also should have mentioned, I was easily able to create the dist directory by running npm run build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant