Skip to content

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

@ghost

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions