josephg / josephg/ShareJS

Require ShareJS with Browserify, cannot find module 'ot-json0'

Open
#401 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

Hi,

I use ShareJS with Browserify, and I have a browser-side error:
`Error: Cannot find module 'ot-json0'`

I have tested to browserify a simple require of shareJS:
`require('share').client;`
and the error persist.
I have verified in the source of the bundle generated by Browserify and the code of ot-json0 is here.
How can I resolve that ?

Thanks by advance,
Thomas.

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.